|
| 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 | setStartDialogVisibility (bool b) |
| | Shows the start dialog for the sky culture maker. More...
|
| |
| void | setSkyCultureDialogVisibility (bool b) |
| | Shows the sky culture dialog. More...
|
| |
| void | setConstellationDialogVisibility (bool b) |
| | Shows the constellation dialog. More...
|
| |
| void | setConstellationDialogIsDarkConstellation (bool isDarkConstellation) |
| | Sets whether the constellation dialog is for a dark constellation. More...
|
| |
| void | setSkyCultureExportDialogVisibility (bool b) |
| | Shows the sky culture export dialog. More...
|
| |
| void | setHideOrAbortMakerDialogVisibility (bool b) |
| | Shows the hide or abort maker dialog. More...
|
| |
| void | hideAllDialogs () |
| | Set the visibility of all dialogs. More...
|
| |
| void | setIsLineDrawEnabled (bool b) |
| | Toggles the usage of the line draw. 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 | saveScmDialogVisibilityState () |
| | Saves the visibility state of the SCM dialogs.
|
| |
|
void | restoreScmDialogVisibilityState () |
| | Restores the visibility state of the SCM dialogs.
|
| |
|
bool | isAnyDialogHidden () const |
| | Checks if any SCM dialog is currently hidden.
|
| |
|
void | resetScmDialogs () |
| | Resets all SCM dialogs content and visibility states.
|
| |
|
void | resetScmDialogsVisibilityState () |
| | Resets the visibility state of the SCM dialogs.
|
| |
| bool | isAnyDialogVisible () const |
| | Checks if any SCM dialog is currently visible. More...
|
| |
| void | setTempArtwork (const scm::ScmConstellationArtwork *artwork) |
| | Sets the temporary artwork that should be drawn. More...
|
| |
| void | openConstellationDialog (const QString &constellationId) |
| | 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...
|
| |