Version 2 // Add detailled breaks
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
|
||||
#include "day.h"
|
||||
#include "tools.h"
|
||||
#include "breakdialog.h"
|
||||
#include "breakpoint.h"
|
||||
|
||||
namespace Ui {
|
||||
class SetDayDialog;
|
||||
@@ -21,9 +23,12 @@ public:
|
||||
|
||||
Day get_result();
|
||||
|
||||
public slots:
|
||||
private slots:
|
||||
void compute_time();
|
||||
void validate();
|
||||
void add_break_point();
|
||||
void remove_break_point();
|
||||
void break_selected(int);
|
||||
|
||||
private:
|
||||
Ui::SetDayDialog *ui;
|
||||
@@ -31,16 +36,7 @@ private:
|
||||
Day d;
|
||||
|
||||
void init();
|
||||
|
||||
void mousePressEvent(QMouseEvent *event);
|
||||
void mouseMoveEvent(QMouseEvent *event);
|
||||
int m_nMouseClick_X_Coordinate;
|
||||
int m_nMouseClick_Y_Coordinate;
|
||||
int xmax;
|
||||
int xmin;
|
||||
int ymax;
|
||||
int ymin;
|
||||
inline bool isWidgetIsTitleBar();
|
||||
void updateBreakList();
|
||||
};
|
||||
|
||||
#endif // SETDAYDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user