|
|
@ -231,7 +231,7 @@ void PlanetViewer::keyPressEvent( TQKeyEvent *e ) {
|
|
|
|
PVPlotWidget::PVPlotWidget( double x1, double x2, double y1, double y2, TQWidget *par, const char *name ) :
|
|
|
|
PVPlotWidget::PVPlotWidget( double x1, double x2, double y1, double y2, TQWidget *par, const char *name ) :
|
|
|
|
KStarsPlotWidget( x1, x2, y1, y2, par, name ),
|
|
|
|
KStarsPlotWidget( x1, x2, y1, y2, par, name ),
|
|
|
|
mouseButtonDown(false), oldx(0), oldy(0) {
|
|
|
|
mouseButtonDown(false), oldx(0), oldy(0) {
|
|
|
|
setFocusPolicy( TQ_StrongFocus );
|
|
|
|
setFocusPolicy( TQWidget::StrongFocus );
|
|
|
|
setMouseTracking (true);
|
|
|
|
setMouseTracking (true);
|
|
|
|
pv = (PlanetViewer*)topLevelWidget();
|
|
|
|
pv = (PlanetViewer*)topLevelWidget();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -239,7 +239,7 @@ PVPlotWidget::PVPlotWidget( double x1, double x2, double y1, double y2, TQWidget
|
|
|
|
PVPlotWidget::PVPlotWidget( TQWidget *parent, const char *name ) :
|
|
|
|
PVPlotWidget::PVPlotWidget( TQWidget *parent, const char *name ) :
|
|
|
|
KStarsPlotWidget( 0.0, 1.0, 0.0, 1.0, parent, name ),
|
|
|
|
KStarsPlotWidget( 0.0, 1.0, 0.0, 1.0, parent, name ),
|
|
|
|
mouseButtonDown(false), oldx(0), oldy(0) {
|
|
|
|
mouseButtonDown(false), oldx(0), oldy(0) {
|
|
|
|
setFocusPolicy( TQ_StrongFocus );
|
|
|
|
setFocusPolicy( TQWidget::StrongFocus );
|
|
|
|
setMouseTracking (true);
|
|
|
|
setMouseTracking (true);
|
|
|
|
pv = (PlanetViewer*)topLevelWidget();
|
|
|
|
pv = (PlanetViewer*)topLevelWidget();
|
|
|
|
}
|
|
|
|
}
|
|
|
|