Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
CoreSettingsWidget Class Reference

#include <coresettingswidget.h>

Inheritance diagram for CoreSettingsWidget:

Public Slots

void add_fgfs_paths ()
 Detects possible paths for fgfs. More...
 
void custom_scenery_check_path ()
 
void custom_scenery_enabled_checkstate ()
 
void customscenery_set_path ()
 
void fgfs_check_path ()
 
void fgfs_set_path ()
 
void fgroot_check_path ()
 
void fgroot_set_path ()
 
void load_joysticks ()
 
void on_callsign_changed (QString)
 
void on_custom_scenery_enabled ()
 
void on_custom_scenery_path (QString)
 
void on_fgfs_path (QString)
 
void on_fgroot_path (QString)
 
void on_select_customscenerybutton ()
 
void on_select_fgfsbutton ()
 
void on_select_fgrootbutton ()
 
void on_select_terrasyncdatabutton ()
 
void on_select_terrasyncexebutton ()
 
void on_show_mp_map ()
 
void on_terrasync_data_path (QString)
 
void on_terrasync_enabled ()
 
void on_terrasync_path (QString)
 
void on_upx (QString option, bool enabled, QString value)
 
int randInt (int low, int high)
 
void reload_lists ()
 
void terrasync_data_check_path ()
 
void terrasync_enabled_checkstate ()
 
void terrasync_exe_check_path ()
 
void terrasyncdata_set_path ()
 
void terrasyncexe_set_path ()
 
QString which_fgfs ()
 detects runs "which fgms" and returns result on nix More...
 

Signals

void setx (QString option, bool enabled, QString value)
 

Public Member Functions

 CoreSettingsWidget (MainObject *mOb, QWidget *parent=0)
 
void initialize ()
 
QString validate ()
 

Public Attributes

QButtonGroup * buttonGroupPaths
 
QToolButton * buttonSetCustomSceneryPath
 
QToolButton * buttonSetFgfsPath
 
QToolButton * buttonSetFgRootPath
 
QToolButton * buttonSetTerrasyncDataPath
 
QToolButton * buttonSetTerrasyncExePath
 
QCheckBox * checkBoxDisableSplashScreen
 
QCheckBox * checkBoxFullScreenStartup
 
QCheckBox * checkBoxShowMpMap
 
QCheckBox * checkBoxUseCustomScenery
 
QCheckBox * checkBoxUseTerrasync
 
QComboBox * comboFgFsPath
 
QComboBox * comboMpMapServer
 
QComboBox * comboScreenSize
 
bool fgrootcheck
 
XGroupHBoxgroupBoxFgFs
 
XGroupHBoxgroupBoxFgRoot
 
QLabellabelCustomScene
 
QLabellabelCustomSceneCheck
 
QLabellabelFGComExeInfo
 
QLabellabelFgfsCheck
 
QLabellabelFgfsProgram
 
QLabellabelFgRootCheck
 
QLabellabelFgRootData
 
QLabellabelInputs
 
QLabellabelTerrasyncCheck
 
QLabellabelTerrasyncData
 
QLabellabelTerrasyncDataCheck
 
QLabellabelTerrasyncProgram
 
QLineEdit * lineEditCustomScenePath
 
QLineEdit * lineEditFGComExePath
 
QLineEdit * lineEditFgFsPath
 
QLineEdit * lineEditFgRootPath
 
QLineEdit * lineEditScreenSizeH
 
QLineEdit * lineEditScreenSizeW
 
QLineEdit * lineEditTerraSyncDataPath
 
QLineEdit * lineEditTerraSyncExePath
 
MainObjectmainObject
 
XMessageLabelmessageLabel
 
QHBoxLayout * screenSizeBox
 
QLineEdit * txtCallSign
 

Detailed Description

Definition at line 27 of file coresettingswidget.h.

Constructor & Destructor Documentation

CoreSettingsWidget::CoreSettingsWidget ( MainObject mOb,
QWidget parent = 0 
)
explicit

Definition at line 29 of file coresettingswidget.cpp.

Member Function Documentation

void CoreSettingsWidget::add_fgfs_paths ( )
slot

Detects possible paths for fgfs.

Todo:
Add Windows and OSX paths

Definition at line 764 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::custom_scenery_check_path ( )
slot

