mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T111, created aircraft parts form to be used in internals and dummy driver
This commit is contained in:
committed by
Mathew Sutcliffe
parent
7939fd0184
commit
eea6039d58
@@ -211,6 +211,16 @@ namespace BlackGui
|
||||
}
|
||||
}
|
||||
|
||||
void CGuiUtility::checkBoxesReadOnly(QWidget *parent, bool readOnly)
|
||||
{
|
||||
if (!parent) { return; }
|
||||
QList<QCheckBox *> allCheckBoxes = parent->findChildren<QCheckBox *>();
|
||||
for (QCheckBox *cb : allCheckBoxes)
|
||||
{
|
||||
CGuiUtility::checkBoxReadOnly(cb, readOnly);
|
||||
}
|
||||
}
|
||||
|
||||
QWidgetList CGuiUtility::topLevelApplicationWidgetsWithName()
|
||||
{
|
||||
QWidgetList tlw = QApplication::topLevelWidgets();
|
||||
|
||||
Reference in New Issue
Block a user