search.ui 16.5 KB
Newer Older
Kåre Särs's avatar
Kåre Särs committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>SearchDialog</class>
 <widget class="QWidget" name="SearchDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>634</width>
    <height>204</height>
Kåre Särs's avatar
Kåre Särs committed
11 12
   </rect>
  </property>
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
  <layout class="QVBoxLayout" name="verticalLayout_2">
   <item>
    <layout class="QGridLayout" name="gridLayout" columnstretch="0,0,1,0,0,0,0,0,0">
     <item row="0" column="0">
      <widget class="QToolButton" name="newTabButton">
       <property name="text">
        <string>...</string>
       </property>
      </widget>
     </item>
     <item row="0" column="1" alignment="Qt::AlignRight">
      <widget class="QLabel" name="findLabel">
       <property name="text">
        <string>Find:</string>
       </property>
       <property name="buddy">
        <cstring>searchCombo</cstring>
       </property>
      </widget>
     </item>
     <item row="0" column="2">
      <widget class="QComboBox" name="searchCombo">
       <property name="editable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item row="0" column="3">
      <widget class="QToolButton" name="searchButton">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="toolTip">
        <string>Search</string>
       </property>
       <property name="text">
        <string/>
       </property>
      </widget>
     </item>
     <item row="0" column="4">
      <widget class="QStackedWidget" name="stopAndReplace">
       <property name="sizePolicy">
56
        <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
         <horstretch>0</horstretch>
         <verstretch>0</verstretch>
        </sizepolicy>
       </property>
       <property name="currentIndex">
        <number>0</number>
       </property>
       <widget class="QWidget" name="page_3">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <layout class="QHBoxLayout" name="horizontalLayout">
72 73 74
         <property name="spacing">
          <number>0</number>
         </property>
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QPushButton" name="replaceButton">
           <property name="enabled">
            <bool>false</bool>
           </property>
92 93 94 95 96 97
           <property name="sizePolicy">
            <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
           <property name="text">
            <string>Replace</string>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
       <widget class="QWidget" name="stopButtonPage">
        <property name="sizePolicy">
         <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <layout class="QHBoxLayout" name="horizontalLayout_2">
113 114 115
         <property name="spacing">
          <number>0</number>
         </property>
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QPushButton" name="stopButton">
           <property name="sizePolicy">
            <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
             <horstretch>0</horstretch>
             <verstretch>0</verstretch>
            </sizepolicy>
           </property>
           <property name="text">
            <string>Stop</string>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
      </widget>
     </item>
     <item row="0" column="5" colspan="4">
      <widget class="KComboBox" name="searchPlaceCombo">
       <item>
        <property name="text">
         <string>In Current File</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>in Open Files</string>
        </property>
       </item>
       <item>
        <property name="text">
         <string>in Folder</string>
        </property>
       </item>
      </widget>
     </item>
     <item row="1" column="0">
      <widget class="QToolButton" name="displayOptions">
       <property name="text">
        <string>...</string>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item row="1" column="1" alignment="Qt::AlignRight">
      <widget class="QLabel" name="replaceLabel">
       <property name="text">
        <string>Replace:</string>
       </property>
       <property name="buddy">
        <cstring>replaceCombo</cstring>
       </property>
      </widget>
     </item>
     <item row="1" column="2">
      <widget class="QComboBox" name="replaceCombo">
       <property name="editable">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item row="1" column="3">
      <widget class="QToolButton" name="nextButton">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="toolTip">
        <string>Next</string>
       </property>
       <property name="text">
        <string/>
       </property>
      </widget>
     </item>
     <item row="1" column="4">
      <widget class="QPushButton" name="replaceCheckedBtn">
       <property name="enabled">
        <bool>false</bool>
       </property>
       <property name="text">
        <string>Replace checked</string>
       </property>
      </widget>
     </item>
     <item row="1" column="5">
      <widget class="QToolButton" name="matchCase">
       <property name="toolTip">
        <string>Match Case</string>
       </property>
       <property name="text">
        <string/>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
       <property name="autoRaise">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item row="1" column="6">
      <widget class="QToolButton" name="useRegExp">
       <property name="toolTip">
        <string>Use regular expressions</string>
       </property>
       <property name="text">
        <string/>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
       <property name="autoRaise">
        <bool>true</bool>
       </property>
      </widget>
     </item>
     <item row="1" column="7">
      <spacer name="horizontalSpacer_3">
       <property name="orientation">
        <enum>Qt::Horizontal</enum>
       </property>
       <property name="sizeHint" stdset="0">
        <size>
         <width>13</width>
         <height>20</height>
        </size>
       </property>
      </spacer>
     </item>
     <item row="1" column="8">
      <widget class="QToolButton" name="expandResults">
       <property name="toolTip">
        <string>Expand results</string>
       </property>
       <property name="text">
        <string extracomment="When this is checked the result treeview will be expanded after a search"/>
       </property>
       <property name="checkable">
        <bool>true</bool>
       </property>
       <property name="autoRaise">
        <bool>true</bool>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
