Files
Chronos/ui/breakdialog.ui
2021-10-18 22:46:59 +02:00

209 lines
4.5 KiB
XML

<?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>