mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Created a new dialog, Edit Divecomputer, it will currently only lists the divecomputers that are used on the xml file. I used the same method that the gtk version used, but only 2 divecomputers got visualized in the dirk dive data. I'll assume that it's correct and will fix it in the next couple of commits. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
22 lines
No EOL
493 B
C++
22 lines
No EOL
493 B
C++
#ifndef DIVECOMPUTERMANAGEMENTDIALOG_H
|
|
#define DIVECOMPUTERMANAGEMENTDIALOG_H
|
|
#include <QDialog>
|
|
|
|
class DiveComputerModel;
|
|
namespace Ui{
|
|
class DiveComputerManagementDialog;
|
|
};
|
|
|
|
class DiveComputerManagementDialog : public QDialog{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
static DiveComputerManagementDialog *instance();
|
|
void update();
|
|
private:
|
|
explicit DiveComputerManagementDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
|
|
Ui::DiveComputerManagementDialog *ui;
|
|
DiveComputerModel *model;
|
|
};
|
|
|
|
#endif |