diff options
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r-- | qt-ui/maintab.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 745f401a4..8c398a77d 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -12,6 +12,8 @@ #include "models.h" +class QCompleter; + namespace Ui { class MainTab; @@ -27,6 +29,13 @@ struct NotesBackup{ QString divemaster; }; +struct Completers{ + QCompleter *location; + QCompleter *divemaster; + QCompleter *buddy; + QCompleter *suit; +}; + class MainTab : public QTabWidget { Q_OBJECT @@ -72,6 +81,7 @@ private: QPushButton *addCylinder; QPushButton *addWeight; enum { NONE, DIVE, TRIP } editMode; + Completers completers; void enableEdition(); }; |