mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
266e754d08
commit
32928b3880
4 changed files with 33 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue