swift
|
Select simulator (as radio buttons or checkboxes) More...
Public Types | |
enum | Mode { CheckBoxes , RadioButtons , ComboBox } |
How to display. More... | |
Signals | |
void | changed (const swift::misc::simulation::CSimulatorInfo &simulator) |
Value has been changed. | |
Public Member Functions | |
CSimulatorSelector (QWidget *parent=nullptr) | |
Constructor. | |
virtual | ~CSimulatorSelector () |
Destructor. | |
void | setMode (Mode mode, bool forced=false) |
How to display. | |
Mode | getMode () |
Get mode. | |
void | setNoSelectionMeansAll (bool v) |
No selection treated same as all selected (filters) | |
swift::misc::simulation::CSimulatorInfo | getValue () const |
Get the value. | |
void | setValue (const swift::misc::simulation::CSimulatorInfo &simulator) |
Set the value. | |
void | setToLastSelection () |
Set to last selection. | |
void | setToConnectedSimulator (bool makeReadOnly=true) |
Set to the connected simulator. | |
void | setToConnectedSimulator (int deferredMs, bool makeReadOnly=true) |
Set to the connected simulator but deferred. | |
void | setFsxP3DOnly () |
Only show FSX/P3D. | |
void | enableFG (bool enabled) |
Enable FG. | |
void | checkAll () |
Set all, only making sense with checkboxes. | |
void | uncheckAll () |
Unset all, only making sense with checkboxes. | |
bool | isUnselected () const |
Not selected at all. | |
bool | areAllSelected () const |
All selected. | |
void | setLeftMargin (int margin) |
Set left margin. | |
void | setRememberSelection (bool remember) |
Remember selection. | |
void | setRememberSelectionAndSetToLastSelection () |
Remember selection. | |
bool | isRememberingSelection () const |
Is rembering selection? | |
void | clear () |
Clear values. | |
bool | isSingleSelection () const |
Single selection mode (radio buttons) | |
void | setReadOnly (bool readOnly) |
Set read only. | |
Select simulator (as radio buttons or checkboxes)
Definition at line 27 of file simulatorselector.h.
How to display.
Enumerator | |
---|---|
CheckBoxes | multiple selections |
RadioButtons | single |
ComboBox | single |
Definition at line 33 of file simulatorselector.h.