Warning, /education/kstars/kstars/dialogs/catalogcsvimport.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>CatalogCSVImport</class> 0004 <widget class="QDialog" name="CatalogCSVImport"> 0005 <property name="geometry"> 0006 <rect> 0007 <x>0</x> 0008 <y>0</y> 0009 <width>887</width> 0010 <height>456</height> 0011 </rect> 0012 </property> 0013 <property name="windowTitle"> 0014 <string>CSV Import</string> 0015 </property> 0016 <layout class="QVBoxLayout" name="verticalLayout"> 0017 <item> 0018 <layout class="QHBoxLayout" name="horizontalLayout_5"> 0019 <property name="topMargin"> 0020 <number>0</number> 0021 </property> 0022 <item> 0023 <widget class="QGroupBox" name="groupBox"> 0024 <property name="sizePolicy"> 0025 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 0026 <horstretch>0</horstretch> 0027 <verstretch>0</verstretch> 0028 </sizepolicy> 0029 </property> 0030 <property name="minimumSize"> 0031 <size> 0032 <width>0</width> 0033 <height>0</height> 0034 </size> 0035 </property> 0036 <property name="title"> 0037 <string>Input</string> 0038 </property> 0039 <layout class="QGridLayout" name="gridLayout"> 0040 <item row="2" column="4"> 0041 <widget class="QLabel" name="obj_count"> 0042 <property name="text"> 0043 <string/> 0044 </property> 0045 </widget> 0046 </item> 0047 <item row="1" column="8"> 0048 <widget class="QLabel" name="label_3"> 0049 <property name="text"> 0050 <string>lines</string> 0051 </property> 0052 </widget> 0053 </item> 0054 <item row="2" column="1" colspan="3"> 0055 <widget class="QLabel" name="file_path_label"> 0056 <property name="text"> 0057 <string/> 0058 </property> 0059 </widget> 0060 </item> 0061 <item row="1" column="5"> 0062 <spacer name="horizontalSpacer"> 0063 <property name="orientation"> 0064 <enum>Qt::Horizontal</enum> 0065 </property> 0066 <property name="sizeHint" stdset="0"> 0067 <size> 0068 <width>40</width> 0069 <height>20</height> 0070 </size> 0071 </property> 0072 </spacer> 0073 </item> 0074 <item row="1" column="6"> 0075 <widget class="QLabel" name="label_2"> 0076 <property name="text"> 0077 <string>Skip first:</string> 0078 </property> 0079 </widget> 0080 </item> 0081 <item row="1" column="3"> 0082 <widget class="QLabel" name="label_4"> 0083 <property name="text"> 0084 <string>Separator:</string> 0085 </property> 0086 </widget> 0087 </item> 0088 <item row="1" column="1"> 0089 <widget class="QLineEdit" name="comment_prefix"> 0090 <property name="sizePolicy"> 0091 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 0092 <horstretch>0</horstretch> 0093 <verstretch>0</verstretch> 0094 </sizepolicy> 0095 </property> 0096 <property name="minimumSize"> 0097 <size> 0098 <width>100</width> 0099 <height>0</height> 0100 </size> 0101 </property> 0102 <property name="maximumSize"> 0103 <size> 0104 <width>1000</width> 0105 <height>16777215</height> 0106 </size> 0107 </property> 0108 <property name="text"> 0109 <string>#</string> 0110 </property> 0111 <property name="maxLength"> 0112 <number>1</number> 0113 </property> 0114 </widget> 0115 </item> 0116 <item row="1" column="2"> 0117 <spacer name="horizontalSpacer_2"> 0118 <property name="orientation"> 0119 <enum>Qt::Horizontal</enum> 0120 </property> 0121 <property name="sizeHint" stdset="0"> 0122 <size> 0123 <width>40</width> 0124 <height>20</height> 0125 </size> 0126 </property> 0127 </spacer> 0128 </item> 0129 <item row="1" column="4"> 0130 <widget class="QLineEdit" name="separator"> 0131 <property name="maximumSize"> 0132 <size> 0133 <width>16777176</width> 0134 <height>16777215</height> 0135 </size> 0136 </property> 0137 <property name="text"> 0138 <string>,</string> 0139 </property> 0140 <property name="maxLength"> 0141 <number>1</number> 0142 </property> 0143 </widget> 0144 </item> 0145 <item row="1" column="7"> 0146 <widget class="QSpinBox" name="skip"/> 0147 </item> 0148 <item row="2" column="0"> 0149 <widget class="QPushButton" name="file_select_button"> 0150 <property name="text"> 0151 <string>Select/Read...</string> 0152 </property> 0153 </widget> 0154 </item> 0155 <item row="1" column="0"> 0156 <widget class="QLabel" name="label"> 0157 <property name="text"> 0158 <string>Comment prefix:</string> 0159 </property> 0160 </widget> 0161 </item> 0162 </layout> 0163 </widget> 0164 </item> 0165 <item> 0166 <widget class="QGroupBox" name="groupBox_2"> 0167 <property name="title"> 0168 <string>Coordinate Units</string> 0169 </property> 0170 <layout class="QHBoxLayout" name="horizontalLayout_4"> 0171 <item> 0172 <layout class="QHBoxLayout" name="horizontalLayout_3"> 0173 <item> 0174 <layout class="QVBoxLayout" name="verticalLayout_3"> 0175 <item> 0176 <widget class="QLabel" name="label_6"> 0177 <property name="text"> 0178 <string>RA:</string> 0179 </property> 0180 </widget> 0181 </item> 0182 <item> 0183 <widget class="QComboBox" name="ra_units"/> 0184 </item> 0185 </layout> 0186 </item> 0187 <item> 0188 <layout class="QVBoxLayout" name="verticalLayout_5"> 0189 <item> 0190 <widget class="QLabel" name="label_7"> 0191 <property name="text"> 0192 <string>Dec:</string> 0193 </property> 0194 </widget> 0195 </item> 0196 <item> 0197 <widget class="QComboBox" name="dec_units"/> 0198 </item> 0199 </layout> 0200 </item> 0201 </layout> 0202 </item> 0203 </layout> 0204 </widget> 0205 </item> 0206 </layout> 0207 </item> 0208 <item> 0209 <layout class="QHBoxLayout" name="horizontalLayout_2"> 0210 <property name="topMargin"> 0211 <number>0</number> 0212 </property> 0213 <item> 0214 <widget class="QGroupBox" name="column_mapping"> 0215 <property name="sizePolicy"> 0216 <sizepolicy hsizetype="Expanding" vsizetype="Minimum"> 0217 <horstretch>0</horstretch> 0218 <verstretch>0</verstretch> 0219 </sizepolicy> 0220 </property> 0221 <property name="title"> 0222 <string>Mapping</string> 0223 </property> 0224 </widget> 0225 </item> 0226 <item> 0227 <widget class="QGroupBox" name="type_mapping"> 0228 <property name="maximumSize"> 0229 <size> 0230 <width>300</width> 0231 <height>16777215</height> 0232 </size> 0233 </property> 0234 <property name="title"> 0235 <string>Type Mapping</string> 0236 </property> 0237 <layout class="QHBoxLayout" name="horizontalLayout"> 0238 <item> 0239 <widget class="QTableWidget" name="type_table"> 0240 <property name="maximumSize"> 0241 <size> 0242 <width>16777215</width> 0243 <height>16777215</height> 0244 </size> 0245 </property> 0246 </widget> 0247 </item> 0248 <item> 0249 <layout class="QVBoxLayout" name="verticalLayout_2"> 0250 <property name="leftMargin"> 0251 <number>0</number> 0252 </property> 0253 <item> 0254 <widget class="QPushButton" name="add_map"> 0255 <property name="icon"> 0256 <iconset theme="list-add"> 0257 <normaloff>.</normaloff>.</iconset> 0258 </property> 0259 </widget> 0260 </item> 0261 <item> 0262 <widget class="QPushButton" name="remove_map"> 0263 <property name="icon"> 0264 <iconset theme="list-remove"> 0265 <normaloff>.</normaloff>.</iconset> 0266 </property> 0267 </widget> 0268 </item> 0269 <item> 0270 <spacer name="verticalSpacer"> 0271 <property name="orientation"> 0272 <enum>Qt::Vertical</enum> 0273 </property> 0274 <property name="sizeHint" stdset="0"> 0275 <size> 0276 <width>20</width> 0277 <height>40</height> 0278 </size> 0279 </property> 0280 </spacer> 0281 </item> 0282 </layout> 0283 </item> 0284 </layout> 0285 </widget> 0286 </item> 0287 </layout> 0288 </item> 0289 <item> 0290 <layout class="QHBoxLayout" name="horizontalLayout_6"> 0291 <property name="bottomMargin"> 0292 <number>0</number> 0293 </property> 0294 <item> 0295 <widget class="QPushButton" name="preview_button"> 0296 <property name="text"> 0297 <string>Preview</string> 0298 </property> 0299 </widget> 0300 </item> 0301 <item> 0302 <spacer name="horizontalSpacer_3"> 0303 <property name="orientation"> 0304 <enum>Qt::Horizontal</enum> 0305 </property> 0306 <property name="sizeHint" stdset="0"> 0307 <size> 0308 <width>40</width> 0309 <height>20</height> 0310 </size> 0311 </property> 0312 </spacer> 0313 </item> 0314 </layout> 0315 </item> 0316 <item> 0317 <widget class="QTableView" name="preview"/> 0318 </item> 0319 <item> 0320 <widget class="QDialogButtonBox" name="buttonBox"> 0321 <property name="orientation"> 0322 <enum>Qt::Horizontal</enum> 0323 </property> 0324 <property name="standardButtons"> 0325 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 0326 </property> 0327 </widget> 0328 </item> 0329 </layout> 0330 </widget> 0331 <resources/> 0332 <connections> 0333 <connection> 0334 <sender>buttonBox</sender> 0335 <signal>accepted()</signal> 0336 <receiver>CatalogCSVImport</receiver> 0337 <slot>accept()</slot> 0338 <hints> 0339 <hint type="sourcelabel"> 0340 <x>248</x> 0341 <y>254</y> 0342 </hint> 0343 <hint type="destinationlabel"> 0344 <x>157</x> 0345 <y>274</y> 0346 </hint> 0347 </hints> 0348 </connection> 0349 <connection> 0350 <sender>buttonBox</sender> 0351 <signal>rejected()</signal> 0352 <receiver>CatalogCSVImport</receiver> 0353 <slot>reject()</slot> 0354 <hints> 0355 <hint type="sourcelabel"> 0356 <x>316</x> 0357 <y>260</y> 0358 </hint> 0359 <hint type="destinationlabel"> 0360 <x>286</x> 0361 <y>274</y> 0362 </hint> 0363 </hints> 0364 </connection> 0365 </connections> 0366 </ui>