diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-06-26 13:23:53 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-26 18:50:22 -0700 |
commit | 32928b38808ddac56021bc0ddb8ea2dd01c590fa (patch) | |
tree | f06eebd03b98c5dbf77469e0e52444657ab93735 /qt-ui/locationinformation.cpp | |
parent | 266e754d08499a4ed45024d4886c4e799e7951e7 (diff) | |
download | subsurface-32928b38808ddac56021bc0ddb8ea2dd01c590fa.tar.gz |
Dive site rewrite: create a dive site edit dialog without borders
Plan is to make it pretty later.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/locationinformation.cpp')
-rw-r--r-- | qt-ui/locationinformation.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-ui/locationinformation.cpp b/qt-ui/locationinformation.cpp index 0578d553f..6aad1a3cc 100644 --- a/qt-ui/locationinformation.cpp +++ b/qt-ui/locationinformation.cpp @@ -226,3 +226,15 @@ void LocationInformationWidget::resetPallete() ui.diveSiteName->setPalette(p); ui.diveSiteNotes->setPalette(p); } + +SimpleDiveSiteEditDialog::SimpleDiveSiteEditDialog(QWidget *parent) : + QDialog(parent, Qt::FramelessWindowHint | Qt::WindowSystemMenuHint), + ui(new Ui::SimpleDiveSiteEditDialog()) +{ + ui->setupUi(this); +} + +SimpleDiveSiteEditDialog::~SimpleDiveSiteEditDialog() +{ + delete ui; +} |