MonitorListModel Class
(ScreenPlay::MonitorListModel)MonitorListModel. More...
Header: | #include <MonitorListModel> |
Detailed Description
Loads all available monitors and saves them in a QAbstractListModel inherited list model. This list model gets updated if:
- A user adds or removes a monitor
- A user adds or removes a wallpaper
- On startup based on profiles.json
This listmodel is also needed for calculating the monitor preview in the UI.