10using namespace swift::misc::simulation;
30 case ForMultiSessions:
34 case ForSingleSession:
35 m_columns.addColumn(
CColumn(
"type", CMatchingStatisticsEntry::IndexEntryTypeAsIcon));
static CColumn standardString(const QString &headerName, const swift::misc::CPropertyIndex &propertyIndex, int alignment=CDefaultFormatter::alignDefault())
Get a standard string object formatted column.
static CColumn standardInteger(const QString &headerName, const QString &toolTip, const swift::misc::CPropertyIndex &propertyIndex, int alignment=CDefaultFormatter::alignRightVCenter())
Get a standard integer value formatted column.
CListModelBase(const QString &translationContext, QObject *parent=nullptr)
virtual bool setSortColumnByPropertyIndex(const swift::misc::CPropertyIndex &propertyIndex)
Set column for sorting.
QModelIndex parent(const QModelIndex &child) const final
CColumns m_columns
columns metadata
MatchingStatisticsMode
How to display.
void setMode(MatchingStatisticsMode mode)
Set mode.
CMatchingStatisticsModel(MatchingStatisticsMode mode, QObject *parent=nullptr)
Constructor.
Models to be used with views, mainly QTableView.