12 using namespace swift::misc::physical_quantities;
13 using namespace swift::misc::aviation;
14 using namespace swift::misc::simulation;
18 CInterpolationSetupListModel::CInterpolationSetupListModel(QObject *parent)
22 CInterpolationAndRenderingSetupPerCallsign::IndexCallsign,
23 CCallsign::IndexCallsignString));
25 "interpolator", CInterpolationAndRenderingSetupPerCallsign::IndexInterpolatorModeAsString));
27 CInterpolationAndRenderingSetupPerCallsign::IndexEnabledAircraftParts,
30 CInterpolationAndRenderingSetupPerCallsign::IndexSendGndFlagToSimulator,
33 CInterpolationAndRenderingSetupPerCallsign::IndexFixSceneryOffset,
36 CInterpolationAndRenderingSetupPerCallsign::IndexForceFullInterpolation,
39 CInterpolationAndRenderingSetupPerCallsign::IndexSimulatorDebugMessages,
42 CInterpolationAndRenderingSetupPerCallsign::IndexLogInterpolation,
45 CInterpolationAndRenderingSetupPerCallsign::IndexPitchOnGround,
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 callsign based objects (callsign is unique key)
Models to be used with views, mainly QTableView.
Free functions in swift::misc.