1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>MainWindow</class> 4 <widget class="QMainWindow" name="MainWindow"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>653</width> 10 <height>538</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string notr="true">GoldenDict</string> 15 </property> 16 <widget class="QWidget" name="centralWidget"> 17 <layout class="QHBoxLayout" name="horizontalLayout_2"> 18 <property name="leftMargin"> 19 <number>1</number> 20 </property> 21 <property name="topMargin"> 22 <number>2</number> 23 </property> 24 <property name="rightMargin"> 25 <number>1</number> 26 </property> 27 <property name="bottomMargin"> 28 <number>0</number> 29 </property> 30 <item> 31 <widget class="MainTabWidget" name="tabWidget"> 32 <property name="currentIndex"> 33 <number>0</number> 34 </property> 35 <property name="iconSize"> 36 <size> 37 <width>16</width> 38 <height>16</height> 39 </size> 40 </property> 41 <property name="elideMode"> 42 <enum>Qt::ElideRight</enum> 43 </property> 44 <widget class="QWidget" name="tab"> 45 <attribute name="title"> 46 <string>Welcome!</string> 47 </attribute> 48 <layout class="QHBoxLayout" name="horizontalLayout_4"> 49 <property name="leftMargin"> 50 <number>0</number> 51 </property> 52 <property name="topMargin"> 53 <number>0</number> 54 </property> 55 <property name="rightMargin"> 56 <number>0</number> 57 </property> 58 <property name="bottomMargin"> 59 <number>0</number> 60 </property> 61 </layout> 62 </widget> 63 </widget> 64 </item> 65 </layout> 66 </widget> 67 <widget class="QMenuBar" name="menubar"> 68 <property name="geometry"> 69 <rect> 70 <x>0</x> 71 <y>0</y> 72 <width>653</width> 73 <height>18</height> 74 </rect> 75 </property> 76 <widget class="QMenu" name="menuFile"> 77 <property name="title"> 78 <string>&File</string> 79 </property> 80 <addaction name="newTab"/> 81 <addaction name="separator"/> 82 <addaction name="pageSetup"/> 83 <addaction name="printPreview"/> 84 <addaction name="print"/> 85 <addaction name="separator"/> 86 <addaction name="saveArticle"/> 87 <addaction name="separator"/> 88 <addaction name="rescanFiles"/> 89 <addaction name="separator"/> 90 <addaction name="actionCloseToTray"/> 91 <addaction name="quit"/> 92 </widget> 93 <widget class="QMenu" name="menu_Edit"> 94 <property name="title"> 95 <string>&Edit</string> 96 </property> 97 <addaction name="dictionaries"/> 98 <addaction name="preferences"/> 99 </widget> 100 <widget class="QMenu" name="menu_Help"> 101 <property name="title"> 102 <string>&Help</string> 103 </property> 104 <addaction name="showReference"/> 105 <addaction name="separator"/> 106 <addaction name="visitHomepage"/> 107 <addaction name="visitForum"/> 108 <addaction name="separator"/> 109 <addaction name="openConfigFolder"/> 110 <addaction name="separator"/> 111 <addaction name="about"/> 112 </widget> 113 <widget class="QMenu" name="menuView"> 114 <property name="title"> 115 <string>&View</string> 116 </property> 117 <widget class="QMenu" name="menuZoom"> 118 <property name="title"> 119 <string>&Zoom</string> 120 </property> 121 </widget> 122 <addaction name="menuZoom"/> 123 </widget> 124 <widget class="QMenu" name="menuHistory"> 125 <property name="title"> 126 <string>H&istory</string> 127 </property> 128 <addaction name="showHideHistory"/> 129 <addaction name="exportHistory"/> 130 <addaction name="importHistory"/> 131 <addaction name="separator"/> 132 <addaction name="clearHistory"/> 133 </widget> 134 <widget class="QMenu" name="menuSearch"> 135 <property name="title"> 136 <string>Search</string> 137 </property> 138 <addaction name="searchInPageAction"/> 139 <addaction name="fullTextSearchAction"/> 140 </widget> 141 <widget class="QMenu" name="menuFavorites"> 142 <property name="title"> 143 <string>Favo&rites</string> 144 </property> 145 <addaction name="showHideFavorites"/> 146 <addaction name="exportFavorites"/> 147 <addaction name="ExportFavoritesToList"/> 148 <addaction name="importFavorites"/> 149 <addaction name="separator"/> 150 <addaction name="actionAddToFavorites"/> 151 </widget> 152 <addaction name="menuFile"/> 153 <addaction name="menuView"/> 154 <addaction name="menu_Edit"/> 155 <addaction name="menuSearch"/> 156 <addaction name="menuHistory"/> 157 <addaction name="menuFavorites"/> 158 <addaction name="menu_Help"/> 159 </widget> 160 <widget class="QDockWidget" name="searchPane"> 161 <property name="windowTitle"> 162 <string>&Search Pane</string> 163 </property> 164 <attribute name="dockWidgetArea"> 165 <number>1</number> 166 </attribute> 167 <widget class="SearchPaneWidget" name="searchPaneWidget"> 168 <property name="sizePolicy"> 169 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 170 <horstretch>0</horstretch> 171 <verstretch>0</verstretch> 172 </sizepolicy> 173 </property> 174 <layout class="QVBoxLayout" name="verticalLayout"> 175 <property name="leftMargin"> 176 <number>2</number> 177 </property> 178 <property name="topMargin"> 179 <number>1</number> 180 </property> 181 <property name="rightMargin"> 182 <number>2</number> 183 </property> 184 <property name="bottomMargin"> 185 <number>1</number> 186 </property> 187 <item> 188 <widget class="QLineEdit" name="translateLine"> 189 <property name="minimumSize"> 190 <size> 191 <width>200</width> 192 <height>0</height> 193 </size> 194 </property> 195 <property name="baseSize"> 196 <size> 197 <width>0</width> 198 <height>0</height> 199 </size> 200 </property> 201 <property name="palette"> 202 <palette> 203 <active> 204 <colorrole role="Base"> 205 <brush brushstyle="SolidPattern"> 206 <color alpha="255"> 207 <red>254</red> 208 <green>253</green> 209 <blue>235</blue> 210 </color> 211 </brush> 212 </colorrole> 213 </active> 214 <inactive> 215 <colorrole role="Base"> 216 <brush brushstyle="SolidPattern"> 217 <color alpha="255"> 218 <red>254</red> 219 <green>253</green> 220 <blue>235</blue> 221 </color> 222 </brush> 223 </colorrole> 224 </inactive> 225 <disabled> 226 <colorrole role="Base"> 227 <brush brushstyle="SolidPattern"> 228 <color alpha="255"> 229 <red>255</red> 230 <green>255</green> 231 <blue>255</blue> 232 </color> 233 </brush> 234 </colorrole> 235 </disabled> 236 </palette> 237 </property> 238 <property name="frame"> 239 <bool>true</bool> 240 </property> 241 </widget> 242 </item> 243 <item> 244 <widget class="WordList" name="wordList"> 245 <property name="palette"> 246 <palette> 247 <active> 248 <colorrole role="Base"> 249 <brush brushstyle="SolidPattern"> 250 <color alpha="255"> 251 <red>254</red> 252 <green>253</green> 253 <blue>235</blue> 254 </color> 255 </brush> 256 </colorrole> 257 </active> 258 <inactive> 259 <colorrole role="Base"> 260 <brush brushstyle="SolidPattern"> 261 <color alpha="255"> 262 <red>254</red> 263 <green>253</green> 264 <blue>235</blue> 265 </color> 266 </brush> 267 </colorrole> 268 </inactive> 269 <disabled> 270 <colorrole role="Base"> 271 <brush brushstyle="SolidPattern"> 272 <color alpha="255"> 273 <red>255</red> 274 <green>255</green> 275 <blue>255</blue> 276 </color> 277 </brush> 278 </colorrole> 279 </disabled> 280 </palette> 281 </property> 282 </widget> 283 </item> 284 </layout> 285 </widget> 286 </widget> 287 <widget class="QDockWidget" name="dictsPane"> 288 <property name="windowTitle"> 289 <string>&Results Navigation Pane</string> 290 </property> 291 <attribute name="dockWidgetArea"> 292 <number>2</number> 293 </attribute> 294 <widget class="DictsPaneWidget" name="dictsPaneWidget"> 295 <layout class="QVBoxLayout" name="verticalLayout_2"> 296 <property name="leftMargin"> 297 <number>2</number> 298 </property> 299 <property name="topMargin"> 300 <number>1</number> 301 </property> 302 <property name="rightMargin"> 303 <number>2</number> 304 </property> 305 <property name="bottomMargin"> 306 <number>1</number> 307 </property> 308 <item> 309 <widget class="QListWidget" name="dictsList"/> 310 </item> 311 </layout> 312 </widget> 313 </widget> 314 <widget class="QDockWidget" name="favoritesPane"> 315 <property name="windowTitle"> 316 <string>Favor&ites Pane</string> 317 </property> 318 <attribute name="dockWidgetArea"> 319 <number>2</number> 320 </attribute> 321 <widget class="FavoritesPaneWidget" name="favoritesPaneWidget"> 322 <layout class="QVBoxLayout" name="verticalLayout_3"> 323 <property name="leftMargin"> 324 <number>2</number> 325 </property> 326 <property name="topMargin"> 327 <number>1</number> 328 </property> 329 <property name="rightMargin"> 330 <number>2</number> 331 </property> 332 <property name="bottomMargin"> 333 <number>1</number> 334 </property> 335 <item> 336 <widget class="TreeView" name="favoritesTree"/> 337 </item> 338 </layout> 339 </widget> 340 </widget> 341 <widget class="QDockWidget" name="historyPane"> 342 <property name="windowTitle"> 343 <string>&History Pane</string> 344 </property> 345 <attribute name="dockWidgetArea"> 346 <number>2</number> 347 </attribute> 348 <widget class="HistoryPaneWidget" name="historyPaneWidget"> 349 <layout class="QVBoxLayout" name="verticalLayout_4"> 350 <property name="spacing"> 351 <number>2</number> 352 </property> 353 <property name="leftMargin"> 354 <number>2</number> 355 </property> 356 <property name="topMargin"> 357 <number>1</number> 358 </property> 359 <property name="rightMargin"> 360 <number>2</number> 361 </property> 362 <property name="bottomMargin"> 363 <number>1</number> 364 </property> 365 <item> 366 <widget class="QListView" name="historyList"/> 367 </item> 368 </layout> 369 </widget> 370 </widget> 371 <action name="dictionaries"> 372 <property name="icon"> 373 <iconset resource="resources.qrc"> 374 <normaloff>:/icons/book.png</normaloff>:/icons/book.png</iconset> 375 </property> 376 <property name="text"> 377 <string>&Dictionaries...</string> 378 </property> 379 <property name="shortcut"> 380 <string>F3</string> 381 </property> 382 <property name="menuRole"> 383 <enum>QAction::NoRole</enum> 384 </property> 385 </action> 386 <action name="preferences"> 387 <property name="icon"> 388 <iconset resource="resources.qrc"> 389 <normaloff>:/icons/configure.png</normaloff>:/icons/configure.png</iconset> 390 </property> 391 <property name="text"> 392 <string>&Preferences...</string> 393 </property> 394 <property name="shortcut"> 395 <string>F4</string> 396 </property> 397 <property name="menuRole"> 398 <enum>QAction::PreferencesRole</enum> 399 </property> 400 </action> 401 <action name="visitHomepage"> 402 <property name="text"> 403 <string>&Homepage</string> 404 </property> 405 <property name="menuRole"> 406 <enum>QAction::NoRole</enum> 407 </property> 408 </action> 409 <action name="about"> 410 <property name="text"> 411 <string>&About</string> 412 </property> 413 <property name="toolTip"> 414 <string>About GoldenDict</string> 415 </property> 416 <property name="menuRole"> 417 <enum>QAction::AboutRole</enum> 418 </property> 419 </action> 420 <action name="quit"> 421 <property name="text"> 422 <string>&Quit</string> 423 </property> 424 <property name="toolTip"> 425 <string>Quit from application</string> 426 </property> 427 <property name="shortcut"> 428 <string>Ctrl+Q</string> 429 </property> 430 <property name="menuRole"> 431 <enum>QAction::QuitRole</enum> 432 </property> 433 </action> 434 <action name="visitForum"> 435 <property name="text"> 436 <string>&Forum</string> 437 </property> 438 <property name="menuRole"> 439 <enum>QAction::NoRole</enum> 440 </property> 441 </action> 442 <action name="actionCloseToTray"> 443 <property name="text"> 444 <string>&Close To Tray</string> 445 </property> 446 <property name="toolTip"> 447 <string>Minimizes the window to tray</string> 448 </property> 449 <property name="shortcut"> 450 <string>Ctrl+F4</string> 451 </property> 452 <property name="menuRole"> 453 <enum>QAction::NoRole</enum> 454 </property> 455 </action> 456 <action name="saveArticle"> 457 <property name="icon"> 458 <iconset resource="resources.qrc"> 459 <normaloff>:/icons/filesave.png</normaloff>:/icons/filesave.png</iconset> 460 </property> 461 <property name="text"> 462 <string>&Save Article</string> 463 </property> 464 <property name="toolTip"> 465 <string>Save Article</string> 466 </property> 467 <property name="shortcut"> 468 <string>F2</string> 469 </property> 470 <property name="menuRole"> 471 <enum>QAction::NoRole</enum> 472 </property> 473 </action> 474 <action name="print"> 475 <property name="icon"> 476 <iconset resource="resources.qrc"> 477 <normaloff>:/icons/print.png</normaloff>:/icons/print.png</iconset> 478 </property> 479 <property name="text"> 480 <string>&Print</string> 481 </property> 482 <property name="shortcut"> 483 <string>Ctrl+P</string> 484 </property> 485 <property name="menuRole"> 486 <enum>QAction::NoRole</enum> 487 </property> 488 </action> 489 <action name="pageSetup"> 490 <property name="text"> 491 <string>Page Set&up</string> 492 </property> 493 <property name="menuRole"> 494 <enum>QAction::NoRole</enum> 495 </property> 496 </action> 497 <action name="printPreview"> 498 <property name="text"> 499 <string>Print Pre&view</string> 500 </property> 501 <property name="menuRole"> 502 <enum>QAction::NoRole</enum> 503 </property> 504 </action> 505 <action name="rescanFiles"> 506 <property name="text"> 507 <string>&Rescan Files</string> 508 </property> 509 <property name="shortcut"> 510 <string>Ctrl+F5</string> 511 </property> 512 <property name="menuRole"> 513 <enum>QAction::NoRole</enum> 514 </property> 515 </action> 516 <action name="clearHistory"> 517 <property name="text"> 518 <string>&Clear</string> 519 </property> 520 <property name="menuRole"> 521 <enum>QAction::NoRole</enum> 522 </property> 523 </action> 524 <action name="newTab"> 525 <property name="icon"> 526 <iconset resource="resources.qrc"> 527 <normaloff>:/icons/addtab.png</normaloff>:/icons/addtab.png</iconset> 528 </property> 529 <property name="text"> 530 <string>&New Tab</string> 531 </property> 532 <property name="shortcut"> 533 <string>Ctrl+T</string> 534 </property> 535 <property name="shortcutContext"> 536 <enum>Qt::WidgetShortcut</enum> 537 </property> 538 <property name="menuRole"> 539 <enum>QAction::NoRole</enum> 540 </property> 541 </action> 542 <action name="openConfigFolder"> 543 <property name="text"> 544 <string>&Configuration Folder</string> 545 </property> 546 <property name="menuRole"> 547 <enum>QAction::NoRole</enum> 548 </property> 549 </action> 550 <action name="showHideHistory"> 551 <property name="text"> 552 <string>&Show</string> 553 </property> 554 <property name="shortcut"> 555 <string>Ctrl+H</string> 556 </property> 557 <property name="menuRole"> 558 <enum>QAction::NoRole</enum> 559 </property> 560 </action> 561 <action name="exportHistory"> 562 <property name="text"> 563 <string>&Export</string> 564 </property> 565 <property name="menuRole"> 566 <enum>QAction::NoRole</enum> 567 </property> 568 </action> 569 <action name="importHistory"> 570 <property name="text"> 571 <string>&Import</string> 572 </property> 573 <property name="menuRole"> 574 <enum>QAction::NoRole</enum> 575 </property> 576 </action> 577 <action name="alwaysOnTop"> 578 <property name="checkable"> 579 <bool>true</bool> 580 </property> 581 <property name="text"> 582 <string>&Always on Top</string> 583 </property> 584 <property name="toolTip"> 585 <string>Always on Top</string> 586 </property> 587 <property name="shortcut"> 588 <string>Ctrl+O</string> 589 </property> 590 </action> 591 <action name="menuOptions"> 592 <property name="icon"> 593 <iconset resource="resources.qrc"> 594 <normaloff>:/icons/menu_button.png</normaloff>:/icons/menu_button.png</iconset> 595 </property> 596 <property name="text"> 597 <string>Menu Button</string> 598 </property> 599 <property name="toolTip"> 600 <string>Menu Button</string> 601 </property> 602 </action> 603 <action name="searchInPageAction"> 604 <property name="text"> 605 <string>Search in page</string> 606 </property> 607 <property name="shortcut"> 608 <string>Ctrl+F</string> 609 </property> 610 <property name="menuRole"> 611 <enum>QAction::TextHeuristicRole</enum> 612 </property> 613 </action> 614 <action name="fullTextSearchAction"> 615 <property name="text"> 616 <string>Full-text search</string> 617 </property> 618 <property name="shortcut"> 619 <string>Ctrl+Shift+F</string> 620 </property> 621 <property name="shortcutContext"> 622 <enum>Qt::WidgetWithChildrenShortcut</enum> 623 </property> 624 <property name="menuRole"> 625 <enum>QAction::TextHeuristicRole</enum> 626 </property> 627 </action> 628 <action name="showReference"> 629 <property name="text"> 630 <string>GoldenDict reference</string> 631 </property> 632 <property name="shortcut"> 633 <string>F1</string> 634 </property> 635 </action> 636 <action name="showHideFavorites"> 637 <property name="text"> 638 <string>Show</string> 639 </property> 640 <property name="shortcut"> 641 <string notr="true">Ctrl+I</string> 642 </property> 643 </action> 644 <action name="exportFavorites"> 645 <property name="text"> 646 <string>Export</string> 647 </property> 648 </action> 649 <action name="importFavorites"> 650 <property name="text"> 651 <string>Import</string> 652 </property> 653 </action> 654 <action name="actionAddToFavorites"> 655 <property name="text"> 656 <string>Add</string> 657 </property> 658 <property name="statusTip"> 659 <string>Add current tab to Favorites</string> 660 </property> 661 <property name="shortcut"> 662 <string>Ctrl+E</string> 663 </property> 664 </action> 665 <action name="ExportFavoritesToList"> 666 <property name="text"> 667 <string>Export to list</string> 668 </property> 669 </action> 670 </widget> 671 <customwidgets> 672 <customwidget> 673 <class>SearchPaneWidget</class> 674 <extends>QWidget</extends> 675 <header>searchpanewidget.hh</header> 676 <container>1</container> 677 </customwidget> 678 <customwidget> 679 <class>DictsPaneWidget</class> 680 <extends>QWidget</extends> 681 <header>dictspanewidget.hh</header> 682 <container>1</container> 683 </customwidget> 684 <customwidget> 685 <class>MainTabWidget</class> 686 <extends>QTabWidget</extends> 687 <header>maintabwidget.hh</header> 688 <container>1</container> 689 </customwidget> 690 <customwidget> 691 <class>HistoryPaneWidget</class> 692 <extends>QWidget</extends> 693 <header>historypanewidget.hh</header> 694 <container>1</container> 695 </customwidget> 696 <customwidget> 697 <class>WordList</class> 698 <extends>QListWidget</extends> 699 <header>wordlist.hh</header> 700 </customwidget> 701 <customwidget> 702 <class>FavoritesPaneWidget</class> 703 <extends>QWidget</extends> 704 <header>favoritespanewidget.hh</header> 705 <container>1</container> 706 </customwidget> 707 <customwidget> 708 <class>TreeView</class> 709 <extends>QTreeView</extends> 710 <header>treeview.hh</header> 711 </customwidget> 712 </customwidgets> 713 <tabstops> 714 <tabstop>translateLine</tabstop> 715 <tabstop>tabWidget</tabstop> 716 <tabstop>dictsList</tabstop> 717 </tabstops> 718 <resources> 719 <include location="resources.qrc"/> 720 </resources> 721 <connections/> 722</ui> 723