-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathServiceEntryDialog.h
45 lines (38 loc) · 1.25 KB
/
ServiceEntryDialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef SERVICEENTRYDIALOG_H
#define SERVICEENTRYDIALOG_H
#include <QDialog>
#include <QDateTime>
namespace Ui {
class ServiceEntryDialog;
}
class ServiceEntryDialog : public QDialog
{
Q_OBJECT
public:
explicit ServiceEntryDialog(QWidget *parent = nullptr,
QStringList partList = QStringList(),
QString part = "",
QString description = "",
QString actionText = "",
QDateTime dateTime = QDateTime::currentDateTime(),
int intervalDistance = 0,
int intervalTime = 0,
QTime costsT = QTime(0, 0),
double costsM = 0.0);
~ServiceEntryDialog();
QString part( void );
QString description( void );
QString actionText( void );
QDateTime dateTime( void );
int intervalDistance( void );
int intervalHours( void );
double costsM( void );
QTime costsT( void );
private slots:
void on_pushButtonNow_clicked();
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
Ui::ServiceEntryDialog *ui;
};
#endif // SERVICEENTRYDIALOG_H