Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berry::ViewTreeModel Class Reference

#include <berryViewTreeModel.h>

Inheritance diagram for berry::ViewTreeModel:
Collaboration diagram for berry::ViewTreeModel:

Public Types

enum  Role { Description, Keywords, Id }
 

Public Member Functions

 ViewTreeModel (const IWorkbenchWindow *window, QObject *parent=nullptr)
 
 ~ViewTreeModel () override
 
QVariant data (const QModelIndex &index, int role) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
 
QModelIndex parent (const QModelIndex &child) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
const IWorkbenchWindowGetWorkbenchWindow () const
 

Detailed Description

Definition at line 27 of file berryViewTreeModel.h.

Member Enumeration Documentation

◆ Role

Enumerator
Description 
Keywords 
Id 

Definition at line 38 of file berryViewTreeModel.h.

Constructor & Destructor Documentation

◆ ViewTreeModel()

berry::ViewTreeModel::ViewTreeModel ( const IWorkbenchWindow window,
QObject *  parent = nullptr 
)

◆ ~ViewTreeModel()

berry::ViewTreeModel::~ViewTreeModel ( )
override

Member Function Documentation

◆ columnCount()

int berry::ViewTreeModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
override

◆ data()

QVariant berry::ViewTreeModel::data ( const QModelIndex &  index,
int  role 
) const
override

◆ flags()

Qt::ItemFlags berry::ViewTreeModel::flags ( const QModelIndex &  index) const
override

◆ GetWorkbenchWindow()

const IWorkbenchWindow* berry::ViewTreeModel::GetWorkbenchWindow ( ) const

◆ headerData()

QVariant berry::ViewTreeModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
override

◆ index()

QModelIndex berry::ViewTreeModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const
override

◆ parent()

QModelIndex berry::ViewTreeModel::parent ( const QModelIndex &  child) const
override

◆ rowCount()

int berry::ViewTreeModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
override

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