| 1 | <ui version="4.0" >
|
|---|
| 2 | <author></author>
|
|---|
| 3 | <comment></comment>
|
|---|
| 4 | <exportmacro></exportmacro>
|
|---|
| 5 | <class>WorldTimeForm</class>
|
|---|
| 6 | <widget class="QWidget" name="WorldTimeForm" >
|
|---|
| 7 | <property name="geometry" >
|
|---|
| 8 | <rect>
|
|---|
| 9 | <x>0</x>
|
|---|
| 10 | <y>0</y>
|
|---|
| 11 | <width>400</width>
|
|---|
| 12 | <height>300</height>
|
|---|
| 13 | </rect>
|
|---|
| 14 | </property>
|
|---|
| 15 | <property name="windowTitle" >
|
|---|
| 16 | <string>World Time Clock</string>
|
|---|
| 17 | </property>
|
|---|
| 18 | <layout class="QHBoxLayout" >
|
|---|
| 19 | <property name="margin" >
|
|---|
| 20 | <number>9</number>
|
|---|
| 21 | </property>
|
|---|
| 22 | <property name="spacing" >
|
|---|
| 23 | <number>6</number>
|
|---|
| 24 | </property>
|
|---|
| 25 | <item>
|
|---|
| 26 | <widget class="WorldTimeClock" name="worldTimeClock" />
|
|---|
| 27 | </item>
|
|---|
| 28 | <item>
|
|---|
| 29 | <layout class="QVBoxLayout" >
|
|---|
| 30 | <property name="margin" >
|
|---|
| 31 | <number>1</number>
|
|---|
| 32 | </property>
|
|---|
| 33 | <property name="spacing" >
|
|---|
| 34 | <number>6</number>
|
|---|
| 35 | </property>
|
|---|
| 36 | <item>
|
|---|
| 37 | <spacer>
|
|---|
| 38 | <property name="orientation" >
|
|---|
| 39 | <enum>Qt::Vertical</enum>
|
|---|
| 40 | </property>
|
|---|
| 41 | <property name="sizeHint" >
|
|---|
| 42 | <size>
|
|---|
| 43 | <width>20</width>
|
|---|
| 44 | <height>40</height>
|
|---|
| 45 | </size>
|
|---|
| 46 | </property>
|
|---|
| 47 | </spacer>
|
|---|
| 48 | </item>
|
|---|
| 49 | <item>
|
|---|
| 50 | <layout class="QHBoxLayout" >
|
|---|
| 51 | <property name="margin" >
|
|---|
| 52 | <number>1</number>
|
|---|
| 53 | </property>
|
|---|
| 54 | <property name="spacing" >
|
|---|
| 55 | <number>6</number>
|
|---|
| 56 | </property>
|
|---|
| 57 | <item>
|
|---|
| 58 | <widget class="QLabel" name="label" >
|
|---|
| 59 | <property name="text" >
|
|---|
| 60 | <string>Current time:</string>
|
|---|
| 61 | </property>
|
|---|
| 62 | </widget>
|
|---|
| 63 | </item>
|
|---|
| 64 | <item>
|
|---|
| 65 | <widget class="QTimeEdit" name="timeEdit" >
|
|---|
| 66 | <property name="readOnly" >
|
|---|
| 67 | <bool>true</bool>
|
|---|
| 68 | </property>
|
|---|
| 69 | </widget>
|
|---|
| 70 | </item>
|
|---|
| 71 | </layout>
|
|---|
| 72 | </item>
|
|---|
| 73 | <item>
|
|---|
| 74 | <layout class="QHBoxLayout" >
|
|---|
| 75 | <property name="margin" >
|
|---|
| 76 | <number>1</number>
|
|---|
| 77 | </property>
|
|---|
| 78 | <property name="spacing" >
|
|---|
| 79 | <number>6</number>
|
|---|
| 80 | </property>
|
|---|
| 81 | <item>
|
|---|
| 82 | <widget class="QLabel" name="label_2" >
|
|---|
| 83 | <property name="text" >
|
|---|
| 84 | <string>Set time zone:</string>
|
|---|
| 85 | </property>
|
|---|
| 86 | </widget>
|
|---|
| 87 | </item>
|
|---|
| 88 | <item>
|
|---|
| 89 | <widget class="QSpinBox" name="spinBox" >
|
|---|
| 90 | <property name="maximum" >
|
|---|
| 91 | <number>12</number>
|
|---|
| 92 | </property>
|
|---|
| 93 | <property name="minimum" >
|
|---|
| 94 | <number>-12</number>
|
|---|
| 95 | </property>
|
|---|
| 96 | </widget>
|
|---|
| 97 | </item>
|
|---|
| 98 | </layout>
|
|---|
| 99 | </item>
|
|---|
| 100 | <item>
|
|---|
| 101 | <spacer>
|
|---|
| 102 | <property name="orientation" >
|
|---|
| 103 | <enum>Qt::Vertical</enum>
|
|---|
| 104 | </property>
|
|---|
| 105 | <property name="sizeHint" >
|
|---|
| 106 | <size>
|
|---|
| 107 | <width>20</width>
|
|---|
| 108 | <height>40</height>
|
|---|
| 109 | </size>
|
|---|
| 110 | </property>
|
|---|
| 111 | </spacer>
|
|---|
| 112 | </item>
|
|---|
| 113 | </layout>
|
|---|
| 114 | </item>
|
|---|
| 115 | </layout>
|
|---|
| 116 | </widget>
|
|---|
| 117 | <pixmapfunction></pixmapfunction>
|
|---|
| 118 | <customwidgets>
|
|---|
| 119 | <customwidget>
|
|---|
| 120 | <class>WorldTimeClock</class>
|
|---|
| 121 | <extends></extends>
|
|---|
| 122 | <header>worldtimeclock.h</header>
|
|---|
| 123 | <container>0</container>
|
|---|
| 124 | <pixmap></pixmap>
|
|---|
| 125 | </customwidget>
|
|---|
| 126 | </customwidgets>
|
|---|
| 127 | <resources/>
|
|---|
| 128 | <connections>
|
|---|
| 129 | <connection>
|
|---|
| 130 | <sender>spinBox</sender>
|
|---|
| 131 | <signal>valueChanged(int)</signal>
|
|---|
| 132 | <receiver>worldTimeClock</receiver>
|
|---|
| 133 | <slot>setTimeZone(int)</slot>
|
|---|
| 134 | <hints>
|
|---|
| 135 | <hint type="sourcelabel" >
|
|---|
| 136 | <x>339</x>
|
|---|
| 137 | <y>166</y>
|
|---|
| 138 | </hint>
|
|---|
| 139 | <hint type="destinationlabel" >
|
|---|
| 140 | <x>157</x>
|
|---|
| 141 | <y>230</y>
|
|---|
| 142 | </hint>
|
|---|
| 143 | </hints>
|
|---|
| 144 | </connection>
|
|---|
| 145 | <connection>
|
|---|
| 146 | <sender>worldTimeClock</sender>
|
|---|
| 147 | <signal>updated(QTime)</signal>
|
|---|
| 148 | <receiver>timeEdit</receiver>
|
|---|
| 149 | <slot>setTime(QTime)</slot>
|
|---|
| 150 | <hints>
|
|---|
| 151 | <hint type="sourcelabel" >
|
|---|
| 152 | <x>141</x>
|
|---|
| 153 | <y>59</y>
|
|---|
| 154 | </hint>
|
|---|
| 155 | <hint type="destinationlabel" >
|
|---|
| 156 | <x>291</x>
|
|---|
| 157 | <y>133</y>
|
|---|
| 158 | </hint>
|
|---|
| 159 | </hints>
|
|---|
| 160 | </connection>
|
|---|
| 161 | </connections>
|
|---|
| 162 | </ui>
|
|---|