New interface theme, new icon
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
QT += core gui
|
QT += core gui
|
||||||
|
|
||||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||||
|
|
||||||
CONFIG += c++17
|
CONFIG += c++17
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE QtCreatorProject>
|
<!DOCTYPE QtCreatorProject>
|
||||||
<!-- Written by QtCreator 4.12.4, 2020-09-24T10:51:57. -->
|
<!-- Written by QtCreator 4.12.4, 2020-09-26T16:18:50. -->
|
||||||
<qtcreator>
|
<qtcreator>
|
||||||
<data>
|
<data>
|
||||||
<variable>EnvironmentId</variable>
|
<variable>EnvironmentId</variable>
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.15.0 MSVC2019 64bit</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.15.0 MSVC2019 64bit</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.15.0 MSVC2019 64bit</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.15.0 MSVC2019 64bit</value>
|
||||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5150.win64_msvc2019_64_kit</value>
|
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.qt5.5150.win64_msvc2019_64_kit</value>
|
||||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||||
@@ -320,7 +320,7 @@
|
|||||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||||
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
|
<value type="QString" key="RunConfiguration.WorkingDirectory"></value>
|
||||||
<value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Debug</value>
|
<value type="QString" key="RunConfiguration.WorkingDirectory.default">C:/Users/robof/OneDrive/Documents/build-Chronos-Desktop_Qt_5_15_0_MSVC2019_64bit-Release</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||||
</valuemap>
|
</valuemap>
|
||||||
|
|||||||
@@ -6,9 +6,34 @@ AboutBox::AboutBox(QWidget *parent) :
|
|||||||
ui(new Ui::AboutBox)
|
ui(new Ui::AboutBox)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
|
||||||
|
xmax = ui->frame->x() + ui->frame->width();
|
||||||
|
xmin = ui->frame->x();
|
||||||
|
ymax = ui->frame->x() + ui->frame->height();
|
||||||
|
ymin = ui->frame->y();
|
||||||
}
|
}
|
||||||
|
|
||||||
AboutBox::~AboutBox()
|
AboutBox::~AboutBox()
|
||||||
{
|
{
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void AboutBox::mousePressEvent(QMouseEvent *event) {
|
||||||
|
m_nMouseClick_X_Coordinate = event->x();
|
||||||
|
m_nMouseClick_Y_Coordinate = event->y();
|
||||||
|
}
|
||||||
|
|
||||||
|
void AboutBox::mouseMoveEvent(QMouseEvent *event) {
|
||||||
|
if (isWidgetIsTitleBar()) {
|
||||||
|
move(event->globalX() - m_nMouseClick_X_Coordinate ,
|
||||||
|
event->globalY() - m_nMouseClick_Y_Coordinate);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool AboutBox::isWidgetIsTitleBar() {
|
||||||
|
return (m_nMouseClick_X_Coordinate >= xmin &&
|
||||||
|
m_nMouseClick_X_Coordinate < xmax &&
|
||||||
|
m_nMouseClick_Y_Coordinate >= ymin &&
|
||||||
|
m_nMouseClick_Y_Coordinate < ymax);
|
||||||
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#define ABOUTBOX_H
|
#define ABOUTBOX_H
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
#include <QMouseEvent>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
namespace Ui {
|
namespace Ui {
|
||||||
@@ -18,6 +19,16 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::AboutBox *ui;
|
Ui::AboutBox *ui;
|
||||||
|
|
||||||
|
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();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ABOUTBOX_H
|
#endif // ABOUTBOX_H
|
||||||
|
|||||||
@@ -55,10 +55,10 @@ void MainWindow::init() {
|
|||||||
objectId.insert(ui->wed_button->objectName(), Identifier::wed);
|
objectId.insert(ui->wed_button->objectName(), Identifier::wed);
|
||||||
objectId.insert(ui->thu_button->objectName(), Identifier::thu);
|
objectId.insert(ui->thu_button->objectName(), Identifier::thu);
|
||||||
objectId.insert(ui->fri_button->objectName(), Identifier::fri);
|
objectId.insert(ui->fri_button->objectName(), Identifier::fri);
|
||||||
xmax = ui->window_title->x() + ui->window_title->width();
|
xmax = ui->titleBar->x() + ui->titleBar->width();
|
||||||
xmin = ui->window_title->x();
|
xmin = ui->titleBar->x();
|
||||||
ymax = ui->window_title->x() + ui->window_title->height();
|
ymax = ui->titleBar->x() + ui->titleBar->height();
|
||||||
ymin = ui->window_title->y();
|
ymin = ui->titleBar->y();
|
||||||
connect(ui->aboutButton, &QPushButton::clicked, this, &MainWindow::open_about);
|
connect(ui->aboutButton, &QPushButton::clicked, this, &MainWindow::open_about);
|
||||||
connect(ui->template_settings_button, &QPushButton::clicked, this, &MainWindow::edit_template);
|
connect(ui->template_settings_button, &QPushButton::clicked, this, &MainWindow::edit_template);
|
||||||
connect(ui->dateEdit, &QDateEdit::dateTimeChanged, this, &MainWindow::compute_week_number);
|
connect(ui->dateEdit, &QDateEdit::dateTimeChanged, this, &MainWindow::compute_week_number);
|
||||||
@@ -89,7 +89,7 @@ void MainWindow::highlightDayOfWeek() {
|
|||||||
ui->tueLabel->setText("Mardi");
|
ui->tueLabel->setText("Mardi");
|
||||||
ui->wedLabel->setText("Mercredi");
|
ui->wedLabel->setText("Mercredi");
|
||||||
ui->thuLabel->setText("Jeudi");
|
ui->thuLabel->setText("Jeudi");
|
||||||
ui->friLabel->setText("Friday");
|
ui->friLabel->setText("Vendredi");
|
||||||
if (todayWeekNumber == current_week.getWeekNumber()) {
|
if (todayWeekNumber == current_week.getWeekNumber()) {
|
||||||
switch (dayOfWeek) {
|
switch (dayOfWeek) {
|
||||||
case 1: {
|
case 1: {
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
#include <QtWinExtras/QtWin>
|
||||||
|
|
||||||
#include "week.h"
|
#include "week.h"
|
||||||
#include "welcome.h"
|
#include "welcome.h"
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ SetDayDialog::SetDayDialog(Day d, bool isNotValidable, QWidget *parent) :
|
|||||||
ui(new Ui::SetDayDialog)
|
ui(new Ui::SetDayDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
ui->window_title->setText(this->windowTitle());
|
||||||
|
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
|
||||||
ui->validateButton->setEnabled(!isNotValidable);
|
ui->validateButton->setEnabled(!isNotValidable);
|
||||||
this->d = d;
|
this->d = d;
|
||||||
init();
|
init();
|
||||||
@@ -16,10 +18,34 @@ SetDayDialog::~SetDayDialog()
|
|||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SetDayDialog::mousePressEvent(QMouseEvent *event) {
|
||||||
|
m_nMouseClick_X_Coordinate = event->x();
|
||||||
|
m_nMouseClick_Y_Coordinate = event->y();
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDayDialog::mouseMoveEvent(QMouseEvent *event) {
|
||||||
|
if (isWidgetIsTitleBar()) {
|
||||||
|
move(event->globalX() - m_nMouseClick_X_Coordinate ,
|
||||||
|
event->globalY() - m_nMouseClick_Y_Coordinate);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool SetDayDialog::isWidgetIsTitleBar() {
|
||||||
|
return (m_nMouseClick_X_Coordinate >= xmin &&
|
||||||
|
m_nMouseClick_X_Coordinate < xmax &&
|
||||||
|
m_nMouseClick_Y_Coordinate >= ymin &&
|
||||||
|
m_nMouseClick_Y_Coordinate < ymax);
|
||||||
|
}
|
||||||
|
|
||||||
void SetDayDialog::init() {
|
void SetDayDialog::init() {
|
||||||
ui->start_edit->setTime(d.get_start());
|
ui->start_edit->setTime(d.get_start());
|
||||||
ui->end_edit->setTime(d.get_end());
|
ui->end_edit->setTime(d.get_end());
|
||||||
ui->break_edit->setValue(d.get_time_break());
|
ui->break_edit->setValue(d.get_time_break());
|
||||||
|
xmax = ui->titleBar->x() + ui->titleBar->width();
|
||||||
|
xmin = ui->titleBar->x();
|
||||||
|
ymax = ui->titleBar->x() + ui->titleBar->height();
|
||||||
|
ymin = ui->titleBar->y();
|
||||||
connect(ui->start_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
connect(ui->start_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
||||||
connect(ui->end_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
connect(ui->end_edit, &QTimeEdit::timeChanged, this, &SetDayDialog::compute_time);
|
||||||
connect(ui->validateButton, &QPushButton::clicked, this, &SetDayDialog::validate);
|
connect(ui->validateButton, &QPushButton::clicked, this, &SetDayDialog::validate);
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
#define SETDAYDIALOG_H
|
#define SETDAYDIALOG_H
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
#include <QMouseEvent>
|
||||||
|
|
||||||
#include "day.h"
|
#include "day.h"
|
||||||
#include "tools.h"
|
#include "tools.h"
|
||||||
@@ -30,6 +31,16 @@ private:
|
|||||||
Day d;
|
Day d;
|
||||||
|
|
||||||
void init();
|
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();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SETDAYDIALOG_H
|
#endif // SETDAYDIALOG_H
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ Welcome::Welcome(Week wtemplate, QWidget *parent) :
|
|||||||
ui(new Ui::Welcome)
|
ui(new Ui::Welcome)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
|
ui->window_title->setText(this->windowTitle());
|
||||||
|
this->setWindowFlags(Qt::Dialog | Qt::FramelessWindowHint);
|
||||||
w = wtemplate;
|
w = wtemplate;
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
@@ -15,6 +17,26 @@ Welcome::~Welcome()
|
|||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Welcome::mousePressEvent(QMouseEvent *event) {
|
||||||
|
m_nMouseClick_X_Coordinate = event->x();
|
||||||
|
m_nMouseClick_Y_Coordinate = event->y();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Welcome::mouseMoveEvent(QMouseEvent *event) {
|
||||||
|
if (isWidgetIsTitleBar()) {
|
||||||
|
move(event->globalX() - m_nMouseClick_X_Coordinate ,
|
||||||
|
event->globalY() - m_nMouseClick_Y_Coordinate);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Welcome::isWidgetIsTitleBar() {
|
||||||
|
return (m_nMouseClick_X_Coordinate >= xmin &&
|
||||||
|
m_nMouseClick_X_Coordinate < xmax &&
|
||||||
|
m_nMouseClick_Y_Coordinate >= ymin &&
|
||||||
|
m_nMouseClick_Y_Coordinate < ymax);
|
||||||
|
}
|
||||||
|
|
||||||
void Welcome::init() {
|
void Welcome::init() {
|
||||||
set_value_to_widget();
|
set_value_to_widget();
|
||||||
objectId.insert(ui->mon_button->objectName(), Identifier::mon);
|
objectId.insert(ui->mon_button->objectName(), Identifier::mon);
|
||||||
@@ -22,6 +44,10 @@ void Welcome::init() {
|
|||||||
objectId.insert(ui->wed_button->objectName(), Identifier::wed);
|
objectId.insert(ui->wed_button->objectName(), Identifier::wed);
|
||||||
objectId.insert(ui->thu_button->objectName(), Identifier::thu);
|
objectId.insert(ui->thu_button->objectName(), Identifier::thu);
|
||||||
objectId.insert(ui->fri_button->objectName(), Identifier::fri);
|
objectId.insert(ui->fri_button->objectName(), Identifier::fri);
|
||||||
|
xmax = ui->titleBar->x() + ui->titleBar->width();
|
||||||
|
xmin = ui->titleBar->x();
|
||||||
|
ymax = ui->titleBar->x() + ui->titleBar->height();
|
||||||
|
ymin = ui->titleBar->y();
|
||||||
connect(ui->mon_button, &QPushButton::clicked, this, &Welcome::edit);
|
connect(ui->mon_button, &QPushButton::clicked, this, &Welcome::edit);
|
||||||
connect(ui->tue_button, &QPushButton::clicked, this, &Welcome::edit);
|
connect(ui->tue_button, &QPushButton::clicked, this, &Welcome::edit);
|
||||||
connect(ui->wed_button, &QPushButton::clicked, this, &Welcome::edit);
|
connect(ui->wed_button, &QPushButton::clicked, this, &Welcome::edit);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QDoubleSpinBox>
|
#include <QDoubleSpinBox>
|
||||||
|
#include <QMouseEvent>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#include "week.h"
|
#include "week.h"
|
||||||
@@ -43,6 +44,16 @@ private:
|
|||||||
Identifier get_identifier(QString objectName);
|
Identifier get_identifier(QString objectName);
|
||||||
Day modify_value(Day);
|
Day modify_value(Day);
|
||||||
|
|
||||||
|
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();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void edit();
|
void edit();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -52,18 +52,45 @@ QPushButton::default{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #04b97f;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
background-color: #1e1d23;
|
background-color: #1e1d23;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
QPushButton#closeButton, QPushButton#minimizeButton{
|
||||||
|
color: white;
|
||||||
|
padding: 2px;
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
QPushButton#closeButton::default, QFrame#titleBar QPushButton#minimizeButton::default{
|
||||||
|
color: white;
|
||||||
|
padding: 2px;
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
font-size: 11px;
|
||||||
|
}
|
||||||
|
QPushButton#closeButton:hover{
|
||||||
|
color: white;
|
||||||
|
padding-bottom: 2px;
|
||||||
|
background-color: #eb4034;
|
||||||
|
}
|
||||||
|
QPushButton#closeButton:pressed{
|
||||||
|
color: white;
|
||||||
|
padding-bottom: 1px;
|
||||||
|
background-color: #b83228;
|
||||||
|
}
|
||||||
|
|
||||||
QToolButton {
|
QToolButton {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #04b97f;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
@@ -75,7 +102,7 @@ QToolButton:hover{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #37efba;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -87,7 +114,7 @@ QPushButton:hover{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #37efba;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 1px;
|
border-bottom-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -99,10 +126,10 @@ QPushButton:pressed{
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #37efba;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #37efba;
|
color: rgba(204, 22, 0, 255);
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
background-color: #1e1d23;
|
background-color: #1e1d23;
|
||||||
}
|
}
|
||||||
@@ -144,7 +171,7 @@ QProgressBar {
|
|||||||
background-color:#1e1d23;
|
background-color:#1e1d23;
|
||||||
}
|
}
|
||||||
QProgressBar::chunk {
|
QProgressBar::chunk {
|
||||||
background-color: #04b97f;
|
background-color: rgba(204, 22, 0, 255);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
QMenuBar {
|
QMenuBar {
|
||||||
@@ -165,7 +192,7 @@ QMenu::item:selected {
|
|||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: #04b97f;
|
border-left-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
border-left-width: 2px;
|
border-left-width: 2px;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -222,7 +249,7 @@ QTabBar::tab:selected, QTabBar::tab:last:selected, QTabBar::tab:hover {
|
|||||||
border-top-color: transparent;
|
border-top-color: transparent;
|
||||||
border-right-color: transparent;
|
border-right-color: transparent;
|
||||||
border-left-color: transparent;
|
border-left-color: transparent;
|
||||||
border-bottom-color: #04b97f;
|
border-bottom-color: rgba(204, 22, 0, 255);
|
||||||
border-bottom-width: 2px;
|
border-bottom-width: 2px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
@@ -258,9 +285,9 @@ QCheckBox::indicator:checked {
|
|||||||
width: 10px;
|
width: 10px;
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: #04b97f;
|
background-color: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QCheckBox::indicator:unchecked {
|
QCheckBox::indicator:unchecked {
|
||||||
|
|
||||||
@@ -268,7 +295,7 @@ QCheckBox::indicator:unchecked {
|
|||||||
width: 10px;
|
width: 10px;
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -283,9 +310,9 @@ QRadioButton::indicator:checked {
|
|||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-radius:5px;
|
border-radius:5px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: #04b97f;
|
background-color: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QRadioButton::indicator:!checked {
|
QRadioButton::indicator:!checked {
|
||||||
height: 10px;
|
height: 10px;
|
||||||
@@ -293,7 +320,7 @@ QRadioButton::indicator:!checked {
|
|||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-radius:5px;
|
border-radius:5px;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-color: #04b97f;
|
border-color: rgba(204, 22, 0, 255);
|
||||||
color: #a9b7c6;
|
color: #a9b7c6;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
@@ -361,11 +388,11 @@ QScrollArea {
|
|||||||
}
|
}
|
||||||
QSlider::groove:horizontal {
|
QSlider::groove:horizontal {
|
||||||
height: 5px;
|
height: 5px;
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QSlider::groove:vertical {
|
QSlider::groove:vertical {
|
||||||
width: 5px;
|
width: 5px;
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QSlider::handle:horizontal {
|
QSlider::handle:horizontal {
|
||||||
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
background: qlineargradient(x1:0, y1:0, x2:1, y2:1, stop:0 #b4b4b4, stop:1 #8f8f8f);
|
||||||
@@ -388,8 +415,8 @@ QSlider::add-page:vertical {
|
|||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
QSlider::sub-page:horizontal {
|
QSlider::sub-page:horizontal {
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
QSlider::sub-page:vertical {
|
QSlider::sub-page:vertical {
|
||||||
background: #04b97f;
|
background: rgba(204, 22, 0, 255);
|
||||||
}
|
}
|
||||||
316
ui/aboutbox.ui
316
ui/aboutbox.ui
@@ -62,77 +62,194 @@
|
|||||||
<enum>QFrame::Raised</enum>
|
<enum>QFrame::Raised</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QPushButton" name="closeButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>30</x>
|
<x>665</x>
|
||||||
<y>150</y>
|
<y>0</y>
|
||||||
<width>551</width>
|
<width>41</width>
|
||||||
<height>21</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="font">
|
||||||
<string notr="true">font-size: 12px;</string>
|
<font>
|
||||||
|
<family>Segoe MDL2 Assets</family>
|
||||||
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Author: Alexis Delhaie</string>
|
<string></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="flat">
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>30</x>
|
|
||||||
<y>190</y>
|
|
||||||
<width>551</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Version: 1.0.0 (Beta 5)</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label_3">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>30</x>
|
|
||||||
<y>230</y>
|
|
||||||
<width>541</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p>Made with Qt 5.15.0 MSVC2019 64bit (C++17) (<a href="https://github.com/alexlegarnd/Chronos"><span style=" text-decoration: underline; color:#0000ff;">Source Github</span></a>)</p></body></html></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QTextEdit" name="textEdit">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>390</x>
|
|
||||||
<y>160</y>
|
|
||||||
<width>301</width>
|
|
||||||
<height>181</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="accessibleDescription">
|
|
||||||
<string notr="true"/>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="undoRedoEnabled">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="html">
|
</widget>
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<widget class="Line" name="window_border_left">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>381</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(204, 22, 0, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_right">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>705</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>381</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(217, 0, 112, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_bottom">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>379</y>
|
||||||
|
<width>707</width>
|
||||||
|
<height>2</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QTabWidget" name="tabWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>20</x>
|
||||||
|
<y>120</y>
|
||||||
|
<width>671</width>
|
||||||
|
<height>241</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="currentIndex">
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="tab">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Information</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QWidget" name="">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>714</width>
|
||||||
|
<height>211</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Author: Alexis Delhaie</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Version: 1.0.0 (Beta 5)</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><html><head/><body><p>Software: Qt 5.15.0 MSVC2019 64bit (C++17) (<a href="https://github.com/alexlegarnd/Chronos"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/alexlegarnd/Chronos</span></a>)</p></body></html></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_7">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><html><head/><body><p>Save Updater: Rust (<a href="https://github.com/alexlegarnd/chronos-save-updater"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/alexlegarnd/chronos-save-updater</span></a>)</p></body></html></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_5">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><html><head/><body><p>Installer: Delphi 10.3.3 Community (<a href="https://github.com/alexlegarnd/chronos-installer"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/alexlegarnd/chronos-installer</span></a>)</p></body></html></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_6">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string><html><head/><body><p>Installer Bootstrap: Python 3.8.5 [MSC v.1924 (AMD64)] (<a href="https://github.com/alexlegarnd/chronos-installer-bootstrap"><span style=" text-decoration: underline; color:#0000ff;">https://github.com/alexlegarnd/chronos-installer-bootstrap</span></a>)</p></body></html></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="tab_2">
|
||||||
|
<attribute name="title">
|
||||||
|
<string>Third party</string>
|
||||||
|
</attribute>
|
||||||
|
<widget class="QTextEdit" name="textEdit">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>8</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>651</width>
|
||||||
|
<height>191</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="accessibleDescription">
|
||||||
|
<string notr="true"/>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">font-size: 12px;</string>
|
||||||
|
</property>
|
||||||
|
<property name="undoRedoEnabled">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="html">
|
||||||
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:12px; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:12px; font-weight:400; font-style:normal;">
|
||||||
@@ -145,57 +262,34 @@ p, li { white-space: pre-wrap; }
|
|||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Running image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Running image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt; text-decoration: underline; color:#0000ff;"><br /></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt; text-decoration: underline; color:#0000ff;"><br /></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Calendar image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p></body></html></string>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:10pt;">Calendar image: Icons made by </span><a href="https://www.flaticon.com/authors/freepik"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Freepik</span></a><span style=" font-size:10pt;"> from </span><a href="https://www.flaticon.com/"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">www.flaticon.com</span></a></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_4">
|
</widget>
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>393</x>
|
|
||||||
<y>130</y>
|
|
||||||
<width>211</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Third party:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label_5">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>30</x>
|
|
||||||
<y>270</y>
|
|
||||||
<width>541</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p>Installer made with Delphi 10.3 Community (<a href="https://github.com/alexlegarnd/chronos-installer"><span style=" text-decoration: underline; color:#0000ff;">Source Github</span></a>)</p></body></html></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label_6">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>30</x>
|
|
||||||
<y>310</y>
|
|
||||||
<width>541</width>
|
|
||||||
<height>21</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">font-size: 12px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p>Installer Bootstrap made with Python 3 (<a href="https://github.com/alexlegarnd/chronos-installer-bootstrap"><span style=" text-decoration: underline; color:#0000ff;">Source Github</span></a>)</p></body></html></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
|
<zorder>tabWidget</zorder>
|
||||||
|
<zorder>window_border_left</zorder>
|
||||||
|
<zorder>window_border_right</zorder>
|
||||||
|
<zorder>window_border_bottom</zorder>
|
||||||
|
<zorder>frame</zorder>
|
||||||
|
<zorder>closeButton</zorder>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections/>
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>closeButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>AboutBox</receiver>
|
||||||
|
<slot>close()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>685</x>
|
||||||
|
<y>10</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>353</x>
|
||||||
|
<y>190</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
331
ui/mainwindow.ui
331
ui/mainwindow.ui
@@ -6,20 +6,20 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1206</width>
|
<width>946</width>
|
||||||
<height>662</height>
|
<height>573</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>1206</width>
|
<width>946</width>
|
||||||
<height>662</height>
|
<height>573</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>1206</width>
|
<width>946</width>
|
||||||
<height>662</height>
|
<height>573</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
@@ -41,8 +41,8 @@
|
|||||||
<widget class="Line" name="line">
|
<widget class="Line" name="line">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>192</x>
|
<x>165</x>
|
||||||
<y>41</y>
|
<y>29</y>
|
||||||
<width>20</width>
|
<width>20</width>
|
||||||
<height>81</height>
|
<height>81</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -54,8 +54,8 @@
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>236</x>
|
<x>209</x>
|
||||||
<y>51</y>
|
<y>39</y>
|
||||||
<width>151</width>
|
<width>151</width>
|
||||||
<height>61</height>
|
<height>61</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -116,8 +116,8 @@ color: white;</string>
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>13</x>
|
||||||
<y>51</y>
|
<y>39</y>
|
||||||
<width>161</width>
|
<width>161</width>
|
||||||
<height>61</height>
|
<height>61</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -175,90 +175,11 @@ color: white;</string>
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="layoutWidget">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>1022</x>
|
|
||||||
<y>45</y>
|
|
||||||
<width>153</width>
|
|
||||||
<height>61</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label">
|
|
||||||
<property name="font">
|
|
||||||
<font/>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Date :</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QDateEdit" name="dateEdit">
|
|
||||||
<property name="minimumSize">
|
|
||||||
<size>
|
|
||||||
<width>100</width>
|
|
||||||
<height>32</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>100</width>
|
|
||||||
<height>32</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="font">
|
|
||||||
<font/>
|
|
||||||
</property>
|
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">border: 1px solid white</string>
|
|
||||||
</property>
|
|
||||||
<property name="wrapping">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="frame">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="buttonSymbols">
|
|
||||||
<enum>QAbstractSpinBox::NoButtons</enum>
|
|
||||||
</property>
|
|
||||||
<property name="correctionMode">
|
|
||||||
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
|
||||||
</property>
|
|
||||||
<property name="calendarPopup">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QLabel" name="label_semaine">
|
|
||||||
<property name="font">
|
|
||||||
<font/>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Semaine : 0</string>
|
|
||||||
</property>
|
|
||||||
<property name="alignment">
|
|
||||||
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
<widget class="QWidget" name="layoutWidget_2">
|
<widget class="QWidget" name="layoutWidget_2">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>427</x>
|
<x>400</x>
|
||||||
<y>52</y>
|
<y>40</y>
|
||||||
<width>161</width>
|
<width>161</width>
|
||||||
<height>61</height>
|
<height>61</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -319,8 +240,8 @@ color: white;</string>
|
|||||||
<widget class="Line" name="line_2">
|
<widget class="Line" name="line_2">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>378</x>
|
<x>351</x>
|
||||||
<y>42</y>
|
<y>30</y>
|
||||||
<width>20</width>
|
<width>20</width>
|
||||||
<height>81</height>
|
<height>81</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -332,8 +253,8 @@ color: white;</string>
|
|||||||
<widget class="QPushButton" name="template_settings_button">
|
<widget class="QPushButton" name="template_settings_button">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>930</x>
|
<x>670</x>
|
||||||
<y>622</y>
|
<y>530</y>
|
||||||
<width>261</width>
|
<width>261</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -345,10 +266,10 @@ color: white;</string>
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>140</x>
|
<x>44</x>
|
||||||
<y>182</y>
|
<y>140</y>
|
||||||
<width>921</width>
|
<width>861</width>
|
||||||
<height>391</height>
|
<height>351</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
@@ -1616,21 +1537,21 @@ font-size: 22px;</string>
|
|||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>20</x>
|
<x>20</x>
|
||||||
<y>610</y>
|
<y>530</y>
|
||||||
<width>44</width>
|
<width>24</width>
|
||||||
<height>44</height>
|
<height>24</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>44</width>
|
<width>24</width>
|
||||||
<height>44</height>
|
<height>24</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>44</width>
|
<width>24</width>
|
||||||
<height>44</height>
|
<height>24</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="autoFillBackground">
|
<property name="autoFillBackground">
|
||||||
@@ -1646,38 +1567,108 @@ font-size: 22px;</string>
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="window_title">
|
<widget class="QFrame" name="titleBar">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>10</x>
|
<x>0</x>
|
||||||
<y>-1</y>
|
<y>0</y>
|
||||||
<width>1081</width>
|
<width>946</width>
|
||||||
<height>41</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="styleSheet">
|
||||||
<string>TextLabel</string>
|
<string notr="true">background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" name="window_title">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>-1</y>
|
||||||
|
<width>121</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(255, 255, 255);
|
||||||
|
font-size: 11px;
|
||||||
|
background: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>TextLabel</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_left">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>573</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(204, 22, 0, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_right">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>944</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>573</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(217, 0, 112, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_bottom">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>571</y>
|
||||||
|
<width>946</width>
|
||||||
|
<height>2</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QPushButton" name="closeButton">
|
<widget class="QPushButton" name="closeButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>1156</x>
|
<x>904</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>51</width>
|
<width>41</width>
|
||||||
<height>31</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>Segoe MDL2 Assets</family>
|
<family>Segoe MDL2 Assets</family>
|
||||||
<pointsize>-1</pointsize>
|
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
|
||||||
<string notr="true">border: none;
|
|
||||||
font-size: 14px;</string>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string></string>
|
<string></string>
|
||||||
</property>
|
</property>
|
||||||
@@ -1688,21 +1679,19 @@ font-size: 14px;</string>
|
|||||||
<widget class="QPushButton" name="minimizeButton">
|
<widget class="QPushButton" name="minimizeButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>1101</x>
|
<x>862</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>51</width>
|
<width>41</width>
|
||||||
<height>31</height>
|
<height>21</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="font">
|
<property name="font">
|
||||||
<font>
|
<font>
|
||||||
<family>Segoe MDL2 Assets</family>
|
<family>Segoe MDL2 Assets</family>
|
||||||
<pointsize>-1</pointsize>
|
|
||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="styleSheet">
|
<property name="styleSheet">
|
||||||
<string notr="true">border: none;
|
<string notr="true"/>
|
||||||
font-size: 14px;</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string></string>
|
<string></string>
|
||||||
@@ -1711,6 +1700,90 @@ font-size: 14px;</string>
|
|||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QWidget" name="">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>790</x>
|
||||||
|
<y>40</y>
|
||||||
|
<width>111</width>
|
||||||
|
<height>54</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<item>
|
||||||
|
<widget class="QDateEdit" name="dateEdit">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>32</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>100</width>
|
||||||
|
<height>32</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font/>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="wrapping">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="frame">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
<property name="readOnly">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="buttonSymbols">
|
||||||
|
<enum>QAbstractSpinBox::NoButtons</enum>
|
||||||
|
</property>
|
||||||
|
<property name="correctionMode">
|
||||||
|
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
|
||||||
|
</property>
|
||||||
|
<property name="calendarPopup">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_semaine">
|
||||||
|
<property name="font">
|
||||||
|
<font/>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Semaine : 0</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<zorder>titleBar</zorder>
|
||||||
|
<zorder>line</zorder>
|
||||||
|
<zorder>layoutWidget</zorder>
|
||||||
|
<zorder>layoutWidget</zorder>
|
||||||
|
<zorder>layoutWidget_2</zorder>
|
||||||
|
<zorder>line_2</zorder>
|
||||||
|
<zorder>template_settings_button</zorder>
|
||||||
|
<zorder>layoutWidget</zorder>
|
||||||
|
<zorder>aboutButton</zorder>
|
||||||
|
<zorder>window_border_left</zorder>
|
||||||
|
<zorder>window_border_right</zorder>
|
||||||
|
<zorder>window_border_bottom</zorder>
|
||||||
|
<zorder>closeButton</zorder>
|
||||||
|
<zorder>minimizeButton</zorder>
|
||||||
|
<zorder>dateEdit</zorder>
|
||||||
|
<zorder>label_semaine</zorder>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
|||||||
@@ -10,19 +10,19 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>419</width>
|
<width>419</width>
|
||||||
<height>177</height>
|
<height>192</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="minimumSize">
|
<property name="minimumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>419</width>
|
<width>419</width>
|
||||||
<height>177</height>
|
<height>192</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>419</width>
|
<width>419</width>
|
||||||
<height>177</height>
|
<height>192</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@@ -34,8 +34,8 @@
|
|||||||
<widget class="QPushButton" name="pushButton">
|
<widget class="QPushButton" name="pushButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>214</x>
|
<x>210</x>
|
||||||
<y>110</y>
|
<y>130</y>
|
||||||
<width>181</width>
|
<width>181</width>
|
||||||
<height>23</height>
|
<height>23</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -50,8 +50,8 @@
|
|||||||
<widget class="QTimeEdit" name="start_edit">
|
<widget class="QTimeEdit" name="start_edit">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>36</x>
|
||||||
<y>49</y>
|
<y>69</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -73,8 +73,8 @@
|
|||||||
<widget class="QTimeEdit" name="end_edit">
|
<widget class="QTimeEdit" name="end_edit">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>300</x>
|
<x>296</x>
|
||||||
<y>49</y>
|
<y>69</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -96,8 +96,8 @@
|
|||||||
<widget class="QDoubleSpinBox" name="break_edit">
|
<widget class="QDoubleSpinBox" name="break_edit">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>170</x>
|
<x>166</x>
|
||||||
<y>49</y>
|
<y>69</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -115,8 +115,8 @@
|
|||||||
<widget class="QLabel" name="label">
|
<widget class="QLabel" name="label">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>36</x>
|
||||||
<y>9</y>
|
<y>29</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -131,8 +131,8 @@
|
|||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>170</x>
|
<x>166</x>
|
||||||
<y>9</y>
|
<y>29</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -147,8 +147,8 @@
|
|||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>300</x>
|
<x>296</x>
|
||||||
<y>9</y>
|
<y>29</y>
|
||||||
<width>91</width>
|
<width>91</width>
|
||||||
<height>31</height>
|
<height>31</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -163,9 +163,9 @@
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>40</x>
|
<x>36</x>
|
||||||
<y>103</y>
|
<y>123</y>
|
||||||
<width>141</width>
|
<width>143</width>
|
||||||
<height>61</height>
|
<height>61</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@@ -225,8 +225,8 @@ color: white;</string>
|
|||||||
<widget class="QPushButton" name="validateButton">
|
<widget class="QPushButton" name="validateButton">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>214</x>
|
<x>210</x>
|
||||||
<y>140</y>
|
<y>160</y>
|
||||||
<width>181</width>
|
<width>181</width>
|
||||||
<height>23</height>
|
<height>23</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -238,6 +238,115 @@ color: white;</string>
|
|||||||
<string>Définir l'horaire comme valide</string>
|
<string>Définir l'horaire comme valide</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QFrame" name="titleBar">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>419</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" name="window_title">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>-1</y>
|
||||||
|
<width>281</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(255, 255, 255);
|
||||||
|
font-size: 11px;
|
||||||
|
background: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>TextLabel</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="closeButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>377</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>41</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>Segoe MDL2 Assets</family>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_left">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>192</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(204, 22, 0, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_bottom">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>190</y>
|
||||||
|
<width>419</width>
|
||||||
|
<height>2</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_right">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>417</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>192</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(217, 0, 112, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections>
|
<connections>
|
||||||
@@ -257,5 +366,21 @@ color: white;</string>
|
|||||||
</hint>
|
</hint>
|
||||||
</hints>
|
</hints>
|
||||||
</connection>
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>closeButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>SetDayDialog</receiver>
|
||||||
|
<slot>close()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>397</x>
|
||||||
|
<y>10</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>209</x>
|
||||||
|
<y>95</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
</connections>
|
</connections>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
133
ui/welcome.ui
133
ui/welcome.ui
@@ -42,8 +42,8 @@
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>30</x>
|
<x>25</x>
|
||||||
<y>20</y>
|
<y>37</y>
|
||||||
<width>261</width>
|
<width>261</width>
|
||||||
<height>201</height>
|
<height>201</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -304,8 +304,8 @@
|
|||||||
<widget class="QWidget" name="layoutWidget">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>300</x>
|
<x>295</x>
|
||||||
<y>60</y>
|
<y>77</y>
|
||||||
<width>201</width>
|
<width>201</width>
|
||||||
<height>103</height>
|
<height>103</height>
|
||||||
</rect>
|
</rect>
|
||||||
@@ -347,6 +347,115 @@ color: white;</string>
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QFrame" name="titleBar">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>516</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="frameShape">
|
||||||
|
<enum>QFrame::StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property name="frameShadow">
|
||||||
|
<enum>QFrame::Raised</enum>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" name="window_title">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>-1</y>
|
||||||
|
<width>371</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">color: rgb(255, 255, 255);
|
||||||
|
font-size: 11px;
|
||||||
|
background: none;</string>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>TextLabel</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_right">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>514</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>276</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(217, 0, 112, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_left">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>2</width>
|
||||||
|
<height>276</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: rgba(204, 22, 0, 255);</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="Line" name="window_border_bottom">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>274</y>
|
||||||
|
<width>516</width>
|
||||||
|
<height>2</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">border: none;
|
||||||
|
background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgba(204, 22, 0, 255), stop:1 rgba(217, 0, 112, 255));</string>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="closeButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>473</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>41</width>
|
||||||
|
<height>21</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<family>Segoe MDL2 Assets</family>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string></string>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections>
|
<connections>
|
||||||
@@ -366,5 +475,21 @@ color: white;</string>
|
|||||||
</hint>
|
</hint>
|
||||||
</hints>
|
</hints>
|
||||||
</connection>
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>closeButton</sender>
|
||||||
|
<signal>clicked()</signal>
|
||||||
|
<receiver>Welcome</receiver>
|
||||||
|
<slot>close()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>493</x>
|
||||||
|
<y>10</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>257</x>
|
||||||
|
<y>137</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
</connections>
|
</connections>
|
||||||
</ui>
|
</ui>
|
||||||
|
|||||||
Reference in New Issue
Block a user