Model underlying the ApplicationDatabaseView.
More...
#include <ArmarXGui/gui-plugins/ScenarioManager/gui/applicationdatabasemodel.h>
|
| | ApplicationDatabaseModel () |
| | Constructor that sets up the first item contained by this model.
|
| |
| void | clear () override |
| | Clears and resets this model as if it was newly constructed.
|
| |
| QVariant | data (const QModelIndex &index, int role) const override |
| | Returns the data at the specified index, depending on the specified role.
|
| |
| Qt::ItemFlags | flags (const QModelIndex &index) const override |
| | Returns the behavioural flags of the object at the specified index.
|
| |
| ApplicationDatabaseItem * | getRootItem () |
| |
| QMimeData * | mimeData (const QModelIndexList &indexes) const override |
| | Returns the mimedata of the objects at the specified indexes.
|
| |
| QStringList | mimeTypes () const override |
| | Returns supported MIME-types.
|
| |
| Qt::DropActions | supportedDragActions () const override |
| | Returns the supported drag action.
|
| |
| void | update () |
| | Updates the model.
|
| |
| 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 |
| |
◆ ApplicationDatabaseModel()
Constructor that sets up the first item contained by this model.
◆ clear()
Clears and resets this model as if it was newly constructed.
Implements TreeModel.
◆ data()
| QVariant data |
( |
const QModelIndex & | index, |
|
|
int | role ) const |
|
override |
Returns the data at the specified index, depending on the specified role.
- Parameters
-
| index | of the data |
| role | role of the data |
- Returns
- contained data
◆ flags()
| Qt::ItemFlags flags |
( |
const QModelIndex & | index | ) |
const |
|
override |
Returns the behavioural flags of the object at the specified index.
- Parameters
-
- Returns
- behavioural flags
◆ getRootItem()
◆ mimeData()
| QMimeData * mimeData |
( |
const QModelIndexList & | indexes | ) |
const |
|
override |
Returns the mimedata of the objects at the specified indexes.
- Parameters
-
- Returns
- data about the mime type of the objects
◆ mimeTypes()
| QStringList mimeTypes |
( |
| ) |
const |
|
override |
Returns supported MIME-types.
- Returns
- list of the supported MIME-types
◆ supportedDragActions()
| Qt::DropActions supportedDragActions |
( |
| ) |
const |
|
override |
Returns the supported drag action.
In this case always Qt::CopyAction.
◆ update()
The documentation for this class was generated from the following files: