~daggerstab/stellarium/oculars-gui-improvement

« back to all changes in this revision

Viewing changes to plugins/Oculars/src/Oculars.hpp

  • Committer: Bogdan Marinov
  • Date: 2011-11-13 20:02:54 UTC
  • Revision ID: bogdan.marinov84@gmail.com-20111113200254-7rrk6zj1gf9py9xz
added an option to toggle the Oculars control panel

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        void toggleTelrad(bool show);
104
104
        //! Toggles the Telrad sight overlay (overloaded for blind switching).
105
105
        void toggleTelrad();
 
106
        void enableControlPanel(bool enable = true);
106
107
 
107
108
signals:
108
109
        void selectedCCDChanged();
189
190
        double maxEyepieceAngle;        //!< The maximum aFOV of any eyepiece.
190
191
        bool requireSelection;          //!< Read from the ini file, whether an object is required to be selected to zoom in.
191
192
        bool useMaxEyepieceAngle;       //!< Read from the ini file, whether to scale the mask based aFOV.
 
193
        //! Display the GUI control panel
 
194
        bool guiPanelEnabled;
192
195
 
193
196
        QSignalMapper* ccdRotationSignalMapper;  //!< Used to rotate the CCD. */
194
197
        QSignalMapper* ccdsSignalMapper; //!< Used to determine which CCD was selected from the popup navigator. */