#include <commandpalettemodel.h>
◆ Roles
| Enumerator |
|---|
| ShortcutRole | |
| CategoryRole | |
| EnabledRole | |
◆ CommandPaletteModel()
| openswmmvis::ui::CommandPaletteModel::CommandPaletteModel |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ actionAt()
| QAction * openswmmvis::ui::CommandPaletteModel::actionAt |
( |
const QModelIndex & |
index | ) |
const |
◆ data()
| QVariant openswmmvis::ui::CommandPaletteModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ reload()
| void openswmmvis::ui::CommandPaletteModel::reload |
( |
| ) |
|
Rebuild the source rows from the registry (call before showing).
◆ rowCount()
| int openswmmvis::ui::CommandPaletteModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ setFilterPattern()
| void openswmmvis::ui::CommandPaletteModel::setFilterPattern |
( |
const QString & |
pattern | ) |
|
Filter + sort by fuzzy relevance; empty pattern shows everything in catalog order.
The documentation for this class was generated from the following files: