Changeset View
Changeset View
Standalone View
Standalone View
kstars/skymap.h
Context not available. | |||||
25 | #include "skyobjects/skyline.h" | 25 | #include "skyobjects/skyline.h" | ||
---|---|---|---|---|---|
26 | 26 | | |||
27 | #include <QGraphicsView> | 27 | #include <QGraphicsView> | ||
28 | #include <QtGlobal> | ||||
28 | #include <QTimer> | 29 | #include <QTimer> | ||
29 | 30 | | |||
30 | class QPainter; | 31 | class QPainter; | ||
Context not available. | |||||
509 | void removeSkyObject(SkyObject *object); | 510 | void removeSkyObject(SkyObject *object); | ||
510 | 511 | | |||
511 | protected: | 512 | protected: | ||
513 | bool event(QEvent *event) override; | ||||
514 | | ||||
512 | /** Process keystrokes: | 515 | /** Process keystrokes: | ||
513 | * @li arrow keys Slew the map | 516 | * @li arrow keys Slew the map | ||
514 | * @li +/- keys Zoom in and out | 517 | * @li +/- keys Zoom in and out | ||
Context not available. | |||||
670 | 673 | | |||
671 | bool m_objPointingMode { false }; | 674 | bool m_objPointingMode { false }; | ||
672 | bool m_fovCaptureMode { false }; | 675 | bool m_fovCaptureMode { false }; | ||
676 | bool m_touchMode { false }; | ||||
677 | bool m_pinchMode { false }; | ||||
678 | bool m_tapAndHoldMode { false }; | ||||
679 | qreal m_pinchScale { 0.0 }; | ||||
673 | 680 | | |||
674 | QWidget *m_SkyMapDraw { nullptr }; // Can be dynamic_cast<> to SkyMapDrawAbstract | 681 | QWidget *m_SkyMapDraw { nullptr }; // Can be dynamic_cast<> to SkyMapDrawAbstract | ||
675 | 682 | | |||
Context not available. |