Screen configuration base class.
More...
#include <ScreenConfig.h>
|
enum class | Modifier : int8_t {
DefaultMod = -1
, Shift
, Ctrl
, Alt
,
Meta
, Super
, None
, NumModifiers
} |
enum class | SwitchCorner : int8_t {
TopLeft
, TopRight
, BottomLeft
, BottomRight
,
NumSwitchCorners
} |
enum class | Fix : int8_t {
CapsLock
, NumLock
, ScrollLock
, XTest
,
NumFixes
} |
|
| ScreenConfig ()=default |
| ~ScreenConfig ()=default |
template<typename T1, typename T2> |
void | readSettings (QSettingsProxy &settings, T1 &array, const QString &arrayName, const T2 &defaultValue) |
template<typename T1, typename T2> |
void | readSettings (QSettingsProxy &settings, T1 &array, const QString &arrayName, const T2 &defaultValue, int entries) |
template<typename T> |
void | writeSettings (QSettingsProxy &settings, const T &array, const QString &arrayName) const |
Screen configuration base class.
◆ Fix
Enumerator |
---|
CapsLock | |
NumLock | |
ScrollLock | |
XTest | |
NumFixes | |
◆ Modifier
Enumerator |
---|
DefaultMod | |
Shift | |
Ctrl | |
Alt | |
Meta | |
Super | |
None | |
NumModifiers | |
◆ SwitchCorner
Enumerator |
---|
TopLeft | |
TopRight | |
BottomLeft | |
BottomRight | |
NumSwitchCorners | |
◆ ScreenConfig()
ScreenConfig::ScreenConfig |
( |
| ) |
|
|
explicitprotecteddefault |
◆ ~ScreenConfig()
ScreenConfig::~ScreenConfig |
( |
| ) |
|
|
protecteddefault |
◆ fixName()
const char * ScreenConfig::fixName |
( |
int | idx | ) |
|
|
inlinestatic |
◆ modifierName()
const char * ScreenConfig::modifierName |
( |
int | idx | ) |
|
|
inlinestatic |
◆ readSettings() [1/2]
template<typename T1, typename T2>
void ScreenConfig::readSettings |
( |
QSettingsProxy & | settings, |
|
|
T1 & | array, |
|
|
const QString & | arrayName, |
|
|
const T2 & | defaultValue ) |
|
inlineprotected |
◆ readSettings() [2/2]
template<typename T1, typename T2>
void ScreenConfig::readSettings |
( |
QSettingsProxy & | settings, |
|
|
T1 & | array, |
|
|
const QString & | arrayName, |
|
|
const T2 & | defaultValue, |
|
|
int | entries ) |
|
inlineprotected |
◆ switchCornerName()
const char * ScreenConfig::switchCornerName |
( |
int | idx | ) |
|
|
inlinestatic |
◆ writeSettings()
template<typename T>
void ScreenConfig::writeSettings |
( |
QSettingsProxy & | settings, |
|
|
const T & | array, |
|
|
const QString & | arrayName ) const |
|
inlineprotected |
The documentation for this class was generated from the following files: