FGx
1
|
The MainObject is an extended QObject, and the main "controller" for FGx. More...
#include <mainobject.h>
Signals | |
void | show_settings (int) |
void | reload_paths () |
void | on_debug_mode (bool enabled) |
void | setx (QString option, bool enabled, QString value) |
Public Member Functions | |
MainObject (QObject *parent=0) | |
QString | data_file (QString file_name) |
Path to a data file eg data_file("airports.txt") More... | |
QString | default_file (QString file_name) |
QString | get_fgfs_command () |
QStringList | get_fgfs_args () |
QStringList | get_env () |
Static Public Member Functions | |
static int | runningOs () |
What OS is running. More... | |
static QString | log_file_path () |
Log File. More... | |
static QString | temp_dir () |
location if temp directoty , os specific More... | |
static QString | temp_dir (QString append_path) |
location if temp directoty , os specific with appended file/path More... | |
Public Attributes | |
bool | debug_mode |
XSettings * | settings |
XSettingsModel * | X |
LauncherWindow * | launcherWindow |
ViewLogsWidget * | viewLogsWidget |
PropsTreeWidget * | propertiesBrowser |
FgxDebugWidget * | fgxDebugWidget |
XProcess * | processFgFs |
XProcess * | processTerraSync |
XProcess * | processFgCom |
QSystemTrayIcon * | trayIcon |
QMenu * | popupMenu |
QWidgetAction * | actionCallsign |
QLabel * | lblCallsign |
QAction * | actionLauncher |
QAction * | actionMpMap |
QAction * | actionPropsBrowser |
QAction * | actionSetupWizard |
QAction * | actionViewLogs |
QAction * | actionViewFgxDebug |
QAction * | actionBrowserMap |
QAction * | actionQuit |
The MainObject is an extended QObject, and the main "controller" for FGx.
This is the main object created and called when the app starts in the backgound It manifest itself and is made visible via an icon in the QSystemTrayIcon ie TaskBar All widgets are children to this object and are hidden (at the moment)
MainObject also controls the starting and stopping of processes// TBC
QString MainObject::data_file | ( | QString | file_name | ) |
Path to a data file eg data_file("airports.txt")
|
static |
Log File.
|
static |
What OS is running.
|
static |
location if temp directoty , os specific
Shortcut method for Qt's storageLocation()
|
static |
location if temp directoty , os specific with appended file/path
Shortcut method for Qt's storageLocation()