MauiMan
formfactormanager.h
17 * @brief The FormFactoInfo class contains information about the input devices available in the current system.
25 Q_PROPERTY(uint bestMode READ bestMode NOTIFY bestModeChanged FINAL)
30 Q_PROPERTY(uint defaultMode READ defaultMode CONSTANT FINAL)
60 Q_PROPERTY(Qt::ScreenOrientation screenOrientation READ screenOrientation NOTIFY screenOrientationChanged)
71 Desktop = 0,
74 * Is a tablet when the devices has a relative big screen size, and it is a touch screen. There is not mouse present.
79 * Is a mobile phone, the the screen size is small, has a touch screen and not peripheral input devices such as a a keyboard or mouse.
82 };
93 return QByteArrayList{"1", "true"}.contains(qgetenv("QT_QUICK_CONTROLS_MOBILE")) ? MauiMan::FormFactorInfo::Mode::Phone : MauiMan::FormFactorInfo::Mode::Desktop;
172 Q_PROPERTY(uint preferredMode READ preferredMode WRITE setPreferredMode NOTIFY preferredModeChanged FINAL)
175 * If a device is not detected to have a touch screen , and still it has it, this property can be used to force allow the touch screen interactions.
177 Q_PROPERTY(bool forceTouchScreen READ forceTouchScreen WRITE setForceTouchScreen NOTIFY forceTouchScreenChanged)
The FormFactoInfo class contains information about the input devices available in the current system.
Definition formfactormanager.h:20
Mode
The possible form factor modes the system can have based on the device capabilities.
Definition formfactormanager.h:67
@ Desktop
Is a desktop when the screen size if relative big, has a physical keyboard, mouse.
Definition formfactormanager.h:71
@ Phone
Is a mobile phone, the the screen size is small, has a touch screen and not peripheral input devices ...
Definition formfactormanager.h:81
@ Tablet
Is a tablet when the devices has a relative big screen size, and it is a touch screen.
Definition formfactormanager.h:76
The FormFactorManager class exposes all the system form factor properties.
Definition formfactormanager.h:164
The SettingsStore class Allows to store and read settings for MauiMan from the local conf file.
Definition settingsstore.h:17
The MauiMan name-space contains all of the available modules for configuring the Maui Applications an...
Definition accessibilitymanager.h:8
bool contains(const AT &value) const const
ScreenOrientation
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.