mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
Ref T225, force stylesheet in CForm base class and used by all forms
* Allows to use stylesheet attributes like [readonly] * changing to "readonly" applies correct stylesheet
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonParseError>
|
||||
|
||||
using namespace BlackGui;
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Aviation;
|
||||
|
||||
@@ -46,6 +45,7 @@ namespace BlackGui
|
||||
{
|
||||
CGuiUtility::childrenSetEnabled<QPushButton>(this, !readonly);
|
||||
CGuiUtility::checkBoxesReadOnly(this, readonly);
|
||||
this->forceStyleSheetUpdate();
|
||||
}
|
||||
|
||||
void CAircraftPartsForm::setSelectOnly()
|
||||
|
||||
Reference in New Issue
Block a user