15 using namespace swift::misc::aviation;
16 using namespace swift::misc::geo;
17 using namespace swift::misc::physical_quantities;
21 CAircraftSituationListModel::CAircraftSituationListModel(QObject *parent)
37 CElevationPlane::IndexGeodeticHeightAsString }));
39 { CAircraftSituation::IndexGroundElevationPlane, CElevationPlane::IndexRadius },
42 "cs.",
"callsign", { CAircraftSituation::IndexCallsign, CCallsign::IndexCallsignStringAsSet }));
static CColumn standardValueObject(const QString &headerName, const swift::misc::CPropertyIndex &propertyIndex, int alignment=CDefaultFormatter::alignDefault())
Get a standard value object formatted column.
static CColumn standardString(const QString &headerName, const swift::misc::CPropertyIndex &propertyIndex, int alignment=CDefaultFormatter::alignDefault())
Get a standard string object formatted column.
void addColumn(const CColumn &column)
Add a column.
virtual bool setSortColumnByPropertyIndex(const swift::misc::CPropertyIndex &propertyIndex)
Set column for sorting.
CColumns m_columns
columns metadata
Qt::SortOrder m_sortOrder
sort order (asc/desc)
List model for timestamp based objects with offset.
void addTimestampOffsetColumns()
Standard timestamp offset columns.
List of aircraft situations.
Models to be used with views, mainly QTableView.
Free functions in swift::misc.