45 bool showOptionsDialog(
const QString &group = QString(),
const QString &page = QString(),
46 QWidget *parent =
nullptr);
55 QSettings *
settings(QSettings::Scope scope = QSettings::UserScope)
const;
78 void openFiles(
const QStringList &fileNames);
GlobalMessaging * globalMessaging() const
void addContextObject(IContext *contex)
Registers an additional context object.
ModeManager * modeManager() const
Returns the application's mode manager.
void openFiles(const QStringList &fileNames)
Open all files from a list of fileNames like it would be done if they were given to the GCS on the co...
void removeAdditionalContext(int context)
Removes the given context from the list of currently active contexts.
bool hasContext(int context) const
Returns if the given context is currently one of the active contexts.
UniqueIDManager * uniqueIDManager() const
Returns the application's id manager.
void addAdditionalContext(int context)
Register additional context to be currently active.
UAVGadgetInstanceManager * uavGadgetInstanceManager() const
The ICore class allows access to the different part that make up the basic functionality of the GCS...
void removeContextObject(IContext *contex)
Unregisters a context object from the list of know contexts.
void saveMainSettings(QSettings *qs)
QMainWindow * mainWindow() const
Returns the main application window.
ActionManager * actionManager() const
Returns the application's action manager.
void saveSettings(IConfigurablePlugin *plugin, QSettings *qs=nullptr)
QSettings * settings(QSettings::Scope scope=QSettings::UserScope) const
Returns the application's main settings object.
void readSettings(IConfigurablePlugin *plugin, QSettings *qs=nullptr)
bool showOptionsDialog(const QString &group=QString(), const QString &page=QString(), QWidget *parent=nullptr)
Opens the application options/preferences dialog with preselected page in a specified group...
The action manager is responsible for registration of menus and menu items and keyboard shortcuts...
CoreImpl(MainWindow *mainwindow)
BoardManager * boardManager() const
void updateContext()
Update the list of active contexts after adding or removing additional ones.
void readMainSettings(QSettings *qs, bool workspaceDiffOnly)
ConnectionManager * connectionManager() const
IContext * currentContextObject() const
Returns the context object of the current main context.
QString resourcePath() const
Returns the absolute path that is used for resources like project templates and the debugger macros...