author | umopapisdn <umopapisdn> | 2003-03-25 23:44:32 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2003-03-25 23:44:32 (UTC) |
commit | c98faafefdf2e9b9e16dcf2b1d57525f38282296 (patch) (side-by-side diff) | |
tree | 75a6bc72f13ee81b86c368517aba3496b2c7e800 /core/pim/datebook/datebookweekheader.ui | |
parent | aca404f0c049c5b1bace7e842e7e64b987f04616 (diff) | |
download | opie-c98faafefdf2e9b9e16dcf2b1d57525f38282296.zip opie-c98faafefdf2e9b9e16dcf2b1d57525f38282296.tar.gz opie-c98faafefdf2e9b9e16dcf2b1d57525f38282296.tar.bz2 |
Revamped the userinterface of the header for weekview to look more like the other views.
Diffstat (limited to 'core/pim/datebook/datebookweekheader.ui') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookweekheader.ui | 198 |
1 files changed, 185 insertions, 13 deletions
diff --git a/core/pim/datebook/datebookweekheader.ui b/core/pim/datebook/datebookweekheader.ui index f7b20f8..591b625 100644 --- a/core/pim/datebook/datebookweekheader.ui +++ b/core/pim/datebook/datebookweekheader.ui @@ -32,4 +32,4 @@ <y>0</y> - <width>281</width> - <height>30</height> + <width>249</width> + <height>26</height> </rect> @@ -49,5 +49,75 @@ <name>spacing</name> - <number>6</number> + <number>0</number> </property> <widget> + <class>QToolButton</class> + <property stdset="1"> + <name>name</name> + <cstring>backmonth</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string></string> + </property> + <property stdset="1"> + <name>pixmap</name> + <pixmap></pixmap> + </property> + <property stdset="1"> + <name>toggleButton</name> + <bool>false</bool> + </property> + <property stdset="1"> + <name>autoRepeat</name> + <bool>true</bool> + </property> + <property stdset="1"> + <name>autoRaise</name> + <bool>true</bool> + </property> + <property stdset="1"> + <name>toggleButton</name> + <bool>false</bool> + </property> + <property> + <name>toolTip</name> + <string></string> + </property> + </widget> + <widget> + <class>QToolButton</class> + <property stdset="1"> + <name>name</name> + <cstring>backweek</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string></string> + </property> + <property stdset="1"> + <name>pixmap</name> + <pixmap></pixmap> + </property> + <property stdset="1"> + <name>toggleButton</name> + <bool>false</bool> + </property> + <property stdset="1"> + <name>autoRepeat</name> + <bool>true</bool> + </property> + <property stdset="1"> + <name>autoRaise</name> + <bool>true</bool> + </property> + <property stdset="1"> + <name>toggleButton</name> + <bool>false</bool> + </property> + <property> + <name>toolTip</name> + <string></string> + </property> + </widget> + <widget> <class>QSpinBox</class> @@ -111,4 +181,25 @@ </widget> + <spacer> + <property> + <name>name</name> + <cstring>Spacer1_1</cstring> + </property> + <property stdset="1"> + <name>orientation</name> + <enum>Horizontal</enum> + </property> + <property stdset="1"> + <name>sizeType</name> + <enum>Expanding</enum> + </property> + <property> + <name>sizeHint</name> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> <widget> - <class>QLabel</class> + <class>QToolButton</class> <property stdset="1"> @@ -134,8 +225,68 @@ </property> + </widget> + <spacer> + <property> + <name>name</name> + <cstring>Spacer1_2</cstring> + </property> + <property stdset="1"> + <name>orientation</name> + <enum>Horizontal</enum> + </property> <property stdset="1"> - <name>alignment</name> - <set>AlignCenter</set> + <name>sizeType</name> + <enum>Expanding</enum> </property> <property> - <name>hAlign</name> + <name>sizeHint</name> + <size> + <width>20</width> + <height>20</height> + </size> + </property> + </spacer> + <widget> + <class>QToolButton</class> + <property stdset="1"> + <name>name</name> + <cstring>forwardweek</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string></string> + </property> + <property stdset="1"> + <name>pixmap</name> + <pixmap></pixmap> + </property> + <property stdset="1"> + <name>autoRepeat</name> + <bool>true</bool> + </property> + <property stdset="1"> + <name>autoRaise</name> + <bool>true</bool> + </property> + </widget> + <widget> + <class>QToolButton</class> + <property stdset="1"> + <name>name</name> + <cstring>forwardmonth</cstring> + </property> + <property stdset="1"> + <name>text</name> + <string></string> + </property> + <property stdset="1"> + <name>pixmap</name> + <pixmap></pixmap> + </property> + <property stdset="1"> + <name>autoRepeat</name> + <bool>true</bool> + </property> + <property stdset="1"> + <name>autoRaise</name> + <bool>true</bool> </property> @@ -146,12 +297,30 @@ <connection> - <sender>spinYear</sender> - <signal>valueChanged(int)</signal> + <sender>backmonth</sender> + <signal>clicked()</signal> + <receiver>DateBookWeekHeaderBase</receiver> + <slot>prevMonth()</slot> + </connection> + <connection> + <sender>backweek</sender> + <signal>clicked()</signal> + <receiver>DateBookWeekHeaderBase</receiver> + <slot>prevWeek()</slot> + </connection> + <connection> + <sender>forwardweek</sender> + <signal>clicked()</signal> + <receiver>DateBookWeekHeaderBase</receiver> + <slot>nextWeek()</slot> + </connection> + <connection> + <sender>forwardmonth</sender> + <signal>clicked()</signal> <receiver>DateBookWeekHeaderBase</receiver> - <slot>yearChanged( int )</slot> + <slot>nextMonth()</slot> </connection> <connection> - <sender>spinWeek</sender> - <signal>valueChanged(int)</signal> + <sender>labelDate</sender> + <signal>clicked()</signal> <receiver>DateBookWeekHeaderBase</receiver> - <slot>weekChanged( int )</slot> + <slot>pickDate()</slot> </connection> @@ -161,2 +330,5 @@ <slot access="public">weekChanged( int )</slot> + <slot access="public">nextMonth()</slot> + <slot access="public">prevMonth()</slot> + <slot access="public">pickDate()</slot> </connections> |