source: sasview/src/sas/qtgui/UI/ColorMapUI.ui @ 092a3d9

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since 092a3d9 was 092a3d9, checked in by Piotr Rozyczko <rozyczko@…>, 7 years ago

Color Map control for 2D charts. Initial commit - SASVIEW-391

  • Property mode set to 100755
File size: 8.0 KB
Line 
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">
58        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::Reset</set>
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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select color map from the list.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter value for minimum color map amplitude.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter value for minimum color map amplitude.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter value for maximum color map amplitude.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter value for maximum color map amplitude.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Use the color-reversed map.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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">
149          <property name="text">
150           <string>Width in pixels</string>
151          </property>
152         </widget>
153        </item>
154        <item row="0" column="1">
155         <widget class="QLabel" name="lblWidth">
156          <property name="text">
157           <string>0</string>
158          </property>
159         </widget>
160        </item>
161        <item row="1" column="0">
162         <widget class="QLabel" name="label_5">
163          <property name="text">
164           <string>Height in pixels</string>
165          </property>
166         </widget>
167        </item>
168        <item row="1" column="1">
169         <widget class="QLabel" name="lblHeight">
170          <property name="text">
171           <string>0</string>
172          </property>
173         </widget>
174        </item>
175        <item row="2" column="0">
176         <widget class="QLabel" name="label_6">
177          <property name="text">
178           <string>Q max</string>
179          </property>
180         </widget>
181        </item>
182        <item row="2" column="1">
183         <widget class="QLabel" name="lblQmax">
184          <property name="text">
185           <string>0</string>
186          </property>
187         </widget>
188        </item>
189        <item row="3" column="0">
190         <widget class="QLabel" name="label_7">
191          <property name="text">
192           <string>Beam stop radius</string>
193          </property>
194         </widget>
195        </item>
196        <item row="3" column="1">
197         <widget class="QLabel" name="lblStopRadius">
198          <property name="text">
199           <string>TextLabel</string>
200          </property>
201         </widget>
202        </item>
203       </layout>
204      </item>
205     </layout>
206    </widget>
207   </item>
208   <item row="2" column="0" colspan="3">
209    <widget class="QWidget" name="widget" native="true">
210     <property name="sizePolicy">
211      <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
212       <horstretch>0</horstretch>
213       <verstretch>0</verstretch>
214      </sizepolicy>
215     </property>
216    </widget>
217   </item>
218  </layout>
219  <zorder>groupBox</zorder>
220  <zorder>widget</zorder>
221  <zorder>groupBox_2</zorder>
222  <zorder>verticalSpacer</zorder>
223 </widget>
224 <resources>
225  <include location="main_resources.qrc"/>
226 </resources>
227 <connections>
228  <connection>
229   <sender>buttonBox</sender>
230   <signal>accepted()</signal>
231   <receiver>ColorMapUI</receiver>
232   <slot>accept()</slot>
233   <hints>
234    <hint type="sourcelabel">
235     <x>248</x>
236     <y>254</y>
237    </hint>
238    <hint type="destinationlabel">
239     <x>157</x>
240     <y>274</y>
241    </hint>
242   </hints>
243  </connection>
244  <connection>
245   <sender>buttonBox</sender>
246   <signal>rejected()</signal>
247   <receiver>ColorMapUI</receiver>
248   <slot>reject()</slot>
249   <hints>
250    <hint type="sourcelabel">
251     <x>316</x>
252     <y>260</y>
253    </hint>
254    <hint type="destinationlabel">
255     <x>286</x>
256     <y>274</y>
257    </hint>
258   </hints>
259  </connection>
260 </connections>
261</ui>
Note: See TracBrowser for help on using the repository browser.