13 using namespace swift::misc::physical_quantities;
14 using namespace swift::misc::aviation;
15 using namespace swift::misc::simulation;
19 CInterpolationSetupListModel::CInterpolationSetupListModel(
QObject *parent)
23 CInterpolationAndRenderingSetupPerCallsign::IndexCallsign,
24 CCallsign::IndexCallsignString));
26 "interpolator", CInterpolationAndRenderingSetupPerCallsign::IndexInterpolatorModeAsString));
28 CInterpolationAndRenderingSetupPerCallsign::IndexEnabledAircraftParts,
31 CInterpolationAndRenderingSetupPerCallsign::IndexSendGndFlagToSimulator,
34 CInterpolationAndRenderingSetupPerCallsign::IndexFixSceneryOffset,
37 CInterpolationAndRenderingSetupPerCallsign::IndexForceFullInterpolation,
40 CInterpolationAndRenderingSetupPerCallsign::IndexSimulatorDebugMessages,
43 CInterpolationAndRenderingSetupPerCallsign::IndexLogInterpolation,
46 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.