1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
2 | <ui version="4.0"> |
---|
3 | <class>AddMultEditorUI</class> |
---|
4 | <widget class="QDialog" name="AddMultEditorUI"> |
---|
5 | <property name="geometry"> |
---|
6 | <rect> |
---|
7 | <x>0</x> |
---|
8 | <y>0</y> |
---|
9 | <width>527</width> |
---|
10 | <height>331</height> |
---|
11 | </rect> |
---|
12 | </property> |
---|
13 | <property name="sizePolicy"> |
---|
14 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
---|
15 | <horstretch>0</horstretch> |
---|
16 | <verstretch>0</verstretch> |
---|
17 | </sizepolicy> |
---|
18 | </property> |
---|
19 | <property name="minimumSize"> |
---|
20 | <size> |
---|
21 | <width>527</width> |
---|
22 | <height>331</height> |
---|
23 | </size> |
---|
24 | </property> |
---|
25 | <property name="windowTitle"> |
---|
26 | <string>Easy Add/Multiply Editor</string> |
---|
27 | </property> |
---|
28 | <layout class="QGridLayout" name="gridLayout_3"> |
---|
29 | <item row="1" column="0"> |
---|
30 | <widget class="QGroupBox" name="groupBox_5"> |
---|
31 | <property name="title"> |
---|
32 | <string>Description</string> |
---|
33 | </property> |
---|
34 | <layout class="QGridLayout" name="gridLayout_4"> |
---|
35 | <item row="0" column="0"> |
---|
36 | <widget class="QLineEdit" name="txtDescription"> |
---|
37 | <property name="placeholderText"> |
---|
38 | <string>Enter a description of the model (optional)</string> |
---|
39 | </property> |
---|
40 | </widget> |
---|
41 | </item> |
---|
42 | </layout> |
---|
43 | </widget> |
---|
44 | </item> |
---|
45 | <item row="0" column="0"> |
---|
46 | <widget class="QGroupBox" name="groupBox_6"> |
---|
47 | <property name="title"> |
---|
48 | <string>Plugin model</string> |
---|
49 | </property> |
---|
50 | <layout class="QGridLayout" name="gridLayout_5"> |
---|
51 | <item row="0" column="0"> |
---|
52 | <widget class="QLineEdit" name="txtName"> |
---|
53 | <property name="toolTip"> |
---|
54 | <string>Sum / Multiply model function name.</string> |
---|
55 | </property> |
---|
56 | <property name="placeholderText"> |
---|
57 | <string>Enter a plugin name</string> |
---|
58 | </property> |
---|
59 | </widget> |
---|
60 | </item> |
---|
61 | <item row="0" column="1"> |
---|
62 | <widget class="QCheckBox" name="chkOverwrite"> |
---|
63 | <property name="toolTip"> |
---|
64 | <string>Check to overwrite the existing model with the same name.</string> |
---|
65 | </property> |
---|
66 | <property name="text"> |
---|
67 | <string>Overwrite existing model</string> |
---|
68 | </property> |
---|
69 | </widget> |
---|
70 | </item> |
---|
71 | </layout> |
---|
72 | </widget> |
---|
73 | </item> |
---|
74 | <item row="3" column="0"> |
---|
75 | <widget class="QGroupBox" name="groupBox"> |
---|
76 | <property name="title"> |
---|
77 | <string>Model selection</string> |
---|
78 | </property> |
---|
79 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
80 | <item row="0" column="0"> |
---|
81 | <layout class="QGridLayout" name="gridLayout"> |
---|
82 | <item row="0" column="0"> |
---|
83 | <widget class="QLabel" name="label"> |
---|
84 | <property name="text"> |
---|
85 | <string>model_1</string> |
---|
86 | </property> |
---|
87 | </widget> |
---|
88 | </item> |
---|
89 | <item row="0" column="2"> |
---|
90 | <widget class="QLabel" name="label_2"> |
---|
91 | <property name="text"> |
---|
92 | <string>model_2</string> |
---|
93 | </property> |
---|
94 | </widget> |
---|
95 | </item> |
---|
96 | <item row="1" column="0"> |
---|
97 | <widget class="QComboBox" name="cbModel1"> |
---|
98 | <property name="editable"> |
---|
99 | <bool>true</bool> |
---|
100 | </property> |
---|
101 | </widget> |
---|
102 | </item> |
---|
103 | <item row="1" column="1"> |
---|
104 | <widget class="QComboBox" name="cbOperator"> |
---|
105 | <property name="sizePolicy"> |
---|
106 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
---|
107 | <horstretch>0</horstretch> |
---|
108 | <verstretch>0</verstretch> |
---|
109 | </sizepolicy> |
---|
110 | </property> |
---|
111 | <property name="toolTip"> |
---|
112 | <string>Add: + |
---|
113 | Multiply: *</string> |
---|
114 | </property> |
---|
115 | <item> |
---|
116 | <property name="text"> |
---|
117 | <string>+</string> |
---|
118 | </property> |
---|
119 | </item> |
---|
120 | <item> |
---|
121 | <property name="text"> |
---|
122 | <string>*</string> |
---|
123 | </property> |
---|
124 | </item> |
---|
125 | </widget> |
---|
126 | </item> |
---|
127 | <item row="1" column="2"> |
---|
128 | <widget class="QComboBox" name="cbModel2"> |
---|
129 | <property name="editable"> |
---|
130 | <bool>true</bool> |
---|
131 | </property> |
---|
132 | </widget> |
---|
133 | </item> |
---|
134 | </layout> |
---|
135 | </item> |
---|
136 | </layout> |
---|
137 | </widget> |
---|
138 | </item> |
---|
139 | <item row="4" column="0"> |
---|
140 | <layout class="QHBoxLayout" name="horizontalLayout_3"> |
---|
141 | <item> |
---|
142 | <spacer name="horizontalSpacer_2"> |
---|
143 | <property name="orientation"> |
---|
144 | <enum>Qt::Horizontal</enum> |
---|
145 | </property> |
---|
146 | <property name="sizeHint" stdset="0"> |
---|
147 | <size> |
---|
148 | <width>40</width> |
---|
149 | <height>20</height> |
---|
150 | </size> |
---|
151 | </property> |
---|
152 | </spacer> |
---|
153 | </item> |
---|
154 | <item> |
---|
155 | <widget class="QDialogButtonBox" name="buttonBox"> |
---|
156 | <property name="standardButtons"> |
---|
157 | <set>QDialogButtonBox::Apply|QDialogButtonBox::Close|QDialogButtonBox::Help</set> |
---|
158 | </property> |
---|
159 | </widget> |
---|
160 | </item> |
---|
161 | </layout> |
---|
162 | </item> |
---|
163 | <item row="2" column="0"> |
---|
164 | <widget class="QLabel" name="lblEquation"> |
---|
165 | <property name="text"> |
---|
166 | <string><html><head/><body><p>Plugin_model = scale_factor * (model_1 + model_2) + background</p></body></html></string> |
---|
167 | </property> |
---|
168 | </widget> |
---|
169 | </item> |
---|
170 | </layout> |
---|
171 | </widget> |
---|
172 | <resources/> |
---|
173 | <connections/> |
---|
174 | </ui> |
---|