swift
|
Trait for settings for dock widget. More...
Static Public Member Functions | |
static const char * | key () |
Key string of the value. Reimplemented in derived class. More... | |
static const QString & | humanReadable () |
Optional human readable name. More... | |
![]() | |
static const char * | key () |
Key string of the value. Reimplemented in derived class. | |
static const QString & | humanReadable () |
Optional human readable name. | |
static bool | isValid (const CDockWidgetSettings &value, QString &reason) |
Validator function. Return true if the argument is valid, false otherwise. Default implementation just returns true. Reimplemented in derived class to support validation of the value. | |
static const CDockWidgetSettings & | defaultValue () |
Return the value to use in case the supplied value does not satisfy the validator. Default implementation returns a default-constructed value. | |
Additional Inherited Members | |
![]() | |
using | type = CDockWidgetSettings |
Data type of the value. | |
![]() | |
TSettingTrait ()=delete | |
Deleted default constructor. | |
TSettingTrait (const TSettingTrait &)=delete | |
Deleted copy constructor. | |
TSettingTrait & | operator= (const TSettingTrait &)=delete |
Deleted copy assignment operator. | |
Trait for settings for dock widget.
All settings will go in one file, separated by application and object name (of the parent object using this setting). If the object name is not set, it will not work correctly
Definition at line 115 of file dockwidgetsettings.h.
|
inlinestatic |
Optional human readable name.
Definition at line 121 of file dockwidgetsettings.h.
|
inlinestatic |
Key string of the value. Reimplemented in derived class.
Definition at line 118 of file dockwidgetsettings.h.