35 lines
677 B
C++
35 lines
677 B
C++
#ifndef TIMESETTINGDIALOG_H
|
|
#define TIMESETTINGDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class TimeSettingDialog;
|
|
}
|
|
|
|
class TimeSettingDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit TimeSettingDialog(QWidget *parent = 0);
|
|
~TimeSettingDialog();
|
|
|
|
int getYear();
|
|
int getMonth();
|
|
int getDay();
|
|
int getHour();
|
|
int getMinute();
|
|
int getSecond();
|
|
void setYear(int value);
|
|
void setMonth(int value);
|
|
void setDay(int value);
|
|
void setHour(int value);
|
|
void setMinute(int value);
|
|
void setSecond(int value);
|
|
private:
|
|
Ui::TimeSettingDialog *ui;
|
|
};
|
|
|
|
#endif // TIMESETTINGDIALOG_H
|