mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T357, simulator selector can hide simulators
This commit is contained in:
@@ -154,6 +154,14 @@ namespace BlackGui
|
||||
});
|
||||
}
|
||||
|
||||
void CSimulatorSelector::setFsxP3DOnly()
|
||||
{
|
||||
ui->cb_FS9->setVisible(false);
|
||||
ui->cb_XPlane->setVisible(false);
|
||||
ui->rb_FS9->setVisible(false);
|
||||
ui->rb_XPlane->setVisible(false);
|
||||
}
|
||||
|
||||
void CSimulatorSelector::checkAll()
|
||||
{
|
||||
// checkboxes
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace BlackGui
|
||||
void setMode(Mode mode);
|
||||
|
||||
//! No selection treated same as all selected (filters)
|
||||
void setNoSelectionMeansAll(bool v) { this->m_noSelectionMeansAll = v; }
|
||||
void setNoSelectionMeansAll(bool v) { m_noSelectionMeansAll = v; }
|
||||
|
||||
//! Get the value
|
||||
BlackMisc::Simulation::CSimulatorInfo getValue() const;
|
||||
@@ -70,6 +70,9 @@ namespace BlackGui
|
||||
//! Set to the connected simulator but deferred
|
||||
void setToConnectedSimulator(int deferredMs, bool makeReadOnly = true);
|
||||
|
||||
//! Only show FSX/P3D
|
||||
void setFsxP3DOnly();
|
||||
|
||||
//! Set all, only making sense with checkboxes
|
||||
void checkAll();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user