mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
A widget to add a set-point change
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
584775cbc0
commit
96a94f1a19
4 changed files with 180 additions and 0 deletions
|
@ -9,11 +9,13 @@ class QAbstractButton;
|
|||
#include <stdint.h>
|
||||
|
||||
#include "ui_renumber.h"
|
||||
#include "ui_setpoint.h"
|
||||
#include "ui_shifttimes.h"
|
||||
#include "ui_shiftimagetimes.h"
|
||||
#include "ui_divecomponentselection.h"
|
||||
#include "ui_listfilter.h"
|
||||
#include "exif.h"
|
||||
#include <dive.h>
|
||||
|
||||
class MinMaxAvgWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
|
@ -56,6 +58,22 @@ private:
|
|||
bool selectedOnly;
|
||||
};
|
||||
|
||||
class SetpointDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static SetpointDialog *instance();
|
||||
void setpointData(struct divecomputer *divecomputer, int time);
|
||||
private
|
||||
slots:
|
||||
void buttonClicked(QAbstractButton *button);
|
||||
|
||||
private:
|
||||
explicit SetpointDialog(QWidget *parent);
|
||||
Ui::SetpointDialog ui;
|
||||
struct divecomputer *dc;
|
||||
int time;
|
||||
};
|
||||
|
||||
class ShiftTimesDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue