18 using namespace swift::misc::simulation;
 
   19 using namespace swift::misc::network;
 
   33                                     { CClient::IndexModelString, CAircraftModel::IndexHasQueriedModelString },
 
   38         (void)QT_TRANSLATE_NOOP(
"ViewClientList", 
"callsign");
 
   39         (void)QT_TRANSLATE_NOOP(
"ViewClientList", 
"realname");
 
   40         (void)QT_TRANSLATE_NOOP(
"ViewClientList", 
"userid");
 
   41         (void)QT_TRANSLATE_NOOP(
"ViewClientList", 
"modelstring");
 
   42         (void)QT_TRANSLATE_NOOP(
"ViewClientList", 
"server");
 
   47         static const CPropertyIndex ms({ CClient::IndexModelString, CAircraftModel::IndexModelString });
 
   48         static const CPropertyIndex qf({ CClient::IndexModelString, CAircraftModel::IndexHasQueriedModelString });
 
   55             const bool atc = client.
isAtc();
 
   62             const bool atc = client.
isAtc();
 
virtual QVariant data(const QModelIndex &index, int role) const
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 const ObjectType & at(const QModelIndex &index) const
Object at row position.
QVariant data(const QModelIndex &index, int role) const
QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const final
CColumns m_columns
columns metadata
virtual swift::misc::CPropertyIndex modelIndexToPropertyIndex(const QModelIndex &index) const
Index to property index.
bool isAtc() const
ATC client.
Value object encapsulating a list of voice rooms.
Models to be used with views, mainly QTableView.
Free functions in swift::misc.