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 @@ -8,14 +8,14 @@ </property> <property stdset="1"> <name>geometry</name> <rect> <x>0</x> <y>0</y> - <width>220</width> - <height>337</height> + <width>287</width> + <height>389</height> </rect> </property> <property stdset="1"> <name>caption</name> <string>Clock</string> </property> @@ -513,17 +513,17 @@ <name>title</name> <string>Alarm</string> </attribute> <vbox> <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> <class>QGroupBox</class> <property stdset="1"> <name>name</name> <cstring>dailyGroup</cstring> @@ -867,16 +867,83 @@ <name>segmentStyle</name> <enum>Flat</enum> </property> </widget> </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"> <name>orientation</name> <enum>Vertical</enum> </property> <property stdset="1"> @@ -915,7 +982,41 @@ <images> <image> <name>image0</name> <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data> </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> |