mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Create Dive Computer configuration dialog
Create a dialog for reading and writing settings to and from dive computers, with a menu entry in MainWindow to open the dialog. I will build up on this dialog and change it as needed. Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
parent
af1d77056e
commit
ec02737eda
7 changed files with 183 additions and 3 deletions
|
@ -41,6 +41,7 @@
|
|||
#include "worldmap-save.h"
|
||||
#include "updatemanager.h"
|
||||
#include "planner.h"
|
||||
#include "configuredivecomputerdialog.h"
|
||||
#ifndef NO_PRINTING
|
||||
#include <QPrintDialog>
|
||||
#include "printdialog.h"
|
||||
|
@ -1287,6 +1288,12 @@ void MainWindow::on_actionExport_triggered()
|
|||
diveLogExport.exec();
|
||||
}
|
||||
|
||||
void MainWindow::on_actionConfigure_Dive_Computer_triggered()
|
||||
{
|
||||
ConfigureDiveComputerDialog *dcConfig = new ConfigureDiveComputerDialog(this);
|
||||
dcConfig->show();
|
||||
}
|
||||
|
||||
void MainWindow::setEnabledToolbar(bool arg1)
|
||||
{
|
||||
QList<QToolButton*> toolBar; toolBar << ui.profCalcAllTissues << ui.profCalcCeiling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue