qbreak/app/settingsdialog.ui
2022-05-04 21:20:58 +03:00

191 lines
4.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SettingsDialog</class>
<widget class="QDialog" name="SettingsDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>800</width>
<height>359</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>746</width>
<height>220</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>800</width>
<height>400</height>
</size>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<property name="modal">
<bool>false</bool>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<layout class="QFormLayout" name="formLayout">
<property name="leftMargin">
<number>8</number>
</property>
<property name="topMargin">
<number>8</number>
</property>
<property name="rightMargin">
<number>8</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Autostart</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="mAutostartCheckbox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Window on top</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="mWindowOnTopCheckbox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Break interval (minutes)</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="mBreakIntervalEdit"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Break duration (minutes)</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="mBreakDurationEdit"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Postpone time (minutes)</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QLineEdit" name="mPostponeTimeEdit"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Preferred monitor</string>
</property>
</widget>
</item>
<item row="6" column="1">
<widget class="QComboBox" name="mPreferredMonitorCombobox"/>
</item>
<item row="8" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Audio to play when break finish</string>
</property>
</widget>
</item>
<item row="8" column="1">
<widget class="QComboBox" name="mAudioComboBox">
<property name="editable">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Command to run when break finish</string>
</property>
</widget>
</item>
<item row="9" column="1">
<widget class="QLineEdit" name="mScriptEdit"/>
</item>
</layout>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>SettingsDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>SettingsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>