Add support of leaves
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#define KEY_TEMPLATE "template"
|
||||
#define KEY_YEARS "years"
|
||||
#define SAVE_FILENAME "data.json"
|
||||
#define SAVE_FILE_VERSION 3
|
||||
#define SAVE_FILE_VERSION 4
|
||||
#define KEY_SAVE_FILE_VERSION "version"
|
||||
|
||||
#include <QMouseEvent>
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "models/week.h"
|
||||
#include "models/year.h"
|
||||
#include "welcome.h"
|
||||
#include "tools.h"
|
||||
#include "aboutbox.h"
|
||||
#include "weekoption.h"
|
||||
|
||||
@@ -52,13 +51,10 @@ private:
|
||||
void panic_dialog(QString text);
|
||||
|
||||
// UI Update
|
||||
void updateStartLabel();
|
||||
void updateBreakLabel();
|
||||
void updateEndLabel();
|
||||
void updateLabels();
|
||||
void highlightDayOfWeek();
|
||||
void updateValidIcon();
|
||||
void updateWarningIcon();
|
||||
void updateWeekTime();
|
||||
void updateDayLabels(QLabel *start, QLabel *end, QLabel *breaks, QFrame *validate, QFrame *warning, QFrame *not_working, Day *d);
|
||||
|
||||
QString get_save_file_path();
|
||||
Identifier get_identifier(QString objectName);
|
||||
|
||||
Reference in New Issue
Block a user