6#ifndef SWIFT_GUI_MODELS_STATUSMESSAGELISTMODEL_H
7#define SWIFT_GUI_MODELS_STATUSMESSAGELISTMODEL_H
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const final
CListModelTimestampObjects(const QString &translationContext, QObject *parent=nullptr)
Status message list model.
CStatusMessageListModel(QObject *parent=nullptr)
Constructor.
void setMode(Mode mode)
Set mode.
QVariant data(const QModelIndex &index, int role) const
void adjustOrderColumn(const swift::misc::CStatusMessageList &messages)
Adjust order column depending on messages.
~CStatusMessageListModel()=default
Destructor.
static bool sortedByTimestampOrOrder(const swift::misc::CPropertyIndex &p)
Sorted by timestamp or order.
bool isSortedByTimestampOrOrder() const
Currently sorted by timestamp or by order.
Status messages, e.g. from Core -> GUI.
Models to be used with views, mainly QTableView.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.