#include <Screen.h>
|
QStringList & | aliases () |
void | setModifier (const Modifier m, const int n) |
QList< int > & | modifiers () |
void | addAlias (const QString &alias) |
void | setSwitchCorner (const SwitchCorner c, const bool on) |
QList< bool > & | switchCorners () |
void | setSwitchCornerSize (const int val) |
void | setFix (const Fix f, const bool on) |
QList< bool > & | fixes () |
void | setSwapped (const bool on) |
| 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 |
|
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
} |
static const char * | modifierName (int idx) |
static const char * | fixName (int idx) |
static const char * | switchCornerName (int idx) |
◆ Screen()
Screen::Screen |
( |
const QString & | name = QString() | ) |
|
|
explicit |
◆ addAlias()
void Screen::addAlias |
( |
const QString & | alias | ) |
|
|
inlineprotected |
◆ aliases() [1/2]
QStringList & Screen::aliases |
( |
| ) |
|
|
inlineprotected |
◆ aliases() [2/2]
const QStringList & Screen::aliases |
( |
| ) |
const |
|
inlinenodiscard |
◆ aliasesSection()
QString Screen::aliasesSection |
( |
| ) |
const |
|
nodiscard |
◆ fix()
bool Screen::fix |
( |
const Fix | f | ) |
const |
|
inlinenodiscard |
◆ fixes() [1/2]
QList< bool > & Screen::fixes |
( |
| ) |
|
|
inlineprotected |
◆ fixes() [2/2]
const QList< bool > & Screen::fixes |
( |
| ) |
const |
|
inlinenodiscard |
◆ isNull()
bool Screen::isNull |
( |
| ) |
const |
|
inlinenodiscard |
◆ isServer()
bool Screen::isServer |
( |
| ) |
const |
|
inlinenodiscard |
◆ loadSettings()
◆ markAsServer()
void Screen::markAsServer |
( |
| ) |
|
|
inline |
◆ modifier()
int Screen::modifier |
( |
int | m | ) |
const |
|
inlinenodiscard |
◆ modifiers() [1/2]
QList< int > & Screen::modifiers |
( |
| ) |
|
|
inlineprotected |
◆ modifiers() [2/2]
const QList< int > & Screen::modifiers |
( |
| ) |
const |
|
inlinenodiscard |
◆ name()
const QString & Screen::name |
( |
| ) |
const |
|
inlinenodiscard |
◆ operator==()
bool Screen::operator== |
( |
const Screen & | screen | ) |
const |
◆ pixmap()
const QPixmap & Screen::pixmap |
( |
| ) |
const |
|
inlinenodiscard |
◆ saveSettings()
◆ screensSection()
QString Screen::screensSection |
( |
| ) |
const |
|
nodiscard |
◆ setFix()
void Screen::setFix |
( |
const Fix | f, |
|
|
const bool | on ) |
|
inlineprotected |
◆ setModifier()
void Screen::setModifier |
( |
const Modifier | m, |
|
|
const int | n ) |
|
inlineprotected |
◆ setName()
void Screen::setName |
( |
const QString & | name | ) |
|
|
inline |
◆ setSwapped()
void Screen::setSwapped |
( |
const bool | on | ) |
|
|
inlineprotected |
◆ setSwitchCorner()
void Screen::setSwitchCorner |
( |
const SwitchCorner | c, |
|
|
const bool | on ) |
|
inlineprotected |
◆ setSwitchCornerSize()
void Screen::setSwitchCornerSize |
( |
const int | val | ) |
|
|
inlineprotected |
◆ swapped()
bool Screen::swapped |
( |
| ) |
const |
|
inlinenodiscard |
◆ switchCorner()
bool Screen::switchCorner |
( |
int | c | ) |
const |
|
inlinenodiscard |
◆ switchCorners() [1/2]
QList< bool > & Screen::switchCorners |
( |
| ) |
|
|
inlineprotected |
◆ switchCorners() [2/2]
const QList< bool > & Screen::switchCorners |
( |
| ) |
const |
|
inlinenodiscard |
◆ switchCornerSize()
int Screen::switchCornerSize |
( |
| ) |
const |
|
inlinenodiscard |
◆ operator<<
QDataStream & operator<< |
( |
QDataStream & | outStream, |
|
|
const Screen & | screen ) |
|
friend |
◆ operator>>
QDataStream & operator>> |
( |
QDataStream & | inStream, |
|
|
Screen & | screen ) |
|
friend |
◆ ScreenSettingsDialog
◆ ScreenSetupModel
◆ ScreenSetupView
The documentation for this class was generated from the following files: