Diffstat (limited to 'noncore/tools/clock/clockbase.ui') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/clock/clockbase.ui | 111 |
1 files changed, 106 insertions, 5 deletions
diff --git a/noncore/tools/clock/clockbase.ui b/noncore/tools/clock/clockbase.ui index 91d0da0..0e1a90e 100644 --- a/noncore/tools/clock/clockbase.ui +++ b/noncore/tools/clock/clockbase.ui @@ -12,6 +12,6 @@ <x>0</x> <y>0</y> - <width>220</width> - <height>337</height> + <width>287</width> + <height>389</height> </rect> </property> @@ -517,9 +517,9 @@ <property stdset="1"> <name>margin</name> - <number>6</number> + <number>-1</number> </property> <property stdset="1"> <name>spacing</name> - <number>4</number> + <number>-1</number> </property> <widget> @@ -871,8 +871,75 @@ </grid> </widget> + <widget> + <class>QGroupBox</class> + <property stdset="1"> + <name>name</name> + <cstring>sndGroup</cstring> + </property> + <property stdset="1"> + <name>title</name> + <string>Play Sound</string> + </property> + <vbox> + <property stdset="1"> + <name>margin</name> + <number>11</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>6</number> + </property> + <widget> + <class>QCheckBox</class> + <property stdset="1"> + <name>name</name> + <cstring>sndCheck</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>Play File</string> + </property> + </widget> + <widget> + <class>QLayoutWidget</class> + <property stdset="1"> + <name>name</name> + <cstring>Layout6</cstring> + </property> + <hbox> + <property stdset="1"> + <name>margin</name> + <number>0</number> + </property> + <property stdset="1"> + <name>spacing</name> + <number>6</number> + </property> + <widget> + <class>QLineEdit</class> + <property stdset="1"> + <name>name</name> + <cstring>sndFileName</cstring> + </property> + </widget> + <widget> + <class>QToolButton</class> + <property stdset="1"> + <name>name</name> + <cstring>sndChoose</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string>...</string> + </property> + </widget> + </hbox> + </widget> + </vbox> + </widget> <spacer> <property> <name>name</name> - <cstring>Spacer1</cstring> + <cstring>Spacer3</cstring> </property> <property stdset="1"> @@ -919,3 +986,37 @@ </image> </images> +<connections> + <connection> + <sender>dailyEnabled</sender> + <signal>toggled(bool)</signal> + <receiver>sndGroup</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>sndCheck</sender> + <signal>toggled(bool)</signal> + <receiver>sndFileName</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>sndCheck</sender> + <signal>toggled(bool)</signal> + <receiver>sndChoose</receiver> + <slot>setEnabled(bool)</slot> + </connection> + <connection> + <sender>sndChoose</sender> + <signal>clicked()</signal> + <receiver>ClockBase</receiver> + <slot>slotBrowseMp3File()</slot> + </connection> + <connection> + <sender>sndCheck</sender> + <signal>stateChanged(int)</signal> + <receiver>ClockBase</receiver> + <slot>scheduleApplyDailyAlarm()</slot> + </connection> + <slot access="public">scheduleApplyDailyAlarm()</slot> + <slot access="protected">slotBrowseMp3File()</slot> +</connections> </UI> |