My Project
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Macros
unity::shell::scopes::PreviewStackInterface Class Referenceabstract

A master model for previews. More...

#include <unity/shell/scopes/PreviewStackInterface.h>

Inheritance diagram for unity::shell::scopes::PreviewStackInterface:
Collaboration diagram for unity::shell::scopes::PreviewStackInterface:

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...
 

Detailed Description

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.

Member Function Documentation

virtual Q_INVOKABLE unity::shell::scopes::PreviewModelInterface* unity::shell::scopes::PreviewStackInterface::getPreviewModel ( int  index) const
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.


The documentation for this class was generated from the following file: