SettingsModel Class Reference

#include <ArmarXGui/gui-plugins/ScenarioManager/gui/settingsmodel.h>

+ Inheritance diagram for SettingsModel:

Public Member Functions

void clear () override
 
QVariant data (const QModelIndex &index, int role) const override
 
SettingsItemgetRootItem ()
 
 SettingsModel ()
 
void update ()
 
- Public Member Functions inherited from TreeModel
int columnCount (const QModelIndex &parent=QModelIndex()) const 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
 
bool insertColumn (int position, QVariant data, const QModelIndex &parent=QModelIndex())
 
bool insertRow (int position, TreeItem *item, const QModelIndex &parent=QModelIndex())
 
QModelIndex parent (const QModelIndex &index) const override
 
bool removeColumn (int position, const QModelIndex &parent=QModelIndex())
 
bool removeRow (int position, const QModelIndex &parent=QModelIndex())
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
 TreeModel (QObject *parent=0)
 
 ~TreeModel () override
 

Additional Inherited Members

- Protected Member Functions inherited from TreeModel
TreeItemgetItem (const QModelIndex &index) const
 
- Protected Attributes inherited from TreeModel
TreeItemrootItem
 

Detailed Description

Definition at line 32 of file settingsmodel.h.

Constructor & Destructor Documentation

◆ SettingsModel()

Definition at line 28 of file settingsmodel.cpp.

Member Function Documentation

◆ clear()

void clear ( )
overridevirtual

Implements TreeModel.

Definition at line 74 of file settingsmodel.cpp.

◆ data()

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

Definition at line 33 of file settingsmodel.cpp.

+ Here is the call graph for this function:

◆ getRootItem()

SettingsItem * getRootItem ( )

Definition at line 89 of file settingsmodel.cpp.

◆ update()

void update ( )

Definition at line 80 of file settingsmodel.cpp.

+ Here is the call graph for this function:

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