|
| void | init () override |
| | Initialize itself. More...
|
| |
| void | draw (StelCore *core) override |
| | Execute all the drawing functions for this module. More...
|
| |
| double | getCallOrder (StelModuleActionName actionName) const override |
| | Return the value defining the order of call for the given action For example if stars.callOrder[ActionDraw] == 10 and constellation.callOrder[ActionDraw] == 11, the stars module will be drawn before the constellations. More...
|
| |
| void | handleMouseClicks (QMouseEvent *) override |
| | Handle mouse clicks. More...
|
| |
| bool | handleMouseMoves (int x, int y, Qt::MouseButtons b) override |
| | Handle mouse moves. More...
|
| |
| void | handleKeys (QKeyEvent *e) override |
| | Handle key events. More...
|
| |
| void | setToolbarButtonState (bool b) |
| | Sets the toolbar button state. More...
|
| |
| void | setConstellationDialogIsDarkConstellation (bool isDarkConstellation) |
| | Sets whether the constellation dialog is for a dark constellation. More...
|
| |
| void | setIsLineDrawEnabled (bool b) |
| | Toggles the usage of the line draw. More...
|
| |
| void | setCanCreateConstellations (bool b) |
| | Toggles the buttons to create constellations. More...
|
| |
|
void | triggerDrawUndo () |
| | Triggers a single undo operation in the line draw.
|
| |
| void | setDrawTool (scm::DrawTools tool) |
| | Sets the active used draw tool. More...
|
| |
|
void | setNewSkyCulture () |
| | Sets a new sky culture object.
|
| |
|
scm::ScmSkyCulture * | getCurrentSkyCulture () |
| | Gets the current set sky culture.
|
| |
|
scm::ScmDraw * | getScmDraw () |
| | Gets the SCM drawing object.
|
| |
|
void | resetScmDraw () |
| | Resets the SCM drawing object.
|
| |
|
void | updateSkyCultureDialog () |
| | Triggers an update of the sky culture dialog.
|
| |
| void | setSkyCultureDescription (const scm::Description &description) |
| | Sets the current sky culture description. More...
|
| |
| bool | saveSkyCultureDescription (const QDir &directory) |
| | Saves the current sky culture description as markdown text. More...
|
| |
| void | setDialogVisibility (scm::DialogID dialogId, bool b) |
| | Sets the visibility of a given dialog. More...
|
| |
|
void | hideScm () |
| | Hides all SCM dialogs and saves their visibility state.
|
| |
|
void | stopScm () |
| | Stops the SCM process by hiding all dialogs and resetting their states.
|
| |
| bool | isAnyDialogVisible () const |
| | Checks if any dialog is visible in the visibility map. More...
|
| |
|
void | resetScmDialogs () |
| | Resets all SCM dialogs content.
|
| |
| void | setTempArtwork (const scm::ScmConstellationArtwork *artwork) |
| | Sets the temporary artwork that should be drawn. More...
|
| |
| void | loadDialogFromConstellation (scm::ScmConstellation *constellation) |
| | Opens the constellation dialog with data for a given constellation. More...
|
| |
| void | showUserInfoMessage (QWidget *parent, const QString &dialogName, const QString &message) |
| | Displays an information message to the user. More...
|
| |
| void | showUserWarningMessage (QWidget *parent, const QString &dialogName, const QString &message) |
| | Displays a warning message to the user. More...
|
| |
| void | showUserErrorMessage (QWidget *parent, const QString &dialogName, const QString &message) |
| | Displays an error message to the user. More...
|
| |
|
| StelModule () |
| | Constructor. Every derived class MUST call setObjectName(className) in its constructor.
|
| |
| virtual void | deinit () |
| | Called before the module will be deleted, and before the OpenGL context is suppressed. More...
|
| |
| virtual QSettings * | getSettings () |
| | Return module-specific settings. More...
|
| |
| virtual void | update (double deltaTime) |
| | Update the module with respect to the time. More...
|
| |
|
virtual QString | getModuleVersion () const |
| | Get the version of the module, default is stellarium main version.
|
| |
|
virtual QString | getAuthorName () const |
| | Get the name of the module author.
|
| |
|
virtual QString | getAuthorEmail () const |
| | Get the email address of the module author.
|
| |
| virtual void | handleMouseWheel (class QWheelEvent *) |
| | Handle mouse wheel. More...
|
| |
| virtual bool | handlePinch (qreal scale, bool started) |
| | Handle pinch gesture events. More...
|
| |
| virtual bool | configureGui (bool show=true) |
| | Detect or show the configuration GUI elements for the module. More...
|
| |
|
| enum | StelModuleSelectAction { AddToSelection
, ReplaceSelection
, RemoveFromSelection
} |
| | Enum used when selecting objects to define whether to add to, replace, or remove from the existing selection list. More...
|
| |
| enum | StelModuleActionName {
ActionDraw
, ActionUpdate
, ActionHandleMouseClicks
, ActionHandleMouseMoves
,
ActionHandleKeys
} |
| | Define the possible action for which an order is defined. More...
|
| |
| class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, QObject *target, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
| | convenience methods to add an action (call to slot) to the StelActionMgr object. More...
|
| |
| class StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, const char *slot, const QString &shortcut="", const QString &altShortcut="") |
| | convenience methods to add an action (call to own slot) to the StelActionMgr object. More...
|
| |
| StelAction * | addAction (const QString &id, const QString &groupId, const QString &text, QObject *contextObject, std::function< void()> lambda, const QString &shortcut="", const QString &altShortcut="") |
| | convenience methods to add an action (call to Lambda functor) to the StelActionMgr object. More...
|
| |