Warning, /office/calligra/libs/widgets/KoCsvImportDialog.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 <author>Inge Wallin <inge@lysator.liu.se></author> 0004 <comment>This file is part of the KDE project 0005 Copyright 2005 Inge Wallin <inge@lysator.liu.se> 0006 0007 This library is free software; you can redistribute it and/or 0008 modify it under the terms of the GNU Library General Public 0009 License as published by the Free Software Foundation; either 0010 version 2 of the License, or (at your option) any later version. 0011 0012 This library is distributed in the hope that it will be useful, 0013 but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 Library General Public License for more details. 0016 0017 You should have received a copy of the GNU Library General Public License 0018 along with this library; see the file COPYING.LIB. If not, write to 0019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0020 Boston, MA 02110-1301, USA. 0021 </comment> 0022 <class>KoCsvImportWidget</class> 0023 <widget class="QWidget" name="KoCsvImportWidget"> 0024 <property name="geometry"> 0025 <rect> 0026 <x>0</x> 0027 <y>0</y> 0028 <width>647</width> 0029 <height>475</height> 0030 </rect> 0031 </property> 0032 <property name="sizePolicy"> 0033 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 0034 <horstretch>0</horstretch> 0035 <verstretch>0</verstretch> 0036 </sizepolicy> 0037 </property> 0038 <layout class="QVBoxLayout"> 0039 <item> 0040 <widget class="QTabWidget" name="m_tabWidget"> 0041 <property name="sizePolicy"> 0042 <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> 0043 <horstretch>0</horstretch> 0044 <verstretch>0</verstretch> 0045 </sizepolicy> 0046 </property> 0047 <property name="currentIndex"> 0048 <number>0</number> 0049 </property> 0050 <widget class="QWidget" name="m_dataTab"> 0051 <attribute name="title"> 0052 <string>Data</string> 0053 </attribute> 0054 <layout class="QVBoxLayout"> 0055 <item> 0056 <layout class="QHBoxLayout"> 0057 <property name="margin"> 0058 <number>0</number> 0059 </property> 0060 <item> 0061 <widget class="QLabel" name="textLabel1_3"> 0062 <property name="text"> 0063 <string>E&ncoding:</string> 0064 </property> 0065 <property name="textFormat"> 0066 <enum>Qt::PlainText</enum> 0067 </property> 0068 <property name="buddy"> 0069 <cstring>comboBoxEncoding</cstring> 0070 </property> 0071 </widget> 0072 </item> 0073 <item> 0074 <widget class="KComboBox" name="comboBoxEncoding"> 0075 <property name="editable"> 0076 <bool>true</bool> 0077 </property> 0078 </widget> 0079 </item> 0080 <item> 0081 <spacer> 0082 <property name="orientation"> 0083 <enum>Qt::Horizontal</enum> 0084 </property> 0085 <property name="sizeType"> 0086 <enum>QSizePolicy::Expanding</enum> 0087 </property> 0088 <property name="sizeHint" stdset="0"> 0089 <size> 0090 <width>106</width> 0091 <height>20</height> 0092 </size> 0093 </property> 0094 </spacer> 0095 </item> 0096 </layout> 0097 </item> 0098 <item> 0099 <widget class="QCheckBox" name="m_firstRowHeader"> 0100 <property name="sizePolicy"> 0101 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 0102 <horstretch>0</horstretch> 0103 <verstretch>0</verstretch> 0104 </sizepolicy> 0105 </property> 0106 <property name="text"> 0107 <string>First row contains headers</string> 0108 </property> 0109 </widget> 0110 </item> 0111 <item> 0112 <widget class="QCheckBox" name="m_firstColHeader"> 0113 <property name="sizePolicy"> 0114 <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> 0115 <horstretch>0</horstretch> 0116 <verstretch>0</verstretch> 0117 </sizepolicy> 0118 </property> 0119 <property name="text"> 0120 <string>First column contains headers</string> 0121 </property> 0122 </widget> 0123 </item> 0124 <item> 0125 <spacer> 0126 <property name="orientation"> 0127 <enum>Qt::Vertical</enum> 0128 </property> 0129 <property name="sizeType"> 0130 <enum>QSizePolicy::Expanding</enum> 0131 </property> 0132 <property name="sizeHint" stdset="0"> 0133 <size> 0134 <width>20</width> 0135 <height>40</height> 0136 </size> 0137 </property> 0138 </spacer> 0139 </item> 0140 </layout> 0141 </widget> 0142 <widget class="QWidget" name="m_formatTab"> 0143 <attribute name="title"> 0144 <string>Format</string> 0145 </attribute> 0146 <layout class="QGridLayout"> 0147 <item row="0" column="0" rowspan="4"> 0148 <widget class="QGroupBox" name="m_delimiterBox"> 0149 <property name="sizePolicy"> 0150 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 0151 <horstretch>0</horstretch> 0152 <verstretch>0</verstretch> 0153 </sizepolicy> 0154 </property> 0155 <property name="title"> 0156 <string>Delimiter</string> 0157 </property> 0158 <layout class="QGridLayout"> 0159 <item row="0" column="0"> 0160 <widget class="QRadioButton" name="m_radioComma"> 0161 <property name="text"> 0162 <string>Comma</string> 0163 </property> 0164 <property name="checked"> 0165 <bool>true</bool> 0166 </property> 0167 </widget> 0168 </item> 0169 <item row="0" column="1"> 0170 <widget class="QRadioButton" name="m_radioSemicolon"> 0171 <property name="text"> 0172 <string>Semicolon</string> 0173 </property> 0174 </widget> 0175 </item> 0176 <item row="0" column="2"> 0177 <widget class="QRadioButton" name="m_radioOther"> 0178 <property name="text"> 0179 <string>Other</string> 0180 </property> 0181 </widget> 0182 </item> 0183 <item row="1" column="0"> 0184 <widget class="QRadioButton" name="m_radioTab"> 0185 <property name="text"> 0186 <string>Tabulator</string> 0187 </property> 0188 </widget> 0189 </item> 0190 <item row="1" column="1"> 0191 <widget class="QRadioButton" name="m_radioSpace"> 0192 <property name="text"> 0193 <string>Space</string> 0194 </property> 0195 </widget> 0196 </item> 0197 <item row="1" column="2"> 0198 <widget class="QLineEdit" name="m_delimiterEdit"> 0199 <property name="maximumSize"> 0200 <size> 0201 <width>50</width> 0202 <height>16777215</height> 0203 </size> 0204 </property> 0205 <property name="maxLength"> 0206 <number>10</number> 0207 </property> 0208 </widget> 0209 </item> 0210 </layout> 0211 </widget> 0212 </item> 0213 <item row="0" column="1" rowspan="5"> 0214 <spacer> 0215 <property name="orientation"> 0216 <enum>Qt::Horizontal</enum> 0217 </property> 0218 <property name="sizeType"> 0219 <enum>QSizePolicy::Fixed</enum> 0220 </property> 0221 <property name="sizeHint" stdset="0"> 0222 <size> 0223 <width>20</width> 0224 <height>111</height> 0225 </size> 0226 </property> 0227 </spacer> 0228 </item> 0229 <item row="0" column="2"> 0230 <widget class="QLabel" name="label2"> 0231 <property name="sizePolicy"> 0232 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 0233 <horstretch>0</horstretch> 0234 <verstretch>0</verstretch> 0235 </sizepolicy> 0236 </property> 0237 <property name="text"> 0238 <string>Text&quote:</string> 0239 </property> 0240 <property name="buddy"> 0241 <cstring>m_comboQuote</cstring> 0242 </property> 0243 </widget> 0244 </item> 0245 <item row="0" column="3" colspan="2"> 0246 <widget class="QComboBox" name="m_comboQuote"> 0247 <property name="sizePolicy"> 0248 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 0249 <horstretch>0</horstretch> 0250 <verstretch>0</verstretch> 0251 </sizepolicy> 0252 </property> 0253 <item> 0254 <property name="text"> 0255 <string>"</string> 0256 </property> 0257 </item> 0258 <item> 0259 <property name="text"> 0260 <string>'</string> 0261 </property> 0262 </item> 0263 <item> 0264 <property name="text"> 0265 <string>None</string> 0266 </property> 0267 </item> 0268 </widget> 0269 </item> 0270 <item row="0" column="5" rowspan="5"> 0271 <spacer> 0272 <property name="orientation"> 0273 <enum>Qt::Horizontal</enum> 0274 </property> 0275 <property name="sizeType"> 0276 <enum>QSizePolicy::Expanding</enum> 0277 </property> 0278 <property name="sizeHint" stdset="0"> 0279 <size> 0280 <width>90</width> 0281 <height>121</height> 0282 </size> 0283 </property> 0284 </spacer> 0285 </item> 0286 <item row="1" column="2"> 0287 <widget class="QLabel" name="label3"> 0288 <property name="text"> 0289 <string>Decimal symbol:</string> 0290 </property> 0291 <property name="buddy"> 0292 <cstring>m_decimalSymbol</cstring> 0293 </property> 0294 </widget> 0295 </item> 0296 <item row="1" column="4"> 0297 <widget class="QLineEdit" name="m_decimalSymbol"> 0298 <property name="sizePolicy"> 0299 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 0300 <horstretch>0</horstretch> 0301 <verstretch>0</verstretch> 0302 </sizepolicy> 0303 </property> 0304 <property name="maximumSize"> 0305 <size> 0306 <width>30</width> 0307 <height>16777215</height> 0308 </size> 0309 </property> 0310 <property name="maxLength"> 0311 <number>1</number> 0312 </property> 0313 </widget> 0314 </item> 0315 <item row="2" column="2" colspan="2"> 0316 <widget class="QLabel" name="label4"> 0317 <property name="text"> 0318 <string>Thousands separator:</string> 0319 </property> 0320 <property name="buddy"> 0321 <cstring>m_thousandsSeparator</cstring> 0322 </property> 0323 </widget> 0324 </item> 0325 <item row="2" column="4"> 0326 <widget class="QLineEdit" name="m_thousandsSeparator"> 0327 <property name="sizePolicy"> 0328 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 0329 <horstretch>0</horstretch> 0330 <verstretch>0</verstretch> 0331 </sizepolicy> 0332 </property> 0333 <property name="maximumSize"> 0334 <size> 0335 <width>30</width> 0336 <height>16777215</height> 0337 </size> 0338 </property> 0339 <property name="maxLength"> 0340 <number>1</number> 0341 </property> 0342 </widget> 0343 </item> 0344 <item row="3" column="2" colspan="3"> 0345 <spacer> 0346 <property name="orientation"> 0347 <enum>Qt::Vertical</enum> 0348 </property> 0349 <property name="sizeType"> 0350 <enum>QSizePolicy::Expanding</enum> 0351 </property> 0352 <property name="sizeHint" stdset="0"> 0353 <size> 0354 <width>211</width> 0355 <height>5</height> 0356 </size> 0357 </property> 0358 </spacer> 0359 </item> 0360 <item row="4" column="0"> 0361 <widget class="QCheckBox" name="m_ignoreDuplicates"> 0362 <property name="text"> 0363 <string>Ignore duplicate delimiters</string> 0364 </property> 0365 </widget> 0366 </item> 0367 <item row="4" column="2"> 0368 <widget class="QLabel" name="label1"> 0369 <property name="text"> 0370 <string>&Format:</string> 0371 </property> 0372 <property name="buddy"> 0373 <cstring>m_formatComboBox</cstring> 0374 </property> 0375 </widget> 0376 </item> 0377 <item row="4" column="3" colspan="2"> 0378 <widget class="KComboBox" name="m_formatComboBox"/> 0379 </item> 0380 </layout> 0381 </widget> 0382 <widget class="QWidget" name="m_rangesTab"> 0383 <attribute name="title"> 0384 <string>Ranges</string> 0385 </attribute> 0386 <layout class="QGridLayout"> 0387 <item row="2" column="5"> 0388 <widget class="QPushButton" name="m_updateButton"> 0389 <property name="text"> 0390 <string>Update</string> 0391 </property> 0392 </widget> 0393 </item> 0394 <item row="2" column="4"> 0395 <spacer> 0396 <property name="orientation"> 0397 <enum>Qt::Horizontal</enum> 0398 </property> 0399 <property name="sizeType"> 0400 <enum>QSizePolicy::Expanding</enum> 0401 </property> 0402 <property name="sizeHint" stdset="0"> 0403 <size> 0404 <width>71</width> 0405 <height>20</height> 0406 </size> 0407 </property> 0408 </spacer> 0409 </item> 0410 <item row="2" column="0" colspan="4"> 0411 <spacer> 0412 <property name="orientation"> 0413 <enum>Qt::Horizontal</enum> 0414 </property> 0415 <property name="sizeType"> 0416 <enum>QSizePolicy::Expanding</enum> 0417 </property> 0418 <property name="sizeHint" stdset="0"> 0419 <size> 0420 <width>611</width> 0421 <height>20</height> 0422 </size> 0423 </property> 0424 </spacer> 0425 </item> 0426 <item row="1" column="4" colspan="2"> 0427 <spacer> 0428 <property name="orientation"> 0429 <enum>Qt::Horizontal</enum> 0430 </property> 0431 <property name="sizeType"> 0432 <enum>QSizePolicy::Expanding</enum> 0433 </property> 0434 <property name="sizeHint" stdset="0"> 0435 <size> 0436 <width>468</width> 0437 <height>20</height> 0438 </size> 0439 </property> 0440 </spacer> 0441 </item> 0442 <item row="1" column="0"> 0443 <widget class="QLabel" name="TextLabel3_2"> 0444 <property name="sizePolicy"> 0445 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 0446 <horstretch>0</horstretch> 0447 <verstretch>0</verstretch> 0448 </sizepolicy> 0449 </property> 0450 <property name="frameShape"> 0451 <enum>QFrame::NoFrame</enum> 0452 </property> 0453 <property name="frameShadow"> 0454 <enum>QFrame::Plain</enum> 0455 </property> 0456 <property name="text"> 0457 <string>Import columns:</string> 0458 </property> 0459 </widget> 0460 </item> 0461 <item row="0" column="0"> 0462 <widget class="QLabel" name="TextLabel3"> 0463 <property name="sizePolicy"> 0464 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 0465 <horstretch>0</horstretch> 0466 <verstretch>0</verstretch> 0467 </sizepolicy> 0468 </property> 0469 <property name="frameShape"> 0470 <enum>QFrame::NoFrame</enum> 0471 </property> 0472 <property name="frameShadow"> 0473 <enum>QFrame::Plain</enum> 0474 </property> 0475 <property name="text"> 0476 <string>Import lines:</string> 0477 </property> 0478 </widget> 0479 </item> 0480 <item row="1" column="3"> 0481 <widget class="QSpinBox" name="m_colEnd"/> 0482 </item> 0483 <item row="1" column="2"> 0484 <widget class="QLabel" name="textLabel1_2"> 0485 <property name="text"> 0486 <string>to</string> 0487 </property> 0488 <property name="textFormat"> 0489 <enum>Qt::AutoText</enum> 0490 </property> 0491 <property name="alignment"> 0492 <set>Qt::AlignCenter</set> 0493 </property> 0494 <property name="wordWrap"> 0495 <bool>true</bool> 0496 </property> 0497 </widget> 0498 </item> 0499 <item row="1" column="1"> 0500 <widget class="QSpinBox" name="m_colStart"> 0501 <property name="value"> 0502 <number>1</number> 0503 </property> 0504 </widget> 0505 </item> 0506 <item row="0" column="2"> 0507 <widget class="QLabel" name="textLabel1"> 0508 <property name="text"> 0509 <string>to</string> 0510 </property> 0511 <property name="textFormat"> 0512 <enum>Qt::AutoText</enum> 0513 </property> 0514 <property name="alignment"> 0515 <set>Qt::AlignCenter</set> 0516 </property> 0517 <property name="wordWrap"> 0518 <bool>true</bool> 0519 </property> 0520 </widget> 0521 </item> 0522 <item row="0" column="1"> 0523 <widget class="QSpinBox" name="m_rowStart"> 0524 <property name="value"> 0525 <number>1</number> 0526 </property> 0527 </widget> 0528 </item> 0529 <item row="0" column="3"> 0530 <widget class="QSpinBox" name="m_rowEnd"/> 0531 </item> 0532 <item row="0" column="4" colspan="2"> 0533 <spacer> 0534 <property name="orientation"> 0535 <enum>Qt::Horizontal</enum> 0536 </property> 0537 <property name="sizeType"> 0538 <enum>QSizePolicy::Expanding</enum> 0539 </property> 0540 <property name="sizeHint" stdset="0"> 0541 <size> 0542 <width>468</width> 0543 <height>20</height> 0544 </size> 0545 </property> 0546 </spacer> 0547 </item> 0548 </layout> 0549 </widget> 0550 </widget> 0551 </item> 0552 <item> 0553 <widget class="QTableWidget" name="m_sheet"> 0554 <property name="sizePolicy"> 0555 <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> 0556 <horstretch>0</horstretch> 0557 <verstretch>0</verstretch> 0558 </sizepolicy> 0559 </property> 0560 <property name="numRows" stdset="0"> 0561 <number>0</number> 0562 </property> 0563 <property name="numCols" stdset="0"> 0564 <number>0</number> 0565 </property> 0566 </widget> 0567 </item> 0568 </layout> 0569 </widget> 0570 <customwidgets> 0571 <customwidget> 0572 <class>KComboBox</class> 0573 <extends>QComboBox</extends> 0574 <header>kcombobox.h</header> 0575 </customwidget> 0576 </customwidgets> 0577 <resources/> 0578 <connections/> 0579 </ui>