Kåre Särs's avatar
Kåre Särs committed
278
    <widget class="QStackedWidget" name="stackedWidget">
279 280 281 282 283 284
     <property name="sizePolicy">
      <sizepolicy hsizetype="Preferred" vsizetype="Minimum">
       <horstretch>0</horstretch>
       <verstretch>0</verstretch>
      </sizepolicy>
     </property>
Kåre Särs's avatar
Kåre Särs committed
285
     <property name="currentIndex">
286
      <number>1</number>
Kåre Särs's avatar
Kåre Särs committed
287
     </property>
288 289
     <widget class="QWidget" name="resultPage">
      <layout class="QVBoxLayout" name="verticalLayout">
290 291 292 293 294 295 296 297 298 299
       <property name="leftMargin">
        <number>0</number>
       </property>
       <property name="topMargin">
        <number>0</number>
       </property>
       <property name="rightMargin">
        <number>0</number>
       </property>
       <property name="bottomMargin">
300 301
        <number>0</number>
       </property>
302
       <item>
303 304 305 306 307 308 309 310 311 312 313 314 315
        <widget class="QTabWidget" name="resultTabWidget">
         <property name="tabsClosable">
          <bool>true</bool>
         </property>
         <property name="movable">
          <bool>true</bool>
         </property>
        </widget>
       </item>
      </layout>
     </widget>
     <widget class="QWidget" name="optionsPage">
      <layout class="QGridLayout" name="optionsLayout">
316 317 318 319 320 321 322 323 324 325
       <property name="leftMargin">
        <number>0</number>
       </property>
       <property name="topMargin">
        <number>0</number>
       </property>
       <property name="rightMargin">
        <number>0</number>
       </property>
       <property name="bottomMargin">
326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
        <number>0</number>
       </property>
       <item row="2" column="0">
        <spacer name="verticalSpacer">
         <property name="orientation">
          <enum>Qt::Vertical</enum>
         </property>
         <property name="sizeHint" stdset="0">
          <size>
           <width>1</width>
           <height>1</height>
          </size>
         </property>
        </spacer>
       </item>
       <item row="0" column="0">
        <widget class="QWidget" name="folderOptions" native="true">
         <property name="sizePolicy">
          <sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
           <horstretch>0</horstretch>
           <verstretch>0</verstretch>
          </sizepolicy>
         </property>
349
         <layout class="QGridLayout" name="gridLayout_2">
350 351 352 353 354 355 356 357 358 359
          <property name="leftMargin">
           <number>0</number>
          </property>
          <property name="topMargin">
           <number>0</number>
          </property>
          <property name="rightMargin">
           <number>0</number>
          </property>
          <property name="bottomMargin">
360 361
           <number>0</number>
          </property>
362
          <item row="0" column="0" colspan="2">
363 364 365 366 367 368
           <widget class="Line" name="line">
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
           </widget>
          </item>
369 370 371 372 373 374 375 376 377 378 379 380 381 382
          <item row="1" column="0">
           <widget class="QLabel" name="folderLabel">
            <property name="text">
             <string>Folder:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
            <property name="buddy">
             <cstring>folderRequester</cstring>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
383 384
           <layout class="QHBoxLayout" name="horizontalLayout_3">
            <item>
385
             <widget class="KUrlComboRequester" name="folderRequester" native="true"/>
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402
            </item>
            <item>
             <widget class="QToolButton" name="folderUpButton">
              <property name="toolTip">
               <string>Go one folder up.</string>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QToolButton" name="currentFolderButton">
              <property name="toolTip">
               <string>Use the current document's path.</string>
              </property>
             </widget>
            </item>
           </layout>
          </item>
403 404 405 406 407 408 409 410 411 412 413 414 415 416
          <item row="2" column="0">
           <widget class="QLabel" name="filterLabel">
            <property name="text">
             <string>Filter:</string>
            </property>
            <property name="alignment">
             <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
            </property>
            <property name="buddy">
             <cstring>filterCombo</cstring>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
417
           <layout class="QHBoxLayout" name="horizontalLayout_5" stretch="10,0,10">
418
            <item>