Definition at line 625 of file coresettingswidget.cpp.

Referenced by on_select_customscenerybutton().

void CoreSettingsWidget::custom_scenery_enabled_checkstate ( )
slot

Definition at line 501 of file coresettingswidget.cpp.

Referenced by on_custom_scenery_enabled(), and on_upx().

void CoreSettingsWidget::customscenery_set_path ( )
slot

Definition at line 530 of file coresettingswidget.cpp.

void CoreSettingsWidget::fgfs_check_path ( )
slot

Definition at line 576 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget(), and on_select_fgfsbutton().

void CoreSettingsWidget::fgfs_set_path ( )
slot

Definition at line 514 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::fgroot_check_path ( )
slot

Definition at line 587 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget(), and on_select_fgrootbutton().

void CoreSettingsWidget::fgroot_set_path ( )
slot

Definition at line 518 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::initialize ( )

Definition at line 333 of file coresettingswidget.cpp.

Referenced by LauncherWindow::initialize().

void CoreSettingsWidget::load_joysticks ( )
slot

Definition at line 340 of file coresettingswidget.cpp.

Referenced by initialize().

void CoreSettingsWidget::on_callsign_changed ( QString  txt)
slot

Definition at line 422 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_custom_scenery_enabled ( )
slot

Definition at line 495 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_custom_scenery_path ( QString  txt)
slot

Definition at line 469 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_fgfs_path ( QString  txt)
slot

Definition at line 441 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_fgroot_path ( QString  txt)
slot

Definition at line 448 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_select_customscenerybutton ( )
slot

Definition at line 720 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_select_fgfsbutton ( )
slot

Definition at line 641 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_select_fgrootbutton ( )
slot

Definition at line 658 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_select_terrasyncdatabutton ( )
slot

Definition at line 703 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_select_terrasyncexebutton ( )
slot

Definition at line 678 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_show_mp_map ( )
slot

Definition at line 431 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_terrasync_data_path ( QString  txt)
slot

Definition at line 462 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_terrasync_enabled ( )
slot

Definition at line 477 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_terrasync_path ( QString  txt)
slot

Definition at line 455 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

void CoreSettingsWidget::on_upx ( QString  option,
bool  enabled,
QString  value 
)
slot

Definition at line 535 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget().

int CoreSettingsWidget::randInt ( int  low,
int  high 
)
slot

Definition at line 755 of file coresettingswidget.cpp.

void CoreSettingsWidget::reload_lists ( )
slot

Definition at line 747 of file coresettingswidget.cpp.

Referenced by on_select_fgrootbutton().

void CoreSettingsWidget::terrasync_data_check_path ( )
slot

Definition at line 616 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget(), and on_select_terrasyncdatabutton().

void CoreSettingsWidget::terrasync_enabled_checkstate ( )
slot

Definition at line 483 of file coresettingswidget.cpp.

Referenced by on_terrasync_enabled(), and on_upx().

void CoreSettingsWidget::terrasync_exe_check_path ( )
slot

Definition at line 603 of file coresettingswidget.cpp.

Referenced by CoreSettingsWidget(), and on_select_terrasyncexebutton().

void CoreSettingsWidget::terrasyncdata_set_path ( )
slot

Definition at line 526 of file coresettingswidget.cpp.

void CoreSettingsWidget::terrasyncexe_set_path ( )
slot

Definition at line 522 of file coresettingswidget.cpp.

QString CoreSettingsWidget::validate ( )

Definition at line 320 of file coresettingswidget.cpp.

Referenced by LauncherWindow::validate().

QString CoreSettingsWidget::which_fgfs ( )
slot

detects runs "which fgms" and returns result on nix

Definition at line 818 of file coresettingswidget.cpp.

Referenced by add_fgfs_paths().

Member Data Documentation

QButtonGroup* CoreSettingsWidget::buttonGroupPaths

Definition at line 65 of file coresettingswidget.h.

QToolButton* CoreSettingsWidget::buttonSetCustomSceneryPath

Definition at line 96 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), and custom_scenery_enabled_checkstate().

QToolButton* CoreSettingsWidget::buttonSetFgfsPath

Definition at line 72 of file coresettingswidget.h.

Referenced by CoreSettingsWidget().

QToolButton* CoreSettingsWidget::buttonSetFgRootPath

