PlasmaQuick::ScreensModel Class
| Header: | #include <screensmodel.h> |
| CMake: | find_package(PlasmaQuick REQUIRED)target_link_libraries(mytarget PRIVATE Plasma::PlasmaQuick) |
| Inherits: | QAbstractListModel |
Public Functions
| ScreensModel(QObject *parent = nullptr) |
Detailed Description
ScreensModel is a model of all active screens. The order of screens has no semantic meaning.
Note: QGuiApplication::screens contains a placeholder fake screen when no real screens are connected. This model deliberately excludes them.
Member Function Documentation
[explicit] ScreensModel::ScreensModel(QObject *parent = nullptr)
Constructs a default screensmodel