[092a3d9] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | <ui version="4.0"> |
---|
| 3 | <class>ColorMapUI</class> |
---|
| 4 | <widget class="QDialog" name="ColorMapUI"> |
---|
| 5 | <property name="geometry"> |
---|
| 6 | <rect> |
---|
| 7 | <x>0</x> |
---|
| 8 | <y>0</y> |
---|
| 9 | <width>450</width> |
---|
| 10 | <height>329</height> |
---|
| 11 | </rect> |
---|
| 12 | </property> |
---|
| 13 | <property name="windowTitle"> |
---|
| 14 | <string>Color Map</string> |
---|
| 15 | </property> |
---|
| 16 | <property name="windowIcon"> |
---|
| 17 | <iconset resource="main_resources.qrc"> |
---|
| 18 | <normaloff>:/res/ball.ico</normaloff>:/res/ball.ico</iconset> |
---|
| 19 | </property> |
---|
| 20 | <property name="modal"> |
---|
| 21 | <bool>true</bool> |
---|
| 22 | </property> |
---|
| 23 | <layout class="QGridLayout" name="gridLayout_5"> |
---|
| 24 | <item row="1" column="1"> |
---|
| 25 | <spacer name="verticalSpacer"> |
---|
| 26 | <property name="orientation"> |
---|
| 27 | <enum>Qt::Vertical</enum> |
---|
| 28 | </property> |
---|
| 29 | <property name="sizeHint" stdset="0"> |
---|
| 30 | <size> |
---|
| 31 | <width>20</width> |
---|
| 32 | <height>62</height> |
---|
| 33 | </size> |
---|
| 34 | </property> |
---|
| 35 | </spacer> |
---|
| 36 | </item> |
---|
| 37 | <item row="3" column="0" colspan="3"> |
---|
| 38 | <layout class="QHBoxLayout" name="horizontalLayout_2"> |
---|
| 39 | <item> |
---|
| 40 | <spacer name="horizontalSpacer"> |
---|
| 41 | <property name="orientation"> |
---|
| 42 | <enum>Qt::Horizontal</enum> |
---|
| 43 | </property> |
---|
| 44 | <property name="sizeHint" stdset="0"> |
---|
| 45 | <size> |
---|
| 46 | <width>40</width> |
---|
| 47 | <height>20</height> |
---|
| 48 | </size> |
---|
| 49 | </property> |
---|
| 50 | </spacer> |
---|
| 51 | </item> |
---|
| 52 | <item> |
---|
| 53 | <widget class="QDialogButtonBox" name="buttonBox"> |
---|
| 54 | <property name="orientation"> |
---|
| 55 | <enum>Qt::Horizontal</enum> |
---|
| 56 | </property> |
---|
| 57 | <property name="standardButtons"> |
---|
[5d89f43] | 58 | <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set> |
---|
[092a3d9] | 59 | </property> |
---|
| 60 | </widget> |
---|
| 61 | </item> |
---|
| 62 | </layout> |
---|
| 63 | </item> |
---|
| 64 | <item row="0" column="0" colspan="2"> |
---|
| 65 | <widget class="QGroupBox" name="groupBox"> |
---|
| 66 | <property name="title"> |
---|
| 67 | <string>Color map</string> |
---|
| 68 | </property> |
---|
| 69 | <layout class="QGridLayout" name="gridLayout_2"> |
---|
| 70 | <item row="0" column="0"> |
---|
| 71 | <layout class="QHBoxLayout" name="horizontalLayout"> |
---|
| 72 | <item> |
---|
| 73 | <widget class="QLabel" name="label"> |
---|
| 74 | <property name="text"> |
---|
| 75 | <string>Select color map</string> |
---|
| 76 | </property> |
---|
| 77 | </widget> |
---|
| 78 | </item> |
---|
| 79 | <item> |
---|
| 80 | <widget class="QComboBox" name="cbColorMap"> |
---|
| 81 | <property name="toolTip"> |
---|
| 82 | <string><html><head/><body><p>Select color map from the list.</p></body></html></string> |
---|
| 83 | </property> |
---|
| 84 | </widget> |
---|
| 85 | </item> |
---|
| 86 | </layout> |
---|
| 87 | </item> |
---|
| 88 | <item row="1" column="0"> |
---|
| 89 | <layout class="QGridLayout" name="gridLayout"> |
---|
| 90 | <item row="0" column="0"> |
---|
| 91 | <widget class="QLabel" name="label_2"> |
---|
| 92 | <property name="toolTip"> |
---|
| 93 | <string><html><head/><body><p>Enter value for minimum color map amplitude.</p></body></html></string> |
---|
| 94 | </property> |
---|
| 95 | <property name="text"> |
---|
| 96 | <string>Min amplitude for color map</string> |
---|
| 97 | </property> |
---|
| 98 | </widget> |
---|
| 99 | </item> |
---|
| 100 | <item row="0" column="1"> |
---|
| 101 | <widget class="QLineEdit" name="txtMinAmplitude"> |
---|
| 102 | <property name="toolTip"> |
---|
| 103 | <string><html><head/><body><p>Enter value for minimum color map amplitude.</p></body></html></string> |
---|
| 104 | </property> |
---|
| 105 | </widget> |
---|
| 106 | </item> |
---|
| 107 | <item row="1" column="0"> |
---|
| 108 | <widget class="QLabel" name="label_3"> |
---|
| 109 | <property name="toolTip"> |
---|
| 110 | <string><html><head/><body><p>Enter value for maximum color map amplitude.</p></body></html></string> |
---|
| 111 | </property> |
---|
| 112 | <property name="text"> |
---|
| 113 | <string>Max amplitude for color map</string> |
---|
| 114 | </property> |
---|
| 115 | </widget> |
---|
| 116 | </item> |
---|
| 117 | <item row="1" column="1"> |
---|
| 118 | <widget class="QLineEdit" name="txtMaxAmplitude"> |
---|
| 119 | <property name="toolTip"> |
---|
| 120 | <string><html><head/><body><p>Enter value for maximum color map amplitude.</p></body></html></string> |
---|
| 121 | </property> |
---|
| 122 | </widget> |
---|
| 123 | </item> |
---|
| 124 | </layout> |
---|
| 125 | </item> |
---|
| 126 | <item row="2" column="0"> |
---|
| 127 | <widget class="QCheckBox" name="chkReverse"> |
---|
| 128 | <property name="toolTip"> |
---|
| 129 | <string><html><head/><body><p>Use the color-reversed map.</p></body></html></string> |
---|
| 130 | </property> |
---|
| 131 | <property name="text"> |
---|
| 132 | <string>Reverse map</string> |
---|
| 133 | </property> |
---|
| 134 | </widget> |
---|
| 135 | </item> |
---|
| 136 | </layout> |
---|
| 137 | </widget> |
---|
| 138 | </item> |
---|
| 139 | <item row="0" column="2"> |
---|
| 140 | <widget class="QGroupBox" name="groupBox_2"> |
---|
| 141 | <property name="title"> |
---|
| 142 | <string>Detector</string> |
---|
| 143 | </property> |
---|
| 144 | <layout class="QGridLayout" name="gridLayout_4"> |
---|
| 145 | <item row="0" column="0"> |
---|
| 146 | <layout class="QGridLayout" name="gridLayout_3"> |
---|
| 147 | <item row="0" column="0"> |
---|
| 148 | <widget class="QLabel" name="label_4"> |
---|
[5d89f43] | 149 | <property name="toolTip"> |
---|
| 150 | <string><html><head/><body><p>Detector width.</p></body></html></string> |
---|
| 151 | </property> |
---|
[092a3d9] | 152 | <property name="text"> |
---|
| 153 | <string>Width in pixels</string> |
---|
| 154 | </property> |
---|
| 155 | </widget> |
---|
| 156 | </item> |
---|
| 157 | <item row="0" column="1"> |
---|
| 158 | <widget class="QLabel" name="lblWidth"> |
---|
| 159 | <property name="text"> |
---|
| 160 | <string>0</string> |
---|
| 161 | </property> |
---|
| 162 | </widget> |
---|
| 163 | </item> |
---|
| 164 | <item row="1" column="0"> |
---|
| 165 | <widget class="QLabel" name="label_5"> |
---|
[5d89f43] | 166 | <property name="toolTip"> |
---|
| 167 | <string><html><head/><body><p>Detector height.</p></body></html></string> |
---|
| 168 | </property> |
---|
[092a3d9] | 169 | <property name="text"> |
---|
| 170 | <string>Height in pixels</string> |
---|
| 171 | </property> |
---|
| 172 | </widget> |
---|
| 173 | </item> |
---|
| 174 | <item row="1" column="1"> |
---|
| 175 | <widget class="QLabel" name="lblHeight"> |
---|
| 176 | <property name="text"> |
---|
| 177 | <string>0</string> |
---|
| 178 | </property> |
---|
| 179 | </widget> |
---|
| 180 | </item> |
---|
| 181 | <item row="2" column="0"> |
---|
| 182 | <widget class="QLabel" name="label_6"> |
---|
[5d89f43] | 183 | <property name="toolTip"> |
---|
| 184 | <string><html><head/><body><p>Maximum absolute Q<span style=" vertical-align:sub;">x,y</span> value.</p></body></html></string> |
---|
| 185 | </property> |
---|
[092a3d9] | 186 | <property name="text"> |
---|
[5d89f43] | 187 | <string><html><head/><body><p>Q<span style=" vertical-align:sub;">max</span></p></body></html></string> |
---|
[092a3d9] | 188 | </property> |
---|
| 189 | </widget> |
---|
| 190 | </item> |
---|
| 191 | <item row="2" column="1"> |
---|
| 192 | <widget class="QLabel" name="lblQmax"> |
---|
| 193 | <property name="text"> |
---|
| 194 | <string>0</string> |
---|
| 195 | </property> |
---|
| 196 | </widget> |
---|
| 197 | </item> |
---|
| 198 | <item row="3" column="0"> |
---|
| 199 | <widget class="QLabel" name="label_7"> |
---|
[5d89f43] | 200 | <property name="toolTip"> |
---|
| 201 | <string><html><head/><body><p>Minimum value of Q<span style=" vertical-align:sub;">x</span> in units of Q.</p></body></html></string> |
---|
| 202 | </property> |
---|
[092a3d9] | 203 | <property name="text"> |
---|
| 204 | <string>Beam stop radius</string> |
---|
| 205 | </property> |
---|
| 206 | </widget> |
---|
| 207 | </item> |
---|
| 208 | <item row="3" column="1"> |
---|
| 209 | <widget class="QLabel" name="lblStopRadius"> |
---|
| 210 | <property name="text"> |
---|
| 211 | <string>TextLabel</string> |
---|
| 212 | </property> |
---|
| 213 | </widget> |
---|
| 214 | </item> |
---|
| 215 | </layout> |
---|
| 216 | </item> |
---|
| 217 | </layout> |
---|
| 218 | </widget> |
---|
| 219 | </item> |
---|
| 220 | <item row="2" column="0" colspan="3"> |
---|
| 221 | <widget class="QWidget" name="widget" native="true"> |
---|
| 222 | <property name="sizePolicy"> |
---|
| 223 | <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> |
---|
| 224 | <horstretch>0</horstretch> |
---|
| 225 | <verstretch>0</verstretch> |
---|
| 226 | </sizepolicy> |
---|
| 227 | </property> |
---|
| 228 | </widget> |
---|
| 229 | </item> |
---|
| 230 | </layout> |
---|
| 231 | <zorder>groupBox</zorder> |
---|
| 232 | <zorder>widget</zorder> |
---|
| 233 | <zorder>groupBox_2</zorder> |
---|
| 234 | <zorder>verticalSpacer</zorder> |
---|
| 235 | </widget> |
---|
| 236 | <resources> |
---|
| 237 | <include location="main_resources.qrc"/> |
---|
| 238 | </resources> |
---|
| 239 | <connections> |
---|
| 240 | <connection> |
---|
| 241 | <sender>buttonBox</sender> |
---|
| 242 | <signal>accepted()</signal> |
---|
| 243 | <receiver>ColorMapUI</receiver> |
---|
| 244 | <slot>accept()</slot> |
---|
| 245 | <hints> |
---|
| 246 | <hint type="sourcelabel"> |
---|
| 247 | <x>248</x> |
---|
| 248 | <y>254</y> |
---|
| 249 | </hint> |
---|
| 250 | <hint type="destinationlabel"> |
---|
| 251 | <x>157</x> |
---|
| 252 | <y>274</y> |
---|
| 253 | </hint> |
---|
| 254 | </hints> |
---|
| 255 | </connection> |
---|
| 256 | <connection> |
---|
| 257 | <sender>buttonBox</sender> |
---|
| 258 | <signal>rejected()</signal> |
---|
| 259 | <receiver>ColorMapUI</receiver> |
---|
| 260 | <slot>reject()</slot> |
---|
| 261 | <hints> |
---|
| 262 | <hint type="sourcelabel"> |
---|
| 263 | <x>316</x> |
---|
| 264 | <y>260</y> |
---|
| 265 | </hint> |
---|
| 266 | <hint type="destinationlabel"> |
---|
| 267 | <x>286</x> |
---|
| 268 | <y>274</y> |
---|
| 269 | </hint> |
---|
| 270 | </hints> |
---|
| 271 | </connection> |
---|
| 272 | </connections> |
---|
| 273 | </ui> |
---|