Definition at line 73 of file coresettingswidget.h.

Referenced by CoreSettingsWidget().

QToolButton* CoreSettingsWidget::buttonSetTerrasyncDataPath

Definition at line 84 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), and terrasync_enabled_checkstate().

QToolButton* CoreSettingsWidget::buttonSetTerrasyncExePath

Definition at line 83 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), and terrasync_enabled_checkstate().

QCheckBox* CoreSettingsWidget::checkBoxDisableSplashScreen

Definition at line 48 of file coresettingswidget.h.

QCheckBox* CoreSettingsWidget::checkBoxFullScreenStartup

Definition at line 49 of file coresettingswidget.h.

QCheckBox* CoreSettingsWidget::checkBoxShowMpMap

Definition at line 60 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), on_show_mp_map(), and on_upx().

QCheckBox* CoreSettingsWidget::checkBoxUseCustomScenery
QCheckBox* CoreSettingsWidget::checkBoxUseTerrasync
QComboBox* CoreSettingsWidget::comboMpMapServer

Definition at line 61 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), on_show_mp_map(), and on_upx().

QComboBox* CoreSettingsWidget::comboScreenSize

Definition at line 47 of file coresettingswidget.h.

bool CoreSettingsWidget::fgrootcheck
XGroupHBox* CoreSettingsWidget::groupBoxFgFs

Definition at line 66 of file coresettingswidget.h.

XGroupHBox* CoreSettingsWidget::groupBoxFgRoot

Definition at line 67 of file coresettingswidget.h.

QLabel* CoreSettingsWidget::labelCustomScene

Definition at line 93 of file coresettingswidget.h.

Referenced by CoreSettingsWidget().

QLabel* CoreSettingsWidget::labelCustomSceneCheck
QLabel* CoreSettingsWidget::labelFGComExeInfo

Definition at line 98 of file coresettingswidget.h.

QLabel* CoreSettingsWidget::labelFgfsCheck

Definition at line 75 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), and fgfs_check_path().

QLabel* CoreSettingsWidget::labelFgfsProgram

Definition at line 74 of file coresettingswidget.h.

Referenced by CoreSettingsWidget().

QLabel* CoreSettingsWidget::labelFgRootCheck

Definition at line 78 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), and fgroot_check_path().

QLabel* CoreSettingsWidget::labelFgRootData

Definition at line 77 of file coresettingswidget.h.

Referenced by CoreSettingsWidget().

QLabel* CoreSettingsWidget::labelInputs

Definition at line 102 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), and load_joysticks().

QLabel* CoreSettingsWidget::labelTerrasyncCheck
QLabel* CoreSettingsWidget::labelTerrasyncData

Definition at line 86 of file coresettingswidget.h.

Referenced by CoreSettingsWidget().

QLabel* CoreSettingsWidget::labelTerrasyncDataCheck
QLabel* CoreSettingsWidget::labelTerrasyncProgram

Definition at line 81 of file coresettingswidget.h.

QLineEdit* CoreSettingsWidget::lineEditCustomScenePath
QLineEdit* CoreSettingsWidget::lineEditFGComExePath

Definition at line 99 of file coresettingswidget.h.

QLineEdit* CoreSettingsWidget::lineEditFgFsPath

Definition at line 69 of file coresettingswidget.h.

QLineEdit* CoreSettingsWidget::lineEditFgRootPath
QLineEdit* CoreSettingsWidget::lineEditScreenSizeH

Definition at line 53 of file coresettingswidget.h.

QLineEdit* CoreSettingsWidget::lineEditScreenSizeW

Definition at line 52 of file coresettingswidget.h.

QLineEdit* CoreSettingsWidget::lineEditTerraSyncDataPath
QLineEdit* CoreSettingsWidget::lineEditTerraSyncExePath
MainObject* CoreSettingsWidget::mainObject
XMessageLabel* CoreSettingsWidget::messageLabel

Definition at line 37 of file coresettingswidget.h.

QHBoxLayout* CoreSettingsWidget::screenSizeBox

Definition at line 51 of file coresettingswidget.h.

QLineEdit* CoreSettingsWidget::txtCallSign

Definition at line 44 of file coresettingswidget.h.

Referenced by CoreSettingsWidget(), on_upx(), and validate().


The documentation for this class was generated from the following files: