Definition of the BaseItem class.
Definition of the Station class.
Definition of the TreeItem class.
A BaseItem contains additional Information about a subtree in the StationTreeModel.
A Station (observation site) is basically a Point with some additional information.
A TreeItem containing some additional information used in the StationModel.
void setItem(BaseItem *item)
Associates a BaseItem with this item.
BaseItem * getItem() const
Returns the BaseItem associated with this item.
void setStation(GeoLib::Station *stn)
Associates a station object with this item.
~ModelTreeItem() override
ModelTreeItem(const QList< QVariant > &data, TreeItem *parent, BaseItem *item=nullptr)
GeoLib::Station * getStation()
Returns the station object from which this item has been constructed.
Objects nodes for the TreeModel.
virtual QVariant data(int column) const