419 420 421 422 423 424 425 426 427 428 429 430 431
             <widget class="KComboBox" name="filterCombo">
              <property name="editable">
               <bool>true</bool>
              </property>
              <property name="insertPolicy">
               <enum>QComboBox::InsertAtTop</enum>
              </property>
              <item>
               <property name="text">
                <string>*</string>
               </property>
              </item>
             </widget>
432
            </item>
433 434 435
            <item>
             <widget class="QLabel" name="excludeLabel">
              <property name="text">
436
               <string>Exclude:</string>
437 438 439 440 441 442 443 444 445 446 447 448 449 450
              </property>
              <property name="buddy">
               <cstring>excludeCombo</cstring>
              </property>
             </widget>
            </item>
            <item>
             <widget class="KComboBox" name="excludeCombo">
              <property name="editable">
               <bool>true</bool>
              </property>
             </widget>
            </item>
           </layout>
451
          </item>
452
          <item row="3" column="1">
453
           <layout class="QHBoxLayout" name="horizontalLayout_6">
454
            <item>
455 456 457
             <widget class="QCheckBox" name="recursiveCheckBox">
              <property name="text">
               <string>Recursive</string>
458
              </property>
459 460
              <property name="checked">
               <bool>true</bool>
461
              </property>
462
             </widget>
463 464
            </item>
            <item>
465
             <widget class="QCheckBox" name="hiddenCheckBox">
466
              <property name="text">
467
               <string>Include hidden</string>
468
              </property>
469 470 471 472 473 474
             </widget>
            </item>
            <item>
             <widget class="QCheckBox" name="symLinkCheckBox">
              <property name="text">
               <string>Follow symbolic links</string>
475 476 477 478
              </property>
             </widget>
            </item>
            <item>
479 480 481 482
             <widget class="QCheckBox" name="binaryCheckBox">
              <property name="text">
               <string>Include binary files</string>
              </property>
483 484
             </widget>
            </item>
485 486 487 488 489 490 491 492 493 494 495 496 497
            <item>
             <spacer name="horizontalSpacer_2">
              <property name="orientation">
               <enum>Qt::Horizontal</enum>
              </property>
              <property name="sizeHint" stdset="0">
               <size>
                <width>40</width>
                <height>20</height>
               </size>
              </property>
             </spacer>
            </item>
498 499 500 501
           </layout>
          </item>
         </layout>
        </widget>
502
       </item>
503 504
      </layout>
     </widget>
505 506
    </widget>
   </item>
Kåre Särs's avatar
Kåre Särs committed
507 508 509
  </layout>
 </widget>
 <customwidgets>
510
  <customwidget>
511 512 513
   <class>KUrlRequester</class>
   <extends>QWidget</extends>
   <header>kurlrequester.h</header>
514
  </customwidget>
515 516 517 518 519
  <customwidget>
   <class>KUrlComboRequester</class>
   <extends>KUrlRequester</extends>
   <header>kurlrequester.h</header>
  </customwidget>
520
  <customwidget>
521 522 523
   <class>KComboBox</class>
   <extends>QComboBox</extends>
   <header>kcombobox.h</header>
524
  </customwidget>
Kåre Särs's avatar
Kåre Särs committed
525
 </customwidgets>
526 527 528 529 530 531
 <tabstops>
  <tabstop>searchCombo</tabstop>
  <tabstop>replaceCombo</tabstop>
  <tabstop>searchButton</tabstop>
  <tabstop>nextButton</tabstop>
  <tabstop>replaceButton</tabstop>
532
  <tabstop>stopButton</tabstop>
533
  <tabstop>replaceCheckedBtn</tabstop>
534 535 536 537 538
  <tabstop>searchPlaceCombo</tabstop>
  <tabstop>matchCase</tabstop>
  <tabstop>useRegExp</tabstop>
  <tabstop>expandResults</tabstop>
  <tabstop>displayOptions</tabstop>
539 540 541
  <tabstop>folderRequester</tabstop>
  <tabstop>folderUpButton</tabstop>
  <tabstop>currentFolderButton</tabstop>
542 543 544 545 546 547
  <tabstop>filterCombo</tabstop>
  <tabstop>excludeCombo</tabstop>
  <tabstop>recursiveCheckBox</tabstop>
  <tabstop>hiddenCheckBox</tabstop>
  <tabstop>symLinkCheckBox</tabstop>
  <tabstop>binaryCheckBox</tabstop>
548
  <tabstop>resultTabWidget</tabstop>
549
  <tabstop>newTabButton</tabstop>
550
 </tabstops>
Kåre Särs's avatar
Kåre Särs committed
551
 <resources/>
552
 <connections/>
Kåre Särs's avatar
Kåre Särs committed
553
</ui>