-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathchangetime.h
41 lines (32 loc) · 833 Bytes
/
changetime.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
#ifndef CHANGETIME_H
#define CHANGETIME_H
#include <QDateTime>
#include <QDebug>
#include <QDialog>
#include <QLineEdit>
namespace Ui {
class ChangeTime;
}
class ChangeTime : public QDialog {
Q_OBJECT
void checkTime(QLineEdit* lineEdit);
public:
ChangeTime(QWidget* parent = 0);
~ChangeTime();
protected:
void changeEvent(QEvent* e);
private:
Ui::ChangeTime* ui;
private slots:
/* void on_secondLineEdit_textEdited(QString );
void on_minuteLineEdit_textEdited(QString );
void on_hourLineEdit_textEdited(QString );
void on_dayLineEdit_textEdited(QString );
void on_monthLineEdit_textEdited(QString );
void on_yearLineEdit_textEdited(QString );
*/
void on_buttonBox_accepted();
signals:
void changeDateTime(int, int, int, int, bool);
};
#endif // CHANGETIME_H