Hotkey list model.
More...
|
enum | ItemRole { ActionHotkeyRole = Qt::UserRole
} |
| Item role.
|
|
|
| CActionHotkeyListModel (QObject *parent=nullptr) |
| Constructor.
|
|
virtual | ~CActionHotkeyListModel () |
| Destructor.
|
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
|
bool | setData (const QModelIndex &index, const QVariant &var, int role) |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
|
bool | insertRows (int position, int rows, const QModelIndex &index) |
|
bool | removeRows (int position, int rows, const QModelIndex &index) |
|
void | clear () |
| Clear model.
|
|
Hotkey list model.
Definition at line 22 of file actionhotkeylistmodel.h.
◆ columnCount()
int swift::gui::models::CActionHotkeyListModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ data()
QVariant swift::gui::models::CActionHotkeyListModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ headerData()
QVariant swift::gui::models::CActionHotkeyListModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
◆ insertRows()
bool swift::gui::models::CActionHotkeyListModel::insertRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index |
|
) |
| |
◆ removeRows()
bool swift::gui::models::CActionHotkeyListModel::removeRows |
( |
int |
position, |
|
|
int |
rows, |
|
|
const QModelIndex & |
index |
|
) |
| |
◆ rowCount()
int swift::gui::models::CActionHotkeyListModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ setData()
bool swift::gui::models::CActionHotkeyListModel::setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
var, |
|
|
int |
role |
|
) |
| |
The documentation for this class was generated from the following files: