Inherits QAbstractListModel.
|
enum | StyledTableRoles { Details = Qt::UserRole
, HasOnlyDetails
} |
|
enum | ColumnStyle { TextString
, StatusIcon
} |
|
enum | StatusType { StatusError = 100
, StatusWarning = 200
, StatusSuccess = 300
, StatusUser = 400
} |
|
|
| StyledDetailsTableModel (QObject *parent=nullptr) |
|
int | AddColumn (const QString &name, ColumnStyle style=TextString) |
|
void | MoveColumn (const QString &name, int toIndex) |
|
void | AddColumnAlias (const QString &aliasName, const QString &columnName) |
|
int | GetColumnIndex (const QString &name) const |
|
void | AddEntry (const TableEntry &entry) |
|
void | AddPrioritizedKey (const QString &key) |
|
void | RemovePrioritizedKey (const QString &key) |
|
void | AddDeprioritizedKey (const QString &key) |
|
void | RemoveDeprioritizedKey (const QString &key) |
|
void | sort (int colIndex, Qt::SortOrder order=Qt::AscendingOrder) override |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
|
int | columnCount (const QModelIndex &index={}) const override |
|
int | rowCount (const QModelIndex &index={}) const override |
|
bool | removeRows (int row, int count, const QModelIndex &parent={}) override |
|
void | RegisterStatusIcon (int statusType, const QPixmap &icon) |
|
◆ ColumnStyle
Enumerator |
---|
TextString | Display value as text.
|
StatusIcon | Display an icon representing value text ("error", "warning" or "status")
|
The documentation for this class was generated from the following file:
- Code/Framework/AzQtComponents/AzQtComponents/Components/StyledDetailsTableModel.h