diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-05-17 16:13:41 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-17 13:51:13 -0700 |
commit | 5eb572b9c63f828e547c502b0dd4df55ff878cad (patch) | |
tree | 1badefec2ba99282d7490ca60f6456418b31f2d9 /qt-ui/simplewidgets.h | |
parent | d9ad82917357215763143af7a773d06179cf7266 (diff) | |
download | subsurface-5eb572b9c63f828e547c502b0dd4df55ff878cad.tar.gz |
Move Locationinformation to its own file.
The SimpleWidgets file was getting too big, and location information will
also need a new model - a good way to do not mix everything is to put
things in a new file.
[Dirk Hohndel: added missing include of stdint.h]
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r-- | qt-ui/simplewidgets.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h index dde30335f..17f628392 100644 --- a/qt-ui/simplewidgets.h +++ b/qt-ui/simplewidgets.h @@ -228,40 +228,6 @@ private: Ui::FilterWidget ui; }; -#include "ui_locationInformation.h" - -class LocationInformationWidget : public QGroupBox { -Q_OBJECT -public: - LocationInformationWidget(QWidget *parent = 0); - -public slots: - void acceptChanges(); - void rejectChanges(); - - void showEvent(QShowEvent *); - - void setLocationId(uint32_t uuid); - void updateGpsCoordinates(void); - void markChangedWidget(QWidget *w); - void enableEdition(); - void resetState(); - void resetPallete(); - - void on_diveSiteCoordinates_textChanged(const QString& text); - void on_diveSiteDescription_textChanged(const QString& text); - void on_diveSiteName_textChanged(const QString& text); - void on_diveSiteNotes_textChanged(); -signals: - void informationManagementEnded(); - -private: - struct dive_site *currentDs; - Ui::LocationInformation ui; - bool modified; - QAction *closeAction, *acceptAction, *rejectAction; -}; - bool isGnome3Session(); QImage grayImage(const QImage &coloredImg); |