Changeset View
Changeset View
Standalone View
Standalone View
kstars/kstars.h
Show First 20 Lines • Show All 811 Lines • ▼ Show 20 Line(s) | 804 | public: | |||
---|---|---|---|---|---|
812 | bool isStartedWithClockRunning() | 812 | bool isStartedWithClockRunning() | ||
813 | { | 813 | { | ||
814 | return StartClockRunning; | 814 | return StartClockRunning; | ||
815 | } | 815 | } | ||
816 | 816 | | |||
817 | /// Set to true when the application is being closed | 817 | /// Set to true when the application is being closed | ||
818 | static bool Closing; | 818 | static bool Closing; | ||
819 | 819 | | |||
820 | /** @brief Override KStars UI resource file. | ||||
821 | * @note This is used by UI tests, which need to use the same resources with a different app name | ||||
822 | */ | ||||
823 | static bool setResourceFile(QString const rc); | ||||
824 | | ||||
820 | private: | 825 | private: | ||
821 | /// Pointer to an instance of KStars | 826 | /// Pointer to an instance of KStars | ||
822 | static KStars *pinstance; | 827 | static KStars *pinstance; | ||
823 | 828 | | |||
829 | // Resource file to load - overridable by UI tests | ||||
830 | static QString m_KStarsUIResource; | ||||
831 | | ||||
824 | KActionMenu *colorActionMenu { nullptr }; | 832 | KActionMenu *colorActionMenu { nullptr }; | ||
825 | KActionMenu *fovActionMenu { nullptr }; | 833 | KActionMenu *fovActionMenu { nullptr }; | ||
826 | KActionMenu *hipsActionMenu { nullptr }; | 834 | KActionMenu *hipsActionMenu { nullptr }; | ||
827 | 835 | | |||
828 | KStarsData *m_KStarsData { nullptr }; | 836 | KStarsData *m_KStarsData { nullptr }; | ||
829 | SkyMap *m_SkyMap { nullptr }; | 837 | SkyMap *m_SkyMap { nullptr }; | ||
830 | 838 | | |||
831 | // Widgets | 839 | // Widgets | ||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |