Debian Codegraph @

src/Gui/Dialogs/DlgUnitsCalculator.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>Gui::Dialog::DlgUnitCalculator</class>
4 <widget class="QWidget" name="Gui::Dialog::DlgUnitCalculator">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>537</width>
10 <height>262</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Units Converter</string>
15 </property>
16 <layout class="QGridLayout" name="gridLayout_2">
17 <item row="0" column="0">
18 <layout class="QHBoxLayout" name="horizontalLayout_2">
19 <item>
20 <widget class="Gui::InputField" name="ValueInput">
21 <property name="minimumSize">
22 <size>
23 <width>100</width>
24 <height>0</height>
25 </size>
26 </property>
27 <property name="toolTip">
28 <string>Input the source value and unit</string>
29 </property>
30 </widget>
31 </item>
32 <item>
33 <widget class="QLabel" name="label">
34 <property name="text">
35 <string>as</string>
36 </property>
37 </widget>
38 </item>
39 <item>
40 <widget class="QLineEdit" name="UnitInput">
41 <property name="minimumSize">
42 <size>
43 <width>100</width>
44 <height>0</height>
45 </size>
46 </property>
47 <property name="toolTip">
48 <string>Input the unit for the result</string>
49 </property>
50 <property name="text">
51 <string/>
52 </property>
53 </widget>
54 </item>
55 <item>
56 <widget class="QLabel" name="label_2">
57 <property name="text">
58 <string>=&gt;</string>
59 </property>
60 </widget>
61 </item>
62 <item>
63 <widget class="QLineEdit" name="ValueOutput">
64 <property name="minimumSize">
65 <size>
66 <width>150</width>
67 <height>0</height>
68 </size>
69 </property>
70 <property name="toolTip">
71 <string>Result</string>
72 </property>
73 <property name="readOnly">
74 <bool>true</bool>
75 </property>
76 </widget>
77 </item>
78 </layout>
79 </item>
80 <item row="1" column="0">
81 <widget class="QTextEdit" name="textEdit">
82 <property name="toolTip">
83 <string>List of last used calculations.
84 To add a calculation press Return in the value input field</string>
85 </property>
86 <property name="readOnly">
87 <bool>true</bool>
88 </property>
89 </widget>
90 </item>
91 <item row="2" column="0">
92 <widget class="QGroupBox" name="groupBox">
93 <property name="title">
94 <string>Quantity</string>
95 </property>
96 <layout class="QGridLayout" name="gridLayout">
97 <item row="0" column="0">
98 <widget class="QLabel" name="label_3">
99 <property name="text">
100 <string>Quantity</string>
101 </property>
102 </widget>
103 </item>
104 <item row="0" column="1">
105 <widget class="Gui::QuantitySpinBox" name="quantitySpinBox">
106 <property name="sizePolicy">
107 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
108 <horstretch>0</horstretch>
109 <verstretch>0</verstretch>
110 </sizepolicy>
111 </property>
112 </widget>
113 </item>
114 <item row="0" column="2">
115 <widget class="QLabel" name="label_6">
116 <property name="text">
117 <string>Unit system</string>
118 </property>
119 </widget>
120 </item>
121 <item row="0" column="3">
122 <widget class="QComboBox" name="comboBoxScheme">
123 <property name="toolTip">
124 <string>Unit system to be used for the Quantity.
125 The preference system is the one set in the general preferences.</string>
126 </property>
127 </widget>
128 </item>
129 <item row="1" column="0">
130 <widget class="QLabel" name="label_5">
131 <property name="text">
132 <string>Decimals</string>
133 </property>
134 </widget>
135 </item>
136 <item row="1" column="1">
137 <widget class="QSpinBox" name="spinBoxDecimals">
138 <property name="toolTip">
139 <string>Decimals for the quantity</string>
140 </property>
141 <property name="minimum">
142 <number>2</number>
143 </property>
144 <property name="maximum">
145 <number>12</number>
146 </property>
147 <property name="value">
148 <number>5</number>
149 </property>
150 </widget>
151 </item>
152 <item row="1" column="2">
153 <widget class="QLabel" name="label_4">
154 <property name="text">
155 <string>Unit category</string>
156 </property>
157 </widget>
158 </item>
159 <item row="1" column="3">
160 <widget class="QComboBox" name="unitsBox">
161 <property name="sizePolicy">
162 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
163 <horstretch>0</horstretch>
164 <verstretch>0</verstretch>
165 </sizepolicy>
166 </property>
167 <property name="toolTip">
168 <string>Unit category for the quantity</string>
169 </property>
170 </widget>
171 </item>
172 </layout>
173 </widget>
174 </item>
175 <item row="3" column="0">
176 <layout class="QHBoxLayout" name="horizontalLayout">
177 <item>
178 <spacer name="horizontalSpacer">
179 <property name="orientation">
180 <enum>Qt::Horizontal</enum>
181 </property>
182 <property name="sizeHint" stdset="0">
183 <size>
184 <width>40</width>
185 <height>20</height>
186 </size>
187 </property>
188 </spacer>
189 </item>
190 <item>
191 <widget class="QPushButton" name="pushButton_Copy">
192 <property name="toolTip">
193 <string>Copies the result to the clipboard</string>
194 </property>
195 <property name="text">
196 <string>Copy</string>
197 </property>
198 </widget>
199 </item>
200 <item>
201 <widget class="QPushButton" name="pushButton_Close">
202 <property name="text">
203 <string>Close</string>
204 </property>
205 </widget>
206 </item>
207 </layout>
208 </item>
209 </layout>
210 </widget>
211 <customwidgets>
212 <customwidget>
213 <class>Gui::InputField</class>
214 <extends>QLineEdit</extends>
215 <header>Gui/InputField.h</header>
216 </customwidget>
217 <customwidget>
218 <class>Gui::QuantitySpinBox</class>
219 <extends>QWidget</extends>
220 <header>Gui/QuantitySpinBox.h</header>
221 </customwidget>
222 </customwidgets>
223 <resources/>
224 <connections/>
225 </ui>