source: sasview/src/sas/qtgui/Utilities/UI/ImageViewerOptionsUI.ui

ESS_GUI
Last change on this file was 1942f63, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 6 years ago

Merged ESS_GUI_image_viewer

  • Property mode set to 100644
File size: 7.3 KB
RevLine 
[1942f63]1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>ImageViewerOptionsUI</class>
4 <widget class="QDialog" name="ImageViewerOptionsUI">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>454</width>
10    <height>246</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Image Conversion Options</string>
15  </property>
16  <layout class="QGridLayout" name="gridLayout_4">
17   <item row="0" column="0">
18    <widget class="QGroupBox" name="groupBox">
19     <property name="title">
20      <string>GroupBox</string>
21     </property>
22     <layout class="QGridLayout" name="gridLayout_3">
23      <item row="0" column="0">
24       <layout class="QGridLayout" name="gridLayout_2">
25        <item row="0" column="0">
26         <layout class="QGridLayout" name="gridLayout">
27          <item row="0" column="0">
28           <widget class="QLabel" name="label">
29            <property name="text">
30             <string>x values from pixel # to:</string>
31            </property>
32           </widget>
33          </item>
34          <item row="0" column="1">
35           <widget class="QLabel" name="label_6">
36            <property name="text">
37             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;X&lt;span style=&quot; vertical-align:sub;&quot;&gt;min&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
38            </property>
39           </widget>
40          </item>
41          <item row="0" column="2">
42           <widget class="QLineEdit" name="txtXmin"/>
43          </item>
44          <item row="1" column="0">
45           <widget class="QLabel" name="label_2">
46            <property name="text">
47             <string>y values from pixel # to:</string>
48            </property>
49           </widget>
50          </item>
51          <item row="1" column="1">
52           <widget class="QLabel" name="label_7">
53            <property name="text">
54             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Y&lt;span style=&quot; vertical-align:sub;&quot;&gt;min&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
55            </property>
56           </widget>
57          </item>
58          <item row="1" column="2">
59           <widget class="QLineEdit" name="txtYmin"/>
60          </item>
61          <item row="2" column="0">
62           <widget class="QLabel" name="label_3">
63            <property name="text">
64             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;z value range&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
65            </property>
66           </widget>
67          </item>
68          <item row="2" column="1">
69           <widget class="QLabel" name="label_8">
70            <property name="text">
71             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;From 0 to:&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
72            </property>
73           </widget>
74          </item>
75          <item row="2" column="2">
76           <widget class="QLineEdit" name="txtZmax"/>
77          </item>
78         </layout>
79        </item>
80        <item row="0" column="1">
81         <layout class="QFormLayout" name="formLayout_2">
82          <item row="0" column="0">
83           <widget class="QLabel" name="label_4">
84            <property name="text">
85             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;X&lt;span style=&quot; vertical-align:sub;&quot;&gt;max&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
86            </property>
87           </widget>
88          </item>
89          <item row="0" column="1">
90           <widget class="QLineEdit" name="txtXmax"/>
91          </item>
92          <item row="1" column="0">
93           <widget class="QLabel" name="label_5">
94            <property name="text">
95             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Y&lt;span style=&quot; vertical-align:sub;&quot;&gt;max&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
96            </property>
97           </widget>
98          </item>
99          <item row="1" column="1">
100           <widget class="QLineEdit" name="txtYmax"/>
101          </item>
102         </layout>
103        </item>
104       </layout>
105      </item>
106     </layout>
107    </widget>
108   </item>
109   <item row="1" column="0">
110    <widget class="QTextBrowser" name="textBrowser">
111     <property name="enabled">
112      <bool>true</bool>
113     </property>
114     <property name="html">
115      <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
116&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
117p, li { white-space: pre-wrap; }
118&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:7.8pt; font-weight:400; font-style:normal;&quot;&gt;
119&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Note&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;:&lt;/span&gt;&lt;/p&gt;
120&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;Recommend to use an image with 8 bit Grey scale (and with No. of pixels &amp;lt; 300 x 300).&lt;/span&gt;&lt;/p&gt;
121&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;Otherwise, z = 0.299R + 0.587G + 0.114B.&lt;/span&gt;&lt;/p&gt;
122&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
123     </property>
124    </widget>
125   </item>
126   <item row="2" column="0">
127    <layout class="QHBoxLayout" name="horizontalLayout">
128     <item>
129      <spacer name="horizontalSpacer">
130       <property name="orientation">
131        <enum>Qt::Horizontal</enum>
132       </property>
133       <property name="sizeHint" stdset="0">
134        <size>
135         <width>40</width>
136         <height>20</height>
137        </size>
138       </property>
139      </spacer>
140     </item>
141     <item>
142      <widget class="QDialogButtonBox" name="buttonBox">
143       <property name="orientation">
144        <enum>Qt::Horizontal</enum>
145       </property>
146       <property name="standardButtons">
147        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
148       </property>
149      </widget>
150     </item>
151    </layout>
152   </item>
153  </layout>
154  <zorder>groupBox</zorder>
155  <zorder>buttonBox</zorder>
156  <zorder>textBrowser</zorder>
157  <zorder>horizontalSpacer</zorder>
158 </widget>
159 <resources/>
160 <connections>
161  <connection>
162   <sender>buttonBox</sender>
163   <signal>accepted()</signal>
164   <receiver>ImageViewerOptionsUI</receiver>
165   <slot>accept()</slot>
166   <hints>
167    <hint type="sourcelabel">
168     <x>248</x>
169     <y>254</y>
170    </hint>
171    <hint type="destinationlabel">
172     <x>157</x>
173     <y>274</y>
174    </hint>
175   </hints>
176  </connection>
177  <connection>
178   <sender>buttonBox</sender>
179   <signal>rejected()</signal>
180   <receiver>ImageViewerOptionsUI</receiver>
181   <slot>reject()</slot>
182   <hints>
183    <hint type="sourcelabel">
184     <x>316</x>
185     <y>260</y>
186    </hint>
187    <hint type="destinationlabel">
188     <x>286</x>
189     <y>274</y>
190    </hint>
191   </hints>
192  </connection>
193 </connections>
194</ui>
Note: See TracBrowser for help on using the repository browser.