]> ToastFreeware Gitweb - toast/confclerk.git/blobdiff - src/gui/daynavigatorwidget.ui
Bump copyright years.
[toast/confclerk.git] / src / gui / daynavigatorwidget.ui
index 9de6ba106c0417f49abde0897438c073a6853c94..313853b84837856f208f1a4ac081fb6ffbd63599 100644 (file)
@@ -1,80 +1,56 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>DayNavigatorWidget</class>
- <widget class="QWidget" name="DayNavigatorWidget" >
-  <property name="geometry" >
+ <widget class="QWidget" name="DayNavigatorWidget">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>360</width>
-    <height>52</height>
+    <width>31</width>
+    <height>138</height>
    </rect>
   </property>
-  <property name="windowTitle" >
-   <string>Form</string>
-  </property>
-  <layout class="QGridLayout" name="gridLayout" >
-   <item row="0" column="0" >
-    <layout class="QHBoxLayout" name="horizontalLayout" >
-     <item>
-      <widget class="QToolButton" name="prevDayButton" >
-       <property name="text" >
-        <string>...</string>
-       </property>
-       <property name="autoRaise" >
-        <bool>true</bool>
-       </property>
-       <property name="arrowType" >
-        <enum>Qt::LeftArrow</enum>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer name="horizontalSpacer" >
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" stdset="0" >
-        <size>
-         <width>40</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-     <item>
-      <widget class="QLabel" name="currentDateLabel" >
-       <property name="text" >
-        <string>Currently selected date</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer name="horizontalSpacer_2" >
-       <property name="orientation" >
-        <enum>Qt::Horizontal</enum>
-       </property>
-       <property name="sizeHint" stdset="0" >
-        <size>
-         <width>40</width>
-         <height>20</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-     <item>
-      <widget class="QToolButton" name="nextDayButton" >
-       <property name="text" >
-        <string>...</string>
-       </property>
-       <property name="autoRaise" >
-        <bool>true</bool>
-       </property>
-       <property name="arrowType" >
-        <enum>Qt::RightArrow</enum>
-       </property>
-      </widget>
-     </item>
-    </layout>
+  <layout class="QVBoxLayout" name="verticalLayout" stretch="0,1,0">
+   <property name="spacing">
+    <number>0</number>
+   </property>
+   <property name="margin">
+    <number>0</number>
+   </property>
+   <item>
+    <widget class="QToolButton" name="nextDayButton">
+     <property name="toolTip">
+      <string>Go to next day (Ctrl+Up)</string>
+     </property>
+     <property name="shortcut">
+      <string>Ctrl+Up</string>
+     </property>
+     <property name="autoRaise">
+      <bool>true</bool>
+     </property>
+     <property name="arrowType">
+      <enum>Qt::UpArrow</enum>
+     </property>
+    </widget>
+   </item>
+   <item>
+    <widget class="QWidget" name="selectedDate" native="true"/>
+   </item>
+   <item>
+    <widget class="QToolButton" name="prevDayButton">
+     <property name="toolTip">
+      <string>Go to previous day (Ctrl+Down)</string>
+     </property>
+     <property name="shortcut">
+      <string>Ctrl+Down</string>
+     </property>
+     <property name="autoRaise">
+      <bool>true</bool>
+     </property>
+     <property name="arrowType">
+      <enum>Qt::DownArrow</enum>
+     </property>
+    </widget>
    </item>
   </layout>
  </widget>
@@ -83,5 +59,6 @@
  <slots>
   <slot>prevDayButtonClicked()</slot>
   <slot>nextDayButtonClicked()</slot>
+  <slot>todayButtonClicked()</slot>
  </slots>
 </ui>