My Project
|
A master model for previews. More...
#include <unity/shell/scopes/PreviewStackInterface.h>
Public Types | |
enum | Roles { RolePreviewModel } |
The roles supported by this model. | |
Public Member Functions | |
virtual Q_INVOKABLE unity::shell::scopes::PreviewModelInterface * | getPreviewModel (int index) const =0 |
Get preview model at a particular index. More... | |
Properties | |
int | widgetColumnCount |
Number of columns the individual previews should expose. More... | |
A master model for previews.
Each item in this model represents an individual preview, where each is stacked on top of the previous one. Item on index 0 is always the one on the very bottom of the stack.
|
pure virtual |
Get preview model at a particular index.
Return PreviewModelInterface instance at a particular index or nullptr if the index is out of bounds.
|
readwrite |
Number of columns the individual previews 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.