swift
Static Public Member Functions | List of all members
swift::gui::settings::TDockWidget Struct Reference

Trait for settings for dock widget. More...

Inheritance diagram for swift::gui::settings::TDockWidget:
[legend]

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 Public Member Functions inherited from swift::misc::TSettingTrait< CDockWidgetSettings >
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

- Public Types inherited from swift::misc::TSettingTrait< CDockWidgetSettings >
using type = CDockWidgetSettings
 Data type of the value.
 
- Public Member Functions inherited from swift::misc::TSettingTrait< CDockWidgetSettings >
 TSettingTrait ()=delete
 Deleted default constructor.
 
 TSettingTrait (const TSettingTrait &)=delete
 Deleted copy constructor.
 
TSettingTraitoperator= (const TSettingTrait &)=delete
 Deleted copy assignment operator.
 

Detailed Description

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.

Member Function Documentation

◆ humanReadable()

static const QString& swift::gui::settings::TDockWidget::humanReadable ( )
inlinestatic

Optional human readable name.

Definition at line 121 of file dockwidgetsettings.h.

◆ key()

static const char* swift::gui::settings::TDockWidget::key ( )
inlinestatic

Key string of the value. Reimplemented in derived class.

Definition at line 118 of file dockwidgetsettings.h.


The documentation for this struct was generated from the following file: