mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
LocationInformationModel moved to qt-models
I forgot about this one, and we are going to use it in the mobile version too. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
88549d1874
commit
266e309962
5 changed files with 62 additions and 54 deletions
|
@ -5,17 +5,6 @@
|
|||
#include <stdint.h>
|
||||
#include <QAbstractListModel>
|
||||
|
||||
class LocationInformationModel : public QAbstractListModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
LocationInformationModel(QObject *obj = 0);
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
QVariant data(const QModelIndex &index = QModelIndex(), int role = Qt::DisplayRole) const;
|
||||
void update();
|
||||
private:
|
||||
int internalRowCount;
|
||||
};
|
||||
|
||||
class LocationInformationWidget : public QGroupBox {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue