Version 2 // Add detailled breaks

This commit is contained in:
Aurélie Delhaie
2021-10-18 22:46:59 +02:00
parent 102f720d29
commit b07b7b69eb
26 changed files with 1117 additions and 808 deletions

BIN
ui/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -71,13 +71,8 @@
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Segoe MDL2 Assets</family>
</font>
</property>
<property name="text">
<string></string>
<string>X</string>
</property>
<property name="flat">
<bool>true</bool>
@@ -150,7 +145,7 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
<attribute name="title">
<string>Information</string>
</attribute>
<widget class="QWidget" name="">
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
@@ -166,7 +161,7 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
<string notr="true">font-size: 12px;</string>
</property>
<property name="text">
<string>Author: Alexis Delhaie</string>
<string>Author: Aurélie Delhaie</string>
</property>
</widget>
</item>
@@ -176,7 +171,7 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
<string notr="true">font-size: 12px;</string>
</property>
<property name="text">
<string>Version: 1.0.0 (Beta 5)</string>
<string>Version: 2.0.0</string>
</property>
</widget>
</item>
@@ -186,7 +181,7 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
<string notr="true">font-size: 12px;</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Software: Qt 5.15.0 MSVC2019 64bit (C++17) (&lt;a href=&quot;https://github.com/alexlegarnd/Chronos&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://github.com/alexlegarnd/Chronos&lt;/span&gt;&lt;/a&gt;)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Made with Qt&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
@@ -196,27 +191,7 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
<string notr="true">font-size: 12px;</string>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Save Updater: Rust (&lt;a href=&quot;https://github.com/alexlegarnd/chronos-save-updater&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://github.com/alexlegarnd/chronos-save-updater&lt;/span&gt;&lt;/a&gt;)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Installer: Delphi 10.3.3 Community (&lt;a href=&quot;https://github.com/alexlegarnd/chronos-installer&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://github.com/alexlegarnd/chronos-installer&lt;/span&gt;&lt;/a&gt;)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Installer Bootstrap: Python 3.8.5 [MSC v.1924 (AMD64)] (&lt;a href=&quot;https://github.com/alexlegarnd/chronos-installer-bootstrap&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;https://github.com/alexlegarnd/chronos-installer-bootstrap&lt;/span&gt;&lt;/a&gt;)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Save Updater: Rust (&lt;a href=&quot;https://github.com/mojitaurelie/chronos-save-updater&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0068da;&quot;&gt;https://github.com/mojitaurelie/chronos-save-updater&lt;/span&gt;&lt;/a&gt;)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
@@ -252,16 +227,16 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:12px; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Application icon: Alexis Delhaie (me)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;About box banner: Alexis Delhaie (me)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Clock image: iconsdb, Iconic (MIT License)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Running image: Icons made by &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/authors/freepik&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;Freepik&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt; from &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;www.flaticon.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-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;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Calendar image: Icons made by &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/authors/freepik&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;Freepik&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt; from &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;www.flaticon.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'.AppleSystemUIFont'; font-size:12px; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;Application icon: Alexis Delhaie (me)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;About box banner: Alexis Delhaie (me)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;Clock image: iconsdb, Iconic (MIT License)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;Running image: Icons made by &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/authors/freepik&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;Freepik&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt; from &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;www.flaticon.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt;Calendar image: Icons made by &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/authors/freepik&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;Freepik&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt;&quot;&gt; from &lt;/span&gt;&lt;a href=&quot;https://www.flaticon.com/&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;www.flaticon.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>

208
ui/breakdialog.ui Normal file
View File

@@ -0,0 +1,208 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>BreakDialog</class>
<widget class="QDialog" name="BreakDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>319</width>
<height>187</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>319</width>
<height>187</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>319</width>
<height>187</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QPushButton" name="validateButton">
<property name="geometry">
<rect>
<x>190</x>
<y>128</y>
<width>113</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Ajouter</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QTimeEdit" name="startTime">
<property name="geometry">
<rect>
<x>180</x>
<y>16</y>
<width>118</width>
<height>31</height>
</rect>
</property>
<property name="frame">
<bool>true</bool>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
</widget>
<widget class="QTimeEdit" name="endTime">
<property name="geometry">
<rect>
<x>180</x>
<y>66</y>
<width>118</width>
<height>31</height>
</rect>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>31</x>
<y>21</y>
<width>141</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Début de la pause</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>31</x>
<y>70</y>
<width>141</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Fin de la pause</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>20</x>
<y>127</y>
<width>60</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>10</pointsize>
</font>
</property>
<property name="text">
<string>Temps</string>
</property>
</widget>
<widget class="QLabel" name="totalTime">
<property name="geometry">
<rect>
<x>22</x>
<y>143</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>24</pointsize>
</font>
</property>
<property name="text">
<string>0 minutes</string>
</property>
</widget>
<widget class="QPushButton" name="cancelButton">
<property name="geometry">
<rect>
<x>190</x>
<y>156</y>
<width>113</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Annuler</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>validateButton</sender>
<signal>clicked()</signal>
<receiver>BreakDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>246</x>
<y>160</y>
</hint>
<hint type="destinationlabel">
<x>159</x>
<y>93</y>
</hint>
</hints>
</connection>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>BreakDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>246</x>
<y>166</y>
</hint>
<hint type="destinationlabel">
<x>159</x>
<y>93</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@@ -41,8 +41,8 @@
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>165</x>
<y>29</y>
<x>190</x>
<y>9</y>
<width>20</width>
<height>81</height>
</rect>
@@ -55,9 +55,9 @@
<property name="geometry">
<rect>
<x>209</x>
<y>39</y>
<y>19</y>
<width>151</width>
<height>61</height>
<height>62</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
@@ -117,9 +117,9 @@ color: white;</string>
<property name="geometry">
<rect>
<x>13</x>
<y>39</y>
<y>19</y>
<width>161</width>
<height>61</height>
<height>62</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
@@ -179,9 +179,9 @@ color: white;</string>
<property name="geometry">
<rect>
<x>400</x>
<y>40</y>
<y>20</y>
<width>161</width>
<height>61</height>
<height>62</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
@@ -240,8 +240,8 @@ color: white;</string>
<widget class="Line" name="line_2">
<property name="geometry">
<rect>
<x>351</x>
<y>30</y>
<x>380</x>
<y>10</y>
<width>20</width>
<height>81</height>
</rect>
@@ -267,9 +267,9 @@ color: white;</string>
<property name="geometry">
<rect>
<x>44</x>
<y>140</y>
<y>120</y>
<width>861</width>
<height>351</height>
<height>388</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
@@ -1536,7 +1536,7 @@ font-size: 22px;</string>
<widget class="QPushButton" name="aboutButton">
<property name="geometry">
<rect>
<x>20</x>
<x>30</x>
<y>530</y>
<width>24</width>
<height>24</height>
@@ -1567,146 +1567,13 @@ font-size: 22px;</string>
<bool>true</bool>
</property>
</widget>
<widget class="QFrame" name="titleBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>946</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>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>
</widget>
<widget class="QPushButton" name="closeButton">
<property name="geometry">
<rect>
<x>904</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="QPushButton" name="minimizeButton">
<property name="geometry">
<rect>
<x>862</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="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string></string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="QWidget" name="">
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>790</x>
<y>40</y>
<y>20</y>
<width>111</width>
<height>54</height>
<height>60</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
@@ -1768,7 +1635,20 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
</item>
</layout>
</widget>
<zorder>titleBar</zorder>
<widget class="Line" name="line_27">
<property name="geometry">
<rect>
<x>0</x>
<y>100</y>
<width>951</width>
<height>16</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<zorder>layoutWidget</zorder>
<zorder>line</zorder>
<zorder>layoutWidget</zorder>
<zorder>layoutWidget</zorder>
@@ -1777,48 +1657,9 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
<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>
<zorder>line_27</zorder>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>closeButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
<x>1186</x>
<y>10</y>
</hint>
<hint type="destinationlabel">
<x>602</x>
<y>330</y>
</hint>
</hints>
</connection>
<connection>
<sender>minimizeButton</sender>
<signal>clicked()</signal>
<receiver>MainWindow</receiver>
<slot>showMinimized()</slot>
<hints>
<hint type="sourcelabel">
<x>1126</x>
<y>15</y>
</hint>
<hint type="destinationlabel">
<x>602</x>
<y>330</y>
</hint>
</hints>
</connection>
</connections>
<connections/>
</ui>

View File

@@ -10,19 +10,19 @@
<x>0</x>
<y>0</y>
<width>419</width>
<height>192</height>
<height>447</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>419</width>
<height>192</height>
<height>447</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>419</width>
<height>192</height>
<height>447</height>
</size>
</property>
<property name="windowTitle">
@@ -34,9 +34,9 @@
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>210</x>
<y>130</y>
<width>181</width>
<x>200</x>
<y>373</y>
<width>201</width>
<height>23</height>
</rect>
</property>
@@ -44,15 +44,21 @@
<string notr="true">font-size: 12px</string>
</property>
<property name="text">
<string>Enregistrer la modification</string>
<string>Valider</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QTimeEdit" name="start_edit">
<property name="geometry">
<rect>
<x>36</x>
<y>69</y>
<width>91</width>
<x>210</x>
<y>16</y>
<width>191</width>
<height>31</height>
</rect>
</property>
@@ -62,6 +68,9 @@
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
<property name="time">
<time>
<hour>9</hour>
@@ -73,9 +82,9 @@
<widget class="QTimeEdit" name="end_edit">
<property name="geometry">
<rect>
<x>296</x>
<y>69</y>
<width>91</width>
<x>210</x>
<y>310</y>
<width>191</width>
<height>31</height>
</rect>
</property>
@@ -85,6 +94,9 @@
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="correctionMode">
<enum>QAbstractSpinBox::CorrectToNearestValue</enum>
</property>
<property name="time">
<time>
<hour>17</hour>
@@ -93,80 +105,45 @@
</time>
</property>
</widget>
<widget class="QDoubleSpinBox" name="break_edit">
<property name="geometry">
<rect>
<x>166</x>
<y>69</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="value">
<double>0.450000000000000</double>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>36</x>
<y>29</y>
<width>91</width>
<x>10</x>
<y>16</y>
<width>181</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Arrivé</string>
<string>Arrivée au bureau</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>166</x>
<y>29</y>
<width>91</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Pause</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>296</x>
<y>29</y>
<width>91</width>
<x>10</x>
<y>310</y>
<width>181</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Départ</string>
<string>Fin de journée</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>36</x>
<y>123</y>
<width>143</width>
<height>61</height>
<x>18</x>
<y>372</y>
<width>156</width>
<height>62</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
@@ -225,9 +202,9 @@ color: white;</string>
<widget class="QPushButton" name="validateButton">
<property name="geometry">
<rect>
<x>210</x>
<y>160</y>
<width>181</width>
<x>200</x>
<y>403</y>
<width>201</width>
<height>23</height>
</rect>
</property>
@@ -235,116 +212,106 @@ color: white;</string>
<string notr="true">font-size: 12px</string>
</property>
<property name="text">
<string>Définir l'horaire comme valide</string>
<string>Approuver</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QFrame" name="titleBar">
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>419</width>
<height>21</height>
<x>10</x>
<y>150</y>
<width>181</width>
<height>31</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 name="text">
<string>Pause</string>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</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">
<widget class="QPushButton" name="addBreakButton">
<property name="geometry">
<rect>
<x>377</x>
<y>0</y>
<x>360</x>
<y>270</y>
<width>41</width>
<height>21</height>
</rect>
</property>
<property name="font">
<font>
<family>Segoe MDL2 Assets</family>
</font>
<property name="text">
<string>+</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="QPushButton" name="removeBreakButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>320</x>
<y>270</y>
<width>41</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string></string>
<string>-</string>
</property>
<property name="flat">
<bool>true</bool>
<property name="autoDefault">
<bool>false</bool>
</property>
</widget>
<widget class="Line" name="window_border_left">
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>2</width>
<height>192</height>
<y>350</y>
<width>421</width>
<height>20</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">
<widget class="QListWidget" name="breakList">
<property name="geometry">
<rect>
<x>417</x>
<y>0</y>
<width>2</width>
<height>192</height>
<x>210</x>
<y>60</y>
<width>191</width>
<height>201</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">border: none;
background-color: rgba(217, 0, 112, 255);</string>
<string notr="true">background-color: rgba(0, 0, 0, 0);
color: rgb(255, 255, 255);</string>
</property>
<property name="orientation">
<enum>Qt::Vertical</enum>
<property name="frameShape">
<enum>QFrame::Panel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<property name="autoScroll">
<bool>false</bool>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="defaultDropAction">
<enum>Qt::IgnoreAction</enum>
</property>
</widget>
</widget>
@@ -366,21 +333,5 @@ background-color: rgba(217, 0, 112, 255);</string>
</hint>
</hints>
</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>
</ui>

View File

@@ -45,7 +45,7 @@
<x>25</x>
<y>37</y>
<width>261</width>
<height>201</height>
<height>202</height>
</rect>
</property>
<property name="font">
@@ -347,115 +347,6 @@ color: white;</string>
</item>
</layout>
</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>
<resources/>
<connections>
@@ -475,21 +366,5 @@ background-color: qlineargradient(spread:pad, x1:0, y1:1, x2:1, y2:1, stop:0 rgb
</hint>
</hints>
</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>
</ui>