17 #ifndef UNITY_SHELL_SCOPES_PREVIEWSTACKINTERFACE_H
18 #define UNITY_SHELL_SCOPES_PREVIEWSTACKINTERFACE_H
20 #include <unity/SymbolExport.h>
22 #include <QAbstractListModel>
31 class PreviewModelInterface;
53 Q_PROPERTY(
int widgetColumnCount READ widgetColumnCount WRITE setWidgetColumnCount NOTIFY widgetColumnCountChanged)
77 virtual void setWidgetColumnCount(
int columnCount) = 0;
78 virtual int widgetColumnCount()
const = 0;
79 QHash<int, QByteArray> roleNames()
const override
81 QHash<int, QByteArray> roles;
82 roles[RolePreviewModel] =
"previewModel";
89 void widgetColumnCountChanged();
A list of PreviewWidgetModelInterface instances.
Definition: PreviewModelInterface.h:37
Top-level namespace for all things Unity-related.
Definition: Version.h:37
A master model for previews.
Definition: PreviewStackInterface.h:40
Roles
The roles supported by this model.
Definition: PreviewStackInterface.h:64