A QAbstractItemModel to represent keyboard shortcut workspace settings.
More...
#include <keyboardshortcutsmodel.h>
Inherits QAbstractItemModel.
|
static QString | format (const QList< QKeySequence > &sequences, bool showNone) noexcept |
|
A QAbstractItemModel to represent keyboard shortcut workspace settings.
◆ KeyboardShortcutsModel() [1/3]
◆ KeyboardShortcutsModel() [2/3]
◆ KeyboardShortcutsModel() [3/3]
◆ ~KeyboardShortcutsModel()
◆ getOverrides()
const QMap< QString, QList< QKeySequence > > & getOverrides |
( |
| ) |
const |
|
inlinenoexcept |
◆ setOverrides()
void setOverrides |
( |
const QMap< QString, QList< QKeySequence > > & |
overrides | ) |
|
|
noexcept |
◆ columnCount()
int columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridenoexcept |
◆ rowCount()
int rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
overridenoexcept |
◆ index()
QModelIndex index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
|
overridenoexcept |
◆ parent()
QModelIndex parent |
( |
const QModelIndex & |
index | ) |
const |
|
overridenoexcept |
◆ flags()
Qt::ItemFlags flags |
( |
const QModelIndex & |
index | ) |
const |
|
overridenoexcept |
◆ data()
QVariant data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
overridenoexcept |
◆ setData()
bool setData |
( |
const QModelIndex & |
index, |
|
|
const QVariant & |
value, |
|
|
int |
role = Qt::EditRole |
|
) |
| |
|
overridenoexcept |
◆ operator=()
◆ categoryFromIndex()
◆ commandFromIndex()
const EditorCommand * commandFromIndex |
( |
const QModelIndex & |
index | ) |
const |
|
privatenoexcept |
◆ format()
QString format |
( |
const QList< QKeySequence > & |
sequences, |
|
|
bool |
showNone |
|
) |
| |
|
staticprivatenoexcept |
◆ mCategories
◆ mOverrides
QMap<QString, QList<QKeySequence> > mOverrides |
|
private |
The documentation for this class was generated from the following files: