|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
A model managing the list of keyboard shortcuts for UI display. More...
#include <keyboard_shortcuts_dialog.h>
Public Member Functions | |
| ShortcutListModel (QObject *parent=Q_NULLPTR) | |
| Constructs a new ShortcutListModel. | |
Public Member Functions inherited from AStringListListModel | |
| AStringListListModel (QObject *parent=Q_NULLPTR) | |
| Construct an empty model. | |
| virtual | ~AStringListListModel () |
| Destroy the model. | |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| Return the number of rows in the model. | |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| Return the number of columns in the model. | |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| Return data for the given index and role. | |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| Return header data for the given section, orientation, and role. | |
| virtual void | appendRow (const QStringList &row, const QString &row_tooltip=QString(), const QModelIndex &parent=QModelIndex()) |
| Append a row to the model. | |
Protected Member Functions | |
| QStringList | headerColumns () const override |
| Retrieves the header column titles for the model. | |
A model managing the list of keyboard shortcuts for UI display.
|
explicit |
Constructs a new ShortcutListModel.
| parent | The parent QObject, defaults to Q_NULLPTR. |
|
overrideprotectedvirtual |
Retrieves the header column titles for the model.
Implements AStringListListModel.