|
LibEngsas
|
Model to present the user a tree of possible settings pages. More...
#include <esettingsmodel.h>
Inheritance diagram for ESettingsModel:
Collaboration diagram for ESettingsModel:Public Slots | |
| void | reloadSettings () |
Signals | |
| void | reloadSettingsRequest () |
| void | doReloadSettings () |
Signals inherited from EAbstractItemModel | |
| void | error (QString msg) |
| void | warning (QString msg) |
| void | information (QString msg) |
| void | eRowsInserted (const QModelIndex &parent, int start, int end) |
| Replacement of private signal rowsInserted(). More... | |
| void | eRowsRemoved (const QModelIndex &parent, int start, int end) |
| Replacement of private signal rowsRemoved(). More... | |
Public Member Functions | |
| ESettingsModel (QObject *parent=0) | |
| ~ESettingsModel () | |
| bool | addItem (ESettingsModelItem *item) |
| ESettingsModelItem * | itemFromIndex (QModelIndex index) const |
| bool | save (QString &error) |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &child) const |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
Public Member Functions inherited from EAbstractItemModel | |
| EAbstractItemModel (QObject *parent=0) | |
| virtual | ~EAbstractItemModel () |
Private Slots | |
| void | reloadSettingsRequestByPass () |
Private Attributes | |
| ESettingsModelItem * | root |
| bool | reloadRequested |
| Set to true by reloadSettingsRequestByPass(), if a reloadSettingsRequest is catched. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from EAbstractItemModel | |
| static void | connectByPass (QObject *parent, EAbstractItemModel *child) |
| static void | connectByPass (EAbstractItemModel *parent, QObject *child) |
Protected Slots inherited from EAbstractItemModel | |
| virtual void | errorByPass (const QString &message) |
Protected Member Functions inherited from EAbstractItemModel | |
| virtual void | warningByPass (const QString &message) |
| virtual void | informationByPass (const QString &message) |
Model to present the user a tree of possible settings pages.
| ESettingsModel::ESettingsModel | ( | QObject * | parent = 0 | ) |
Here is the call graph for this function:| ESettingsModel::~ESettingsModel | ( | ) |
| bool ESettingsModel::addItem | ( | ESettingsModelItem * | item | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| int ESettingsModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| QVariant ESettingsModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
Here is the call graph for this function:
|
signal |
Here is the caller graph for this function:| QVariant ESettingsModel::headerData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| int | role = Qt::DisplayRole |
||
| ) | const |
| QModelIndex ESettingsModel::index | ( | int | row, |
| int | column, | ||
| const QModelIndex & | parent = QModelIndex() |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| ESettingsModelItem * ESettingsModel::itemFromIndex | ( | QModelIndex | index | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| QModelIndex ESettingsModel::parent | ( | const QModelIndex & | child | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineslot |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
inlineprivateslot |
Here is the caller graph for this function:| int ESettingsModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool ESettingsModel::save | ( | QString & | error | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Set to true by reloadSettingsRequestByPass(), if a reloadSettingsRequest is catched.
|
private |
1.8.15