mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added the first scope of the visual dive planner.
Added the first files and skeleton code for the visual dive planner. now I need to fill things. The code is using the print action borrowed, this will need to move to a better choice in the future. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
88f0f60439
commit
beadeffaf5
4 changed files with 30 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
#include "subsurfacewebservices.h"
|
||||
#include "divecomputermanagementdialog.h"
|
||||
#include "simplewidgets.h"
|
||||
#include "diveplanner.h"
|
||||
|
||||
static MainWindow* instance = 0;
|
||||
|
||||
|
@ -178,6 +179,8 @@ void MainWindow::on_actionExportUDDF_triggered()
|
|||
|
||||
void MainWindow::on_actionPrint_triggered()
|
||||
{
|
||||
// hijacking the print action for a while.
|
||||
DivePlanner::instance()->show();
|
||||
qDebug("actionPrint");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue