Warning, /education/kstars/kstars/dialogs/addcatalogobject.ui is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <ui version="4.0"> 0003 <class>AddCatalogObject</class> 0004 <widget class="QDialog" name="AddCatalogObject"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>457</width> 0010 <height>580</height> 0011 </rect> 0012 </property> 0013 <property name="windowTitle"> 0014 <string>Add/Edit DSO</string> 0015 </property> 0016 <layout class="QVBoxLayout" name="verticalLayout"> 0017 <item> 0018 <widget class="QGroupBox" name="groupBox"> 0019 <property name="title"> 0020 <string>Basics</string> 0021 </property> 0022 <layout class="QFormLayout" name="formLayout"> 0023 <item row="0" column="0"> 0024 <widget class="QLabel" name="label"> 0025 <property name="text"> 0026 <string>Name:</string> 0027 </property> 0028 </widget> 0029 </item> 0030 <item row="0" column="1"> 0031 <widget class="QLineEdit" name="name"> 0032 <property name="placeholderText"> 0033 <string>e.g. PGC 54559</string> 0034 </property> 0035 </widget> 0036 </item> 0037 <item row="1" column="0"> 0038 <widget class="QLabel" name="label_4"> 0039 <property name="text"> 0040 <string>Type:</string> 0041 </property> 0042 </widget> 0043 </item> 0044 <item row="1" column="1"> 0045 <widget class="QComboBox" name="type"/> 0046 </item> 0047 <item row="2" column="0"> 0048 <widget class="QLabel" name="label_5"> 0049 <property name="text"> 0050 <string>RA / Dec (J2000):</string> 0051 </property> 0052 </widget> 0053 </item> 0054 <item row="2" column="1"> 0055 <layout class="QHBoxLayout" name="horizontalLayout"> 0056 <item> 0057 <widget class="dmsBox" name="ra"> 0058 <property name="clearButtonEnabled"> 0059 <bool>true</bool> 0060 </property> 0061 </widget> 0062 </item> 0063 <item> 0064 <widget class="QLabel" name="label_6"> 0065 <property name="sizePolicy"> 0066 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 0067 <horstretch>0</horstretch> 0068 <verstretch>0</verstretch> 0069 </sizepolicy> 0070 </property> 0071 <property name="text"> 0072 <string>/</string> 0073 </property> 0074 <property name="alignment"> 0075 <set>Qt::AlignCenter</set> 0076 </property> 0077 </widget> 0078 </item> 0079 <item> 0080 <widget class="dmsBox" name="dec"> 0081 <property name="clearButtonEnabled"> 0082 <bool>true</bool> 0083 </property> 0084 </widget> 0085 </item> 0086 </layout> 0087 </item> 0088 <item row="5" column="0"> 0089 <widget class="QLabel" name="label_11"> 0090 <property name="text"> 0091 <string>Apparent magnitude:</string> 0092 </property> 0093 </widget> 0094 </item> 0095 <item row="5" column="1"> 0096 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0097 <item> 0098 <widget class="QDoubleSpinBox" name="mag"> 0099 <property name="minimum"> 0100 <double>-1.000000000000000</double> 0101 </property> 0102 <property name="maximum"> 0103 <double>30.000000000000000</double> 0104 </property> 0105 </widget> 0106 </item> 0107 <item> 0108 <widget class="QCheckBox" name="magUnknown"> 0109 <property name="toolTip"> 0110 <string>Check if magnitude is unknown</string> 0111 </property> 0112 <property name="text"> 0113 <string>Unknown</string> 0114 </property> 0115 </widget> 0116 </item> 0117 </layout> 0118 </item> 0119 </layout> 0120 </widget> 0121 </item> 0122 <item> 0123 <widget class="QGroupBox" name="groupBox_2"> 0124 <property name="title"> 0125 <string>Optional</string> 0126 </property> 0127 <layout class="QVBoxLayout" name="verticalLayout_2"> 0128 <item> 0129 <widget class="QGroupBox" name="groupBox_3"> 0130 <property name="title"> 0131 <string>Size Info in Arcminutes</string> 0132 </property> 0133 <layout class="QHBoxLayout" name="horizontalLayout_3"> 0134 <item> 0135 <layout class="QFormLayout" name="formLayout_2"> 0136 <item row="0" column="1"> 0137 <widget class="QDoubleSpinBox" name="maj"> 0138 <property name="maximum"> 0139 <double>600.000000000000000</double> 0140 </property> 0141 </widget> 0142 </item> 0143 <item row="0" column="0"> 0144 <widget class="QLabel" name="label_8"> 0145 <property name="text"> 0146 <string>Major axis:</string> 0147 </property> 0148 </widget> 0149 </item> 0150 </layout> 0151 </item> 0152 <item> 0153 <layout class="QFormLayout" name="formLayout_4"> 0154 <item row="0" column="0"> 0155 <widget class="QLabel" name="label_7"> 0156 <property name="text"> 0157 <string>Minor axis:</string> 0158 </property> 0159 </widget> 0160 </item> 0161 <item row="0" column="1"> 0162 <widget class="QDoubleSpinBox" name="min"> 0163 <property name="maximum"> 0164 <double>600.000000000000000</double> 0165 </property> 0166 </widget> 0167 </item> 0168 </layout> 0169 </item> 0170 </layout> 0171 </widget> 0172 </item> 0173 <item> 0174 <widget class="QGroupBox" name="groupBox_4"> 0175 <property name="title"> 0176 <string>Misc</string> 0177 </property> 0178 <layout class="QFormLayout" name="formLayout_3"> 0179 <item row="1" column="0"> 0180 <widget class="QLabel" name="label_3"> 0181 <property name="toolTip"> 0182 <string>Some catalog specific identifier, like the NGC number.</string> 0183 </property> 0184 <property name="whatsThis"> 0185 <string>Some catalog specific identifier, like the NGC number.</string> 0186 </property> 0187 <property name="text"> 0188 <string>Catalog identifier:</string> 0189 </property> 0190 </widget> 0191 </item> 0192 <item row="1" column="1"> 0193 <widget class="QLineEdit" name="catalog_identifier"> 0194 <property name="placeholderText"> 0195 <string>e.g. 54559</string> 0196 </property> 0197 </widget> 0198 </item> 0199 <item row="3" column="0"> 0200 <widget class="QLabel" name="label_9"> 0201 <property name="text"> 0202 <string>Flux:</string> 0203 </property> 0204 </widget> 0205 </item> 0206 <item row="3" column="1"> 0207 <widget class="QDoubleSpinBox" name="flux"/> 0208 </item> 0209 <item row="4" column="0"> 0210 <widget class="QLabel" name="label_10"> 0211 <property name="text"> 0212 <string>Position angle (°):</string> 0213 </property> 0214 </widget> 0215 </item> 0216 <item row="4" column="1"> 0217 <widget class="QDoubleSpinBox" name="position_angle"> 0218 <property name="decimals"> 0219 <number>6</number> 0220 </property> 0221 <property name="maximum"> 0222 <double>180.000000000000000</double> 0223 </property> 0224 </widget> 0225 </item> 0226 <item row="0" column="0"> 0227 <widget class="QLabel" name="label_2"> 0228 <property name="text"> 0229 <string>Long name:</string> 0230 </property> 0231 </widget> 0232 </item> 0233 <item row="0" column="1"> 0234 <widget class="QLineEdit" name="long_name"> 0235 <property name="placeholderText"> 0236 <string>e.g. Hoag's Object</string> 0237 </property> 0238 </widget> 0239 </item> 0240 </layout> 0241 </widget> 0242 </item> 0243 </layout> 0244 </widget> 0245 </item> 0246 <item> 0247 <layout class="QHBoxLayout" name="horizontalLayout_4"> 0248 <item> 0249 <widget class="QPushButton" name="guessFromTextButton"> 0250 <property name="toolTip"> 0251 <string>This feature allows you to copy-paste a piece of text from e.g. a website or another app and magically try to infer the contents of this form from it.</string> 0252 </property> 0253 <property name="text"> 0254 <string>Guess from &Text</string> 0255 </property> 0256 </widget> 0257 </item> 0258 <item> 0259 <spacer name="horizontalSpacer"> 0260 <property name="orientation"> 0261 <enum>Qt::Horizontal</enum> 0262 </property> 0263 <property name="sizeHint" stdset="0"> 0264 <size> 0265 <width>40</width> 0266 <height>20</height> 0267 </size> 0268 </property> 0269 </spacer> 0270 </item> 0271 <item> 0272 <widget class="QDialogButtonBox" name="buttonBox"> 0273 <property name="orientation"> 0274 <enum>Qt::Horizontal</enum> 0275 </property> 0276 <property name="standardButtons"> 0277 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 0278 </property> 0279 </widget> 0280 </item> 0281 </layout> 0282 </item> 0283 </layout> 0284 </widget> 0285 <customwidgets> 0286 <customwidget> 0287 <class>dmsBox</class> 0288 <extends>QLineEdit</extends> 0289 <header>widgets/dmsbox.h</header> 0290 <container>1</container> 0291 </customwidget> 0292 </customwidgets> 0293 <tabstops> 0294 <tabstop>name</tabstop> 0295 <tabstop>type</tabstop> 0296 <tabstop>ra</tabstop> 0297 <tabstop>dec</tabstop> 0298 <tabstop>mag</tabstop> 0299 <tabstop>magUnknown</tabstop> 0300 <tabstop>maj</tabstop> 0301 <tabstop>min</tabstop> 0302 <tabstop>long_name</tabstop> 0303 <tabstop>catalog_identifier</tabstop> 0304 <tabstop>flux</tabstop> 0305 <tabstop>position_angle</tabstop> 0306 </tabstops> 0307 <resources/> 0308 <connections> 0309 <connection> 0310 <sender>buttonBox</sender> 0311 <signal>accepted()</signal> 0312 <receiver>AddCatalogObject</receiver> 0313 <slot>accept()</slot> 0314 <hints> 0315 <hint type="sourcelabel"> 0316 <x>254</x> 0317 <y>559</y> 0318 </hint> 0319 <hint type="destinationlabel"> 0320 <x>157</x> 0321 <y>274</y> 0322 </hint> 0323 </hints> 0324 </connection> 0325 <connection> 0326 <sender>buttonBox</sender> 0327 <signal>rejected()</signal> 0328 <receiver>AddCatalogObject</receiver> 0329 <slot>reject()</slot> 0330 <hints> 0331 <hint type="sourcelabel"> 0332 <x>322</x> 0333 <y>559</y> 0334 </hint> 0335 <hint type="destinationlabel"> 0336 <x>286</x> 0337 <y>274</y> 0338 </hint> 0339 </hints> 0340 </connection> 0341 <connection> 0342 <sender>magUnknown</sender> 0343 <signal>toggled(bool)</signal> 0344 <receiver>mag</receiver> 0345 <slot>setDisabled(bool)</slot> 0346 <hints> 0347 <hint type="sourcelabel"> 0348 <x>284</x> 0349 <y>188</y> 0350 </hint> 0351 <hint type="destinationlabel"> 0352 <x>180</x> 0353 <y>189</y> 0354 </hint> 0355 </hints> 0356 </connection> 0357 </connections> 0358 </ui>