[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><html><head/><body><p>X<span style=" vertical-align:sub;">min</span></p></body></html></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><html><head/><body><p>Y<span style=" vertical-align:sub;">min</span></p></body></html></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><html><head/><body><p>z value range</p></body></html></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><html><head/><body><p>From 0 to:</p></body></html></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><html><head/><body><p>X<span style=" vertical-align:sub;">max</span></p></body></html></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><html><head/><body><p>Y<span style=" vertical-align:sub;">max</span></p></body></html></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><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> |
---|
| 116 | <html><head><meta name="qrichtext" content="1" /><style type="text/css"> |
---|
| 117 | p, li { white-space: pre-wrap; } |
---|
| 118 | </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:7.8pt; font-weight:400; font-style:normal;"> |
---|
| 119 | <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt; font-weight:600;">Note</span><span style=" font-size:8pt;">:</span></p> |
---|
| 120 | <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Recommend to use an image with 8 bit Grey scale (and with No. of pixels &lt; 300 x 300).</span></p> |
---|
| 121 | <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Otherwise, z = 0.299R + 0.587G + 0.114B.</span></p> |
---|
| 122 | <p style="-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;"><br /></p></body></html></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> |
---|