mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 19:24:08 +00:00
2c16ccfbd5
There is no point in having huge margins (9px) at every side of the scan popup window. Especially since the popup window is supposed to be small and compact.
232 lines
7.1 KiB
XML
232 lines
7.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ScanPopup</class>
|
|
<widget class="QMainWindow" name="ScanPopup">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>557</width>
|
|
<height>403</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Dialog</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralWidget">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_222">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QFrame" name="outerFrame">
|
|
<property name="frameShape">
|
|
<enum>QFrame::NoFrame</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="mainLayout">
|
|
<property name="spacing">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="margin">
|
|
<number>3</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>-1</number>
|
|
</property>
|
|
<item>
|
|
<widget class="GroupComboBox" name="groupList"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="queryError">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="pixmap">
|
|
<pixmap resource="resources.qrc">:/icons/warning.png</pixmap>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="word">
|
|
<property name="text">
|
|
<string>word</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="goBackButton">
|
|
<property name="toolTip">
|
|
<string>Back</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/previous.png</normaloff>:/icons/previous.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="goForwardButton">
|
|
<property name="toolTip">
|
|
<string>Forward</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/next.png</normaloff>:/icons/next.png</iconset>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="wordListButton">
|
|
<property name="toolTip">
|
|
<string>List Matches (Alt+M)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/prefix.png</normaloff>:/icons/prefix.png</iconset>
|
|
</property>
|
|
<property name="iconSize">
|
|
<size>
|
|
<width>22</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Alt+M</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="pronounceButton">
|
|
<property name="toolTip">
|
|
<string>Pronounce Word (Alt+S)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/playsound.png</normaloff>:/icons/playsound.png</iconset>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Alt+S</string>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="sendWordButton">
|
|
<property name="toolTip">
|
|
<string>Send word to main window (Alt+W)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string notr="true">...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/programicon.png</normaloff>:/icons/programicon.png</iconset>
|
|
</property>
|
|
<property name="shortcut">
|
|
<string>Alt+W</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="showDictionaryBar">
|
|
<property name="toolTip">
|
|
<string>Shows or hides the dictionary bar</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/bookcase.png</normaloff>:/icons/bookcase.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="pinButton">
|
|
<property name="toolTip">
|
|
<string>Use this to pin down the window so it would stay on screen,
|
|
could be resized or managed in other ways.</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="resources.qrc">
|
|
<normaloff>:/icons/pushpin.png</normaloff>:/icons/pushpin.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="autoRaise">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>GroupComboBox</class>
|
|
<extends>QComboBox</extends>
|
|
<header>groupcombobox.hh</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="resources.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|