src/platform/qt/SensorView.ui (view raw)
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>SensorView</class>
4 <widget class="QWidget" name="SensorView">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>411</width>
10 <height>170</height>
11 </rect>
12 </property>
13 <property name="sizePolicy">
14 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
15 <horstretch>0</horstretch>
16 <verstretch>0</verstretch>
17 </sizepolicy>
18 </property>
19 <property name="windowTitle">
20 <string>Sensors</string>
21 </property>
22 <layout class="QHBoxLayout" name="horizontalLayout">
23 <item>
24 <widget class="QGroupBox" name="groupBox">
25 <property name="title">
26 <string>Realtime clock</string>
27 </property>
28 <layout class="QGridLayout" name="gridLayout_3">
29 <item row="2" column="0">
30 <widget class="QRadioButton" name="timeFakeEpoch">
31 <property name="text">
32 <string>Start time at</string>
33 </property>
34 <attribute name="buttonGroup">
35 <string notr="true">timeButtons</string>
36 </attribute>
37 </widget>
38 </item>
39 <item row="1" column="0">
40 <widget class="QRadioButton" name="timeFixed">
41 <property name="text">
42 <string>Fixed time</string>
43 </property>
44 <attribute name="buttonGroup">
45 <string notr="true">timeButtons</string>
46 </attribute>
47 </widget>
48 </item>
49 <item row="0" column="0">
50 <widget class="QRadioButton" name="timeNoOverride">
51 <property name="text">
52 <string>System time</string>
53 </property>
54 <property name="checked">
55 <bool>true</bool>
56 </property>
57 <attribute name="buttonGroup">
58 <string notr="true">timeButtons</string>
59 </attribute>
60 </widget>
61 </item>
62 <item row="3" column="0" colspan="2">
63 <widget class="QDateTimeEdit" name="time">
64 <property name="wrapping">
65 <bool>true</bool>
66 </property>
67 <property name="maximumDate">
68 <date>
69 <year>2100</year>
70 <month>1</month>
71 <day>2</day>
72 </date>
73 </property>
74 <property name="minimumDate">
75 <date>
76 <year>2000</year>
77 <month>1</month>
78 <day>1</day>
79 </date>
80 </property>
81 <property name="currentSection">
82 <enum>QDateTimeEdit::MonthSection</enum>
83 </property>
84 <property name="displayFormat">
85 <string>MM/dd/yy hh:mm:ss AP</string>
86 </property>
87 <property name="timeSpec">
88 <enum>Qt::UTC</enum>
89 </property>
90 </widget>
91 </item>
92 <item row="0" column="1" rowspan="3">
93 <widget class="QPushButton" name="timeNow">
94 <property name="text">
95 <string>Now</string>
96 </property>
97 </widget>
98 </item>
99 </layout>
100 </widget>
101 </item>
102 <item>
103 <widget class="QGroupBox" name="groupBox_2">
104 <property name="title">
105 <string>Light sensor</string>
106 </property>
107 <layout class="QGridLayout" name="gridLayout_4">
108 <item row="0" column="0">
109 <widget class="QLabel" name="label_3">
110 <property name="text">
111 <string>Brightness</string>
112 </property>
113 </widget>
114 </item>
115 <item row="0" column="1">
116 <widget class="QSpinBox" name="lightSpin">
117 <property name="maximum">
118 <number>255</number>
119 </property>
120 </widget>
121 </item>
122 <item row="1" column="0" colspan="2">
123 <widget class="QSlider" name="lightSlide">
124 <property name="maximum">
125 <number>255</number>
126 </property>
127 <property name="orientation">
128 <enum>Qt::Horizontal</enum>
129 </property>
130 <property name="tickPosition">
131 <enum>QSlider::TicksBelow</enum>
132 </property>
133 <property name="tickInterval">
134 <number>16</number>
135 </property>
136 </widget>
137 </item>
138 </layout>
139 </widget>
140 </item>
141 </layout>
142 </widget>
143 <resources/>
144 <connections/>
145 <buttongroups>
146 <buttongroup name="timeButtons"/>
147 </buttongroups>
148</ui>