19 #ifndef SATELLITESLISTMODEL_HPP 20 #define SATELLITESLISTMODEL_HPP 22 #include <QAbstractTableModel> 24 #include <QSharedPointer> 26 #include "Satellite.hpp" 49 void setSatelliteList(QList<SatelliteP>* satellites);
53 Qt::ItemFlags flags(
const QModelIndex& index)
const;
54 QVariant data(
const QModelIndex& index,
int role)
const;
55 bool setData(
const QModelIndex& index,
const QVariant& value,
int role);
56 int rowCount(
const QModelIndex& parent)
const;
57 int columnCount(
const QModelIndex& parent)
const;
76 void enableColoredNames(
bool enable =
true);
82 QList<SatelliteP>* satelliteList;
88 #endif // SATELLITESLISTMODEL_HPP void beginSatellitesChange()
Tell the model that its internal data structure is about to be modified.
void endSatellitesChange()
Tell the model that its internal data has been modified.
A model encapsulating a satellite list.