Main class of the Solar System Editor plug-in which allows editing (add, delete, update) of the minor bodies.
More...
|
virtual void | init () Q_DECL_OVERRIDE |
| called when the plug-in is loaded. More...
|
|
virtual double | getCallOrder (StelModuleActionName actionName) const Q_DECL_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...
|
|
virtual bool | configureGui (bool show) Q_DECL_OVERRIDE |
| called when the "configure" button in the "Plugins" tab is pressed
|
|
SsoElements | readMpcOneLineCometElements (QString oneLineElements) const |
| Reads a single comet's orbital elements from a string. More...
|
|
SsoElements | readMpcOneLineMinorPlanetElements (QString oneLineElements) const |
| Reads a single minor planet's orbital elements from a string. More...
|
|
QList< SsoElements > | readMpcOneLineCometElementsFromFile (QString filePath) const |
| Reads a list of comet orbital elements from a file. More...
|
|
QList< SsoElements > | readMpcOneLineMinorPlanetElementsFromFile (QString filePath) const |
| Reads a list of minor planet orbital elements from a file. More...
|
|
bool | appendToSolarSystemConfigurationFile (SsoElements object) |
| Adds a new entry at the end of the user solar system configuration file. More...
|
|
bool | appendToSolarSystemConfigurationFile (QList< SsoElements >) |
| Adds new entries at the end of the user solar system configuration file. More...
|
|
bool | updateSolarSystemConfigurationFile (QList< SsoElements > objects, UpdateFlags flags) |
| Updates entries in the user solar system configuration file. More...
|
|
QHash< QString, QString > | getDefaultSsoIdentifiers () const |
| Returns the names of the objects listed in the default ssystem_major.ini. More...
|
|
QHash< QString, QString > | listAllLoadedSsoIdentifiers () const |
| Lists the objects listed in the current user ssystem.ini. More...
|
|
bool | removeSsoWithName (QString name) |
| Removes an object from the user Solar System configuration file. More...
|
|
bool | copySolarSystemConfigurationFileTo (QString filePath) |
| Export current minor bodies file from user data directory (if it exists) to filePath. Return true on success.
|
|
bool | replaceSolarSystemConfigurationFileWith (QString filePath) |
| Replace current minor bodies file in the user data directory. More...
|
|
bool | addFromSolarSystemConfigurationFile (QString filePath) |
| (new 0.16) Loads all new objects from filePath (an .ini file), and updates existing objects Default proposal is ssystem_1000comets.ini in the installation dir.
|
|
QString | getCustomSolarSystemFilePath () const |
| returns the path
|
|
| 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 | draw (StelCore *core) |
| Execute all the drawing functions for this module. 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 adress of the module author.
|
|
virtual void | handleMouseClicks (class QMouseEvent *) |
| Handle mouse clicks. More...
|
|
virtual void | handleMouseWheel (class QWheelEvent *) |
| Handle mouse wheel. More...
|
|
virtual bool | handleMouseMoves (int x, int y, Qt::MouseButtons b) |
| Handle mouse moves. More...
|
|
virtual void | handleKeys (class QKeyEvent *e) |
| Handle key events. More...
|
|
virtual bool | handlePinch (qreal scale, bool started) |
| Handle pinch gesture events. 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...
|
|
- Author
- Bogdan Marinov, Georg Zotti (0.16 changes)
Solar System bodies are identified by their names in Stellarium, but entries in the configuration file are identified by their group (section) names. This makes the detection of duplicates more difficult.