source: src/gui/daynavigatorwidget.ui @ a6f4f3d

qt5
Last change on this file since a6f4f3d was a6f4f3d, checked in by gregor herrmann <gregoa@…>, 11 years ago

Add today button to date navigator.
TODO: date is not centered between prev/next arrows anymore.

Cf. #29

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>DayNavigatorWidget</class>
4 <widget class="QWidget" name="DayNavigatorWidget">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>52</width>
10    <height>198</height>
11   </rect>
12  </property>
13  <property name="sizePolicy">
14   <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
15    <horstretch>0</horstretch>
16    <verstretch>0</verstretch>
17   </sizepolicy>
18  </property>
19  <property name="windowTitle">
20   <string>Form</string>
21  </property>
22  <property name="layoutDirection">
23   <enum>Qt::LeftToRight</enum>
24  </property>
25  <layout class="QGridLayout" name="gridLayout">
26   <item row="1" column="0">
27    <layout class="QVBoxLayout" name="verticalLayout">
28     <item>
29      <widget class="QToolButton" name="nextDayButton">
30       <property name="text">
31        <string>...</string>
32       </property>
33       <property name="autoRaise">
34        <bool>true</bool>
35       </property>
36       <property name="arrowType">
37        <enum>Qt::UpArrow</enum>
38       </property>
39      </widget>
40     </item>
41     <item>
42      <widget class="QWidget" name="selectedDate" native="true">
43       <property name="sizePolicy">
44        <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
45         <horstretch>0</horstretch>
46         <verstretch>0</verstretch>
47        </sizepolicy>
48       </property>
49      </widget>
50     </item>
51     <item>
52      <widget class="QToolButton" name="prevDayButton">
53       <property name="text">
54        <string>...</string>
55       </property>
56       <property name="autoRaise">
57        <bool>true</bool>
58       </property>
59       <property name="arrowType">
60        <enum>Qt::DownArrow</enum>
61       </property>
62      </widget>
63     </item>
64     <item>
65      <widget class="QToolButton" name="todayButton">
66       <property name="text">
67        <string>...</string>
68       </property>
69       <property name="icon">
70        <iconset resource="../icons.qrc">
71         <normaloff>:/icons/today.png</normaloff>:/icons/today.png</iconset>
72       </property>
73       <property name="autoRaise">
74        <bool>true</bool>
75       </property>
76      </widget>
77     </item>
78    </layout>
79   </item>
80  </layout>
81 </widget>
82 <resources>
83  <include location="../icons.qrc"/>
84 </resources>
85 <connections/>
86 <slots>
87  <slot>prevDayButtonClicked()</slot>
88  <slot>nextDayButtonClicked()</slot>
89  <slot>todayButtonClicked()</slot>
90 </slots>
91</ui>
Note: See TracBrowser for help on using the repository browser.