|
My Project
|
A list of PreviewWidgetModelInterface instances. More...
#include <unity/shell/scopes/PreviewModelInterface.h>


Public Types | |
| enum | Roles { RoleColumnModel } |
| The roles supported by this model. | |
Signals | |
| void | triggered (QString const &, QString const &, QVariantMap const &) |
| Signal emitted when user triggers an action. More... | |
Properties | |
| int | widgetColumnCount |
| Number of column models this preview should expose. More... | |
| bool | loaded |
| Boolean specifying whether loading this preview finished. | |
| bool | processingAction |
| Boolean specifying whether an action is currently being performed. More... | |
A list of PreviewWidgetModelInterface instances.
This model exposes a number of PreviewWidgetModelInterface instances based on the value of widgetColumnCount property.
|
signal |
Signal emitted when user triggers an action.
This signal is emitted when user triggers an action - the parameters are widget id, action id and properties of the widget/action.
|
read |
Boolean specifying whether an action is currently being performed.
Performing an action in a preview often involves communicating to a scope and as such can take a while. It's safer to disable all actions while value of this property is true.
|
readwrite |
Number of column models this preview should expose.
Previews can be laid out in a different number of columns - for example the number of desired columns can change when changing orientation of the display and therefore there's more horizontal space available.