|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>BatteryPublisher</class> |
|
4 <widget class="QDialog" name="BatteryPublisher"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>400</width> |
|
10 <height>125</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Battery Publisher</string> |
|
15 </property> |
|
16 <layout class="QGridLayout" name="gridLayout"> |
|
17 <item row="0" column="0"> |
|
18 <widget class="QLabel" name="label"> |
|
19 <property name="text"> |
|
20 <string>Empty</string> |
|
21 </property> |
|
22 </widget> |
|
23 </item> |
|
24 <item row="0" column="1"> |
|
25 <spacer name="horizontalSpacer"> |
|
26 <property name="orientation"> |
|
27 <enum>Qt::Horizontal</enum> |
|
28 </property> |
|
29 <property name="sizeHint" stdset="0"> |
|
30 <size> |
|
31 <width>322</width> |
|
32 <height>20</height> |
|
33 </size> |
|
34 </property> |
|
35 </spacer> |
|
36 </item> |
|
37 <item row="0" column="2"> |
|
38 <widget class="QLabel" name="label_2"> |
|
39 <property name="text"> |
|
40 <string>Full</string> |
|
41 </property> |
|
42 </widget> |
|
43 </item> |
|
44 <item row="1" column="0" colspan="3"> |
|
45 <widget class="QSlider" name="batteryCharge"> |
|
46 <property name="maximum"> |
|
47 <number>100</number> |
|
48 </property> |
|
49 <property name="singleStep"> |
|
50 <number>5</number> |
|
51 </property> |
|
52 <property name="pageStep"> |
|
53 <number>25</number> |
|
54 </property> |
|
55 <property name="value"> |
|
56 <number>50</number> |
|
57 </property> |
|
58 <property name="orientation"> |
|
59 <enum>Qt::Horizontal</enum> |
|
60 </property> |
|
61 <property name="tickPosition"> |
|
62 <enum>QSlider::TicksBothSides</enum> |
|
63 </property> |
|
64 <property name="tickInterval"> |
|
65 <number>25</number> |
|
66 </property> |
|
67 </widget> |
|
68 </item> |
|
69 <item row="4" column="0" colspan="3"> |
|
70 <widget class="QDialogButtonBox" name="buttonBox"> |
|
71 <property name="orientation"> |
|
72 <enum>Qt::Horizontal</enum> |
|
73 </property> |
|
74 <property name="standardButtons"> |
|
75 <set>QDialogButtonBox::Close</set> |
|
76 </property> |
|
77 </widget> |
|
78 </item> |
|
79 <item row="3" column="0" colspan="3"> |
|
80 <spacer name="verticalSpacer"> |
|
81 <property name="orientation"> |
|
82 <enum>Qt::Vertical</enum> |
|
83 </property> |
|
84 <property name="sizeHint" stdset="0"> |
|
85 <size> |
|
86 <width>20</width> |
|
87 <height>40</height> |
|
88 </size> |
|
89 </property> |
|
90 </spacer> |
|
91 </item> |
|
92 <item row="2" column="0" colspan="3"> |
|
93 <widget class="QCheckBox" name="charging"> |
|
94 <property name="text"> |
|
95 <string>Charging</string> |
|
96 </property> |
|
97 </widget> |
|
98 </item> |
|
99 </layout> |
|
100 </widget> |
|
101 <resources/> |
|
102 <connections> |
|
103 <connection> |
|
104 <sender>buttonBox</sender> |
|
105 <signal>accepted()</signal> |
|
106 <receiver>BatteryPublisher</receiver> |
|
107 <slot>accept()</slot> |
|
108 <hints> |
|
109 <hint type="sourcelabel"> |
|
110 <x>252</x> |
|
111 <y>152</y> |
|
112 </hint> |
|
113 <hint type="destinationlabel"> |
|
114 <x>157</x> |
|
115 <y>156</y> |
|
116 </hint> |
|
117 </hints> |
|
118 </connection> |
|
119 <connection> |
|
120 <sender>buttonBox</sender> |
|
121 <signal>rejected()</signal> |
|
122 <receiver>BatteryPublisher</receiver> |
|
123 <slot>reject()</slot> |
|
124 <hints> |
|
125 <hint type="sourcelabel"> |
|
126 <x>320</x> |
|
127 <y>152</y> |
|
128 </hint> |
|
129 <hint type="destinationlabel"> |
|
130 <x>286</x> |
|
131 <y>156</y> |
|
132 </hint> |
|
133 </hints> |
|
134 </connection> |
|
135 </connections> |
|
136 </ui> |