31 lines
417 B
C++
31 lines
417 B
C++
#ifndef WEEKOPTION_H
|
|
#define WEEKOPTION_H
|
|
|
|
#include <QDialog>
|
|
|
|
#include "models/week.h"
|
|
|
|
namespace Ui {
|
|
class WeekOption;
|
|
}
|
|
|
|
class WeekOption : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit WeekOption(Week *w, QWidget *parent = nullptr);
|
|
~WeekOption();
|
|
int get_time_delta();
|
|
|
|
private slots:
|
|
void set_time_delta(int);
|
|
|
|
private:
|
|
Ui::WeekOption *ui;
|
|
|
|
int time_delta;
|
|
};
|
|
|
|
#endif // WEEKOPTION_H
|