mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Offer an option to just complete the text
Make the kids fight no more. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4dfb39cc49
commit
cd3f10d5ad
4 changed files with 73 additions and 9 deletions
|
@ -5,6 +5,8 @@
|
|||
#include <QStringListModel>
|
||||
#include <stdint.h>
|
||||
|
||||
class QLineEdit;
|
||||
|
||||
class LocationInformationModel : public QAbstractTableModel {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
@ -16,12 +18,14 @@ public:
|
|||
int32_t addDiveSite(const QString& name, int lat = 0, int lon = 0);
|
||||
bool setData(const QModelIndex &index, const QVariant &value, int role);
|
||||
bool removeRows(int row, int count, const QModelIndex & parent = QModelIndex());
|
||||
void setFirstRowTextField(QLineEdit *textField);
|
||||
|
||||
public slots:
|
||||
void update();
|
||||
private:
|
||||
LocationInformationModel(QObject *obj = 0);
|
||||
int internalRowCount;
|
||||
QLineEdit *textField;
|
||||
};
|
||||
|
||||
class GeoReferencingOptionsModel : public QStringListModel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue