Changeset View
Changeset View
Standalone View
Standalone View
kstars/fitsviewer/fitshistogramui.ui
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <class>FITSHistogramUI</class> | 3 | <class>FITSHistogramUI</class> | ||
4 | <widget class="QDialog" name="FITSHistogramUI"> | 4 | <widget class="QDialog" name="FITSHistogramUI"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>640</width> | 9 | <width>212</width> | ||
10 | <height>360</height> | 10 | <height>528</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <property name="sizePolicy"> | 13 | <property name="sizePolicy"> | ||
14 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | 14 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||
15 | <horstretch>0</horstretch> | 15 | <horstretch>0</horstretch> | ||
16 | <verstretch>0</verstretch> | 16 | <verstretch>0</verstretch> | ||
17 | </sizepolicy> | 17 | </sizepolicy> | ||
18 | </property> | 18 | </property> | ||
Show All 11 Lines | |||||
30 | </property> | 30 | </property> | ||
31 | <property name="windowTitle"> | 31 | <property name="windowTitle"> | ||
32 | <string>Histogram</string> | 32 | <string>Histogram</string> | ||
33 | </property> | 33 | </property> | ||
34 | <property name="sizeGripEnabled"> | 34 | <property name="sizeGripEnabled"> | ||
35 | <bool>true</bool> | 35 | <bool>true</bool> | ||
36 | </property> | 36 | </property> | ||
37 | <layout class="QVBoxLayout" name="verticalLayout"> | 37 | <layout class="QVBoxLayout" name="verticalLayout"> | ||
38 | <property name="leftMargin"> | ||||
39 | <number>4</number> | ||||
40 | </property> | ||||
41 | <property name="topMargin"> | ||||
42 | <number>4</number> | ||||
43 | </property> | ||||
44 | <property name="rightMargin"> | ||||
45 | <number>4</number> | ||||
46 | </property> | ||||
47 | <property name="bottomMargin"> | ||||
48 | <number>4</number> | ||||
49 | </property> | ||||
38 | <item> | 50 | <item> | ||
39 | <widget class="QCustomPlot" name="histogramPlot" native="true"> | 51 | <widget class="QCustomPlot" name="histogramPlot" native="true"> | ||
40 | <property name="sizePolicy"> | 52 | <property name="sizePolicy"> | ||
41 | <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> | 53 | <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> | ||
42 | <horstretch>0</horstretch> | 54 | <horstretch>0</horstretch> | ||
43 | <verstretch>0</verstretch> | 55 | <verstretch>0</verstretch> | ||
44 | </sizepolicy> | 56 | </sizepolicy> | ||
45 | </property> | 57 | </property> | ||
46 | <property name="minimumSize"> | 58 | <property name="minimumSize"> | ||
47 | <size> | 59 | <size> | ||
48 | <width>500</width> | 60 | <width>0</width> | ||
49 | <height>200</height> | 61 | <height>200</height> | ||
50 | </size> | 62 | </size> | ||
51 | </property> | 63 | </property> | ||
52 | <property name="maximumSize"> | 64 | <property name="maximumSize"> | ||
53 | <size> | 65 | <size> | ||
54 | <width>16777215</width> | 66 | <width>16777215</width> | ||
55 | <height>16777215</height> | 67 | <height>16777215</height> | ||
56 | </size> | 68 | </size> | ||
57 | </property> | 69 | </property> | ||
58 | </widget> | 70 | </widget> | ||
59 | </item> | 71 | </item> | ||
60 | <item> | 72 | <item> | ||
61 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | 73 | <layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
62 | <item> | 74 | <item> | ||
63 | <layout class="QGridLayout" name="gridLayout_2"> | 75 | <layout class="QGridLayout" name="gridLayout_2"> | ||
64 | <item row="0" column="2"> | 76 | <item row="1" column="1"> | ||
77 | <widget class="QDoubleSpinBox" name="maxEdit"/> | ||||
78 | </item> | ||||
79 | <item row="6" column="0"> | ||||
80 | <widget class="QLabel" name="minLabel_2"> | ||||
81 | <property name="text"> | ||||
82 | <string>Mean:</string> | ||||
83 | </property> | ||||
84 | </widget> | ||||
85 | </item> | ||||
86 | <item row="3" column="0"> | ||||
87 | <widget class="QLabel" name="intensityLabel"> | ||||
88 | <property name="text"> | ||||
89 | <string>Intensity:</string> | ||||
90 | </property> | ||||
91 | </widget> | ||||
92 | </item> | ||||
93 | <item row="1" column="0"> | ||||
94 | <widget class="QDoubleSpinBox" name="minEdit"/> | ||||
95 | </item> | ||||
96 | <item row="0" column="0"> | ||||
65 | <widget class="QLabel" name="minLabel"> | 97 | <widget class="QLabel" name="minLabel"> | ||
66 | <property name="text"> | 98 | <property name="text"> | ||
67 | <string>Min.</string> | 99 | <string>Min.:</string> | ||
68 | </property> | 100 | </property> | ||
69 | </widget> | 101 | </widget> | ||
70 | </item> | 102 | </item> | ||
71 | <item row="1" column="2"> | 103 | <item row="3" column="1"> | ||
72 | <widget class="QLabel" name="maxLabel"> | 104 | <widget class="QLabel" name="frequencyLabel"> | ||
73 | <property name="text"> | 105 | <property name="text"> | ||
74 | <string>Max.</string> | 106 | <string>Frequency:</string> | ||
75 | </property> | 107 | </property> | ||
76 | </widget> | 108 | </widget> | ||
77 | </item> | 109 | </item> | ||
78 | <item row="0" column="1"> | 110 | <item row="4" column="1"> | ||
79 | <widget class="QLineEdit" name="intensityEdit"> | 111 | <widget class="QLineEdit" name="frequencyEdit"> | ||
80 | <property name="sizePolicy"> | 112 | <property name="sizePolicy"> | ||
81 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | 113 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | ||
82 | <horstretch>0</horstretch> | 114 | <horstretch>0</horstretch> | ||
83 | <verstretch>0</verstretch> | 115 | <verstretch>0</verstretch> | ||
84 | </sizepolicy> | 116 | </sizepolicy> | ||
85 | </property> | 117 | </property> | ||
86 | <property name="readOnly"> | 118 | <property name="readOnly"> | ||
87 | <bool>true</bool> | 119 | <bool>true</bool> | ||
88 | </property> | 120 | </property> | ||
89 | </widget> | 121 | </widget> | ||
90 | </item> | 122 | </item> | ||
91 | <item row="0" column="5"> | 123 | <item row="4" column="0"> | ||
92 | <widget class="QLineEdit" name="meanEdit"> | 124 | <widget class="QLineEdit" name="intensityEdit"> | ||
93 | <property name="sizePolicy"> | 125 | <property name="sizePolicy"> | ||
94 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | 126 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | ||
95 | <horstretch>0</horstretch> | 127 | <horstretch>0</horstretch> | ||
96 | <verstretch>0</verstretch> | 128 | <verstretch>0</verstretch> | ||
97 | </sizepolicy> | 129 | </sizepolicy> | ||
98 | </property> | 130 | </property> | ||
99 | <property name="readOnly"> | 131 | <property name="readOnly"> | ||
100 | <bool>true</bool> | 132 | <bool>true</bool> | ||
101 | </property> | 133 | </property> | ||
102 | </widget> | 134 | </widget> | ||
103 | </item> | 135 | </item> | ||
104 | <item row="1" column="1"> | 136 | <item row="0" column="1"> | ||
105 | <widget class="QLineEdit" name="frequencyEdit"> | 137 | <widget class="QLabel" name="maxLabel"> | ||
138 | <property name="text"> | ||||
139 | <string>Max:</string> | ||||
140 | </property> | ||||
141 | </widget> | ||||
142 | </item> | ||||
143 | <item row="7" column="0"> | ||||
144 | <widget class="QLineEdit" name="meanEdit"> | ||||
106 | <property name="sizePolicy"> | 145 | <property name="sizePolicy"> | ||
107 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | 146 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | ||
108 | <horstretch>0</horstretch> | 147 | <horstretch>0</horstretch> | ||
109 | <verstretch>0</verstretch> | 148 | <verstretch>0</verstretch> | ||
110 | </sizepolicy> | 149 | </sizepolicy> | ||
111 | </property> | 150 | </property> | ||
112 | <property name="readOnly"> | 151 | <property name="readOnly"> | ||
113 | <bool>true</bool> | 152 | <bool>true</bool> | ||
114 | </property> | 153 | </property> | ||
115 | </widget> | 154 | </widget> | ||
116 | </item> | 155 | </item> | ||
117 | <item row="1" column="4"> | 156 | <item row="6" column="1"> | ||
118 | <widget class="QLabel" name="maxLabel_2"> | 157 | <widget class="QLabel" name="maxLabel_2"> | ||
119 | <property name="text"> | 158 | <property name="text"> | ||
120 | <string>Median</string> | 159 | <string>Median:</string> | ||
121 | </property> | 160 | </property> | ||
122 | </widget> | 161 | </widget> | ||
123 | </item> | 162 | </item> | ||
124 | <item row="1" column="5"> | 163 | <item row="7" column="1"> | ||
125 | <widget class="QLineEdit" name="medianEdit"> | 164 | <widget class="QLineEdit" name="medianEdit"> | ||
126 | <property name="sizePolicy"> | 165 | <property name="sizePolicy"> | ||
127 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | 166 | <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> | ||
128 | <horstretch>0</horstretch> | 167 | <horstretch>0</horstretch> | ||
129 | <verstretch>0</verstretch> | 168 | <verstretch>0</verstretch> | ||
130 | </sizepolicy> | 169 | </sizepolicy> | ||
131 | </property> | 170 | </property> | ||
132 | <property name="readOnly"> | 171 | <property name="readOnly"> | ||
133 | <bool>true</bool> | 172 | <bool>true</bool> | ||
134 | </property> | 173 | </property> | ||
135 | </widget> | 174 | </widget> | ||
136 | </item> | 175 | </item> | ||
137 | <item row="0" column="0"> | 176 | </layout> | ||
138 | <widget class="QLabel" name="intensityLabel"> | | |||
139 | <property name="text"> | | |||
140 | <string>Intensity:</string> | | |||
141 | </property> | | |||
142 | </widget> | | |||
143 | </item> | | |||
144 | <item row="1" column="0"> | | |||
145 | <widget class="QLabel" name="frequencyLabel"> | | |||
146 | <property name="text"> | | |||
147 | <string>Frequency:</string> | | |||
148 | </property> | | |||
149 | </widget> | | |||
150 | </item> | | |||
151 | <item row="0" column="4"> | | |||
152 | <widget class="QLabel" name="minLabel_2"> | | |||
153 | <property name="text"> | | |||
154 | <string>Mean</string> | | |||
155 | </property> | | |||
156 | </widget> | | |||
157 | </item> | | |||
158 | <item row="1" column="3"> | | |||
159 | <widget class="QDoubleSpinBox" name="maxEdit"/> | | |||
160 | </item> | | |||
161 | <item row="0" column="3"> | | |||
162 | <widget class="QDoubleSpinBox" name="minEdit"/> | | |||
163 | </item> | 177 | </item> | ||
164 | </layout> | 178 | </layout> | ||
165 | </item> | 179 | </item> | ||
166 | <item> | 180 | <item> | ||
167 | <widget class="QGroupBox" name="FITSScaleGroup"> | 181 | <widget class="QGroupBox" name="FITSScaleGroup"> | ||
168 | <property name="sizePolicy"> | 182 | <property name="sizePolicy"> | ||
169 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | 183 | <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> | ||
170 | <horstretch>0</horstretch> | 184 | <horstretch>0</horstretch> | ||
Show All 18 Lines | 199 | <widget class="QRadioButton" name="linearR"> | |||
189 | <property name="checked"> | 203 | <property name="checked"> | ||
190 | <bool>true</bool> | 204 | <bool>true</bool> | ||
191 | </property> | 205 | </property> | ||
192 | </widget> | 206 | </widget> | ||
193 | </item> | 207 | </item> | ||
194 | <item> | 208 | <item> | ||
195 | <widget class="QRadioButton" name="logR"> | 209 | <widget class="QRadioButton" name="logR"> | ||
196 | <property name="text"> | 210 | <property name="text"> | ||
197 | <string>&Logarithmic</string> | 211 | <string>&Log</string> | ||
198 | </property> | 212 | </property> | ||
199 | </widget> | 213 | </widget> | ||
200 | </item> | 214 | </item> | ||
201 | </layout> | 215 | </layout> | ||
202 | </widget> | 216 | </widget> | ||
203 | </item> | 217 | </item> | ||
204 | <item> | 218 | <item> | ||
205 | <spacer name="horizontalSpacer"> | | |||
206 | <property name="orientation"> | | |||
207 | <enum>Qt::Horizontal</enum> | | |||
208 | </property> | | |||
209 | <property name="sizeHint" stdset="0"> | | |||
210 | <size> | | |||
211 | <width>40</width> | | |||
212 | <height>20</height> | | |||
213 | </size> | | |||
214 | </property> | | |||
215 | </spacer> | | |||
216 | </item> | | |||
217 | </layout> | | |||
218 | </item> | | |||
219 | <item> | | |||
220 | <widget class="QDialogButtonBox" name="buttonBox"> | 219 | <widget class="QDialogButtonBox" name="buttonBox"> | ||
221 | <property name="standardButtons"> | 220 | <property name="standardButtons"> | ||
222 | <set>QDialogButtonBox::Apply|QDialogButtonBox::Close</set> | 221 | <set>QDialogButtonBox::Apply|QDialogButtonBox::Close</set> | ||
223 | </property> | 222 | </property> | ||
224 | </widget> | 223 | </widget> | ||
225 | </item> | 224 | </item> | ||
226 | </layout> | 225 | </layout> | ||
227 | </widget> | 226 | </widget> | ||
228 | <customwidgets> | 227 | <customwidgets> | ||
229 | <customwidget> | 228 | <customwidget> | ||
230 | <class>QCustomPlot</class> | 229 | <class>QCustomPlot</class> | ||
231 | <extends>QWidget</extends> | 230 | <extends>QWidget</extends> | ||
232 | <header>auxiliary/qcustomplot.h</header> | 231 | <header>auxiliary/qcustomplot.h</header> | ||
233 | <container>1</container> | 232 | <container>1</container> | ||
234 | </customwidget> | 233 | </customwidget> | ||
235 | </customwidgets> | 234 | </customwidgets> | ||
236 | <resources/> | 235 | <resources/> | ||
237 | <connections> | 236 | <connections/> | ||
238 | <connection> | | |||
239 | <sender>buttonBox</sender> | | |||
240 | <signal>rejected()</signal> | | |||
241 | <receiver>FITSHistogramUI</receiver> | | |||
242 | <slot>reject()</slot> | | |||
243 | <hints> | | |||
244 | <hint type="sourcelabel"> | | |||
245 | <x>589</x> | | |||
246 | <y>336</y> | | |||
247 | </hint> | | |||
248 | <hint type="destinationlabel"> | | |||
249 | <x>579</x> | | |||
250 | <y>357</y> | | |||
251 | </hint> | | |||
252 | </hints> | | |||
253 | </connection> | | |||
254 | </connections> | | |||
255 | </ui> | 237 | </ui> |