Addes a simple 'Renumber Dialog', very similar to the GTK one.

This code adds a Renumber Dialog, that's most a copy & paste
of the GTK visual, I didn't tried to do anything fance with it,
but I still dont like how it looks like. a better management
form is needed. :)

( Well, actually my dislike is mostly because it's on a menu
and it's on a popup, I think a 'toolbox' should exist to hold
all of those widgets that don't belong to the menu - will try
that later )

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-06-17 13:41:00 -03:00
parent 6fd1e32452
commit 272338875d
3 changed files with 50 additions and 3 deletions

View file

@ -29,6 +29,7 @@
#include "downloadfromdivecomputer.h"
#include "preferences.h"
#include "subsurfacewebservices.h"
#include "simplewidgets.h"
static MainWindow* instance = 0;
@ -222,7 +223,7 @@ void MainWindow::on_actionAddDive_triggered()
void MainWindow::on_actionRenumber_triggered()
{
qDebug("actionRenumber");
RenumberDialog::instance()->show();
}
void MainWindow::on_actionAutoGroup_triggered()