mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
Small redesign of search panel, to consume less horizontal space.
Otherwise, this affecs the main window and poupup window sizes.
This commit is contained in:
parent
98a2bb1726
commit
16800842be
221
articleview.ui
221
articleview.ui
|
@ -30,8 +30,8 @@
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="ArticleWebView" name="definition">
|
<widget class="ArticleWebView" name="definition" native="true">
|
||||||
<property name="url">
|
<property name="url" stdset="0">
|
||||||
<url>
|
<url>
|
||||||
<string>about:blank</string>
|
<string>about:blank</string>
|
||||||
</url>
|
</url>
|
||||||
|
@ -55,113 +55,118 @@
|
||||||
<property name="frameShadow">
|
<property name="frameShadow">
|
||||||
<enum>QFrame::Raised</enum>
|
<enum>QFrame::Raised</enum>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<property name="margin">
|
<item row="0" column="0">
|
||||||
<number>0</number>
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
</property>
|
<item>
|
||||||
<item>
|
<widget class="QLabel" name="label">
|
||||||
<widget class="QToolButton" name="searchCloseButton">
|
<property name="text">
|
||||||
<property name="text">
|
<string>Find:</string>
|
||||||
<string>x</string>
|
</property>
|
||||||
</property>
|
</widget>
|
||||||
<property name="icon">
|
</item>
|
||||||
<iconset resource="resources.qrc">
|
<item>
|
||||||
<normaloff>:/icons/closetab.png</normaloff>:/icons/closetab.png</iconset>
|
<widget class="QLineEdit" name="searchText"/>
|
||||||
</property>
|
</item>
|
||||||
<property name="autoRaise">
|
<item>
|
||||||
<bool>true</bool>
|
<widget class="QToolButton" name="searchCloseButton">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>x</string>
|
||||||
|
</property>
|
||||||
|
<property name="icon">
|
||||||
|
<iconset resource="resources.qrc">
|
||||||
|
<normaloff>:/icons/closetab.png</normaloff>:/icons/closetab.png</iconset>
|
||||||
|
</property>
|
||||||
|
<property name="autoRaise">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item row="1" column="0">
|
||||||
<widget class="QLabel" name="label">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<property name="text">
|
<item>
|
||||||
<string>Find:</string>
|
<widget class="QToolButton" name="searchPrevious">
|
||||||
</property>
|
<property name="text">
|
||||||
</widget>
|
<string>&Previous</string>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="icon">
|
||||||
<widget class="QLineEdit" name="searchText"/>
|
<iconset resource="resources.qrc">
|
||||||
</item>
|
<normaloff>:/icons/previous.png</normaloff>:/icons/previous.png</iconset>
|
||||||
<item>
|
</property>
|
||||||
<widget class="QToolButton" name="searchPrevious">
|
<property name="toolButtonStyle">
|
||||||
<property name="text">
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||||
<string>&Previous</string>
|
</property>
|
||||||
</property>
|
<property name="autoRaise">
|
||||||
<property name="icon">
|
<bool>true</bool>
|
||||||
<iconset resource="resources.qrc">
|
</property>
|
||||||
<normaloff>:/icons/previous.png</normaloff>:/icons/previous.png</iconset>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="toolButtonStyle">
|
<item>
|
||||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
<widget class="QToolButton" name="searchNext">
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="autoRaise">
|
<string>&Next</string>
|
||||||
<bool>true</bool>
|
</property>
|
||||||
</property>
|
<property name="icon">
|
||||||
</widget>
|
<iconset resource="resources.qrc">
|
||||||
</item>
|
<normaloff>:/icons/next.png</normaloff>:/icons/next.png</iconset>
|
||||||
<item>
|
</property>
|
||||||
<widget class="QToolButton" name="searchNext">
|
<property name="shortcut">
|
||||||
<property name="text">
|
<string>Ctrl+G</string>
|
||||||
<string>&Next</string>
|
</property>
|
||||||
</property>
|
<property name="toolButtonStyle">
|
||||||
<property name="icon">
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||||
<iconset resource="resources.qrc">
|
</property>
|
||||||
<normaloff>:/icons/next.png</normaloff>:/icons/next.png</iconset>
|
<property name="autoRaise">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="shortcut">
|
</property>
|
||||||
<string>Ctrl+G</string>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="toolButtonStyle">
|
<item>
|
||||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
<widget class="QToolButton" name="highlightAllButton">
|
||||||
</property>
|
<property name="text">
|
||||||
<property name="autoRaise">
|
<string>Highlight &all</string>
|
||||||
<bool>true</bool>
|
</property>
|
||||||
</property>
|
<property name="icon">
|
||||||
</widget>
|
<iconset resource="resources.qrc">
|
||||||
</item>
|
<normaloff>:/icons/highlighter.png</normaloff>:/icons/highlighter.png</iconset>
|
||||||
<item>
|
</property>
|
||||||
<widget class="QCheckBox" name="searchCaseSensitive">
|
<property name="checkable">
|
||||||
<property name="text">
|
<bool>true</bool>
|
||||||
<string>&Case Sensitive</string>
|
</property>
|
||||||
</property>
|
<property name="checked">
|
||||||
</widget>
|
<bool>false</bool>
|
||||||
</item>
|
</property>
|
||||||
<item>
|
<property name="toolButtonStyle">
|
||||||
<widget class="QToolButton" name="highlightAllButton">
|
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||||
<property name="text">
|
</property>
|
||||||
<string>Highlight &all</string>
|
<property name="autoRaise">
|
||||||
</property>
|
<bool>true</bool>
|
||||||
<property name="icon">
|
</property>
|
||||||
<iconset resource="resources.qrc">
|
</widget>
|
||||||
<normaloff>:/icons/highlighter.png</normaloff>:/icons/highlighter.png</iconset>
|
</item>
|
||||||
</property>
|
<item>
|
||||||
<property name="checkable">
|
<widget class="QCheckBox" name="searchCaseSensitive">
|
||||||
<bool>true</bool>
|
<property name="text">
|
||||||
</property>
|
<string>&Case Sensitive</string>
|
||||||
<property name="checked">
|
</property>
|
||||||
<bool>false</bool>
|
</widget>
|
||||||
</property>
|
</item>
|
||||||
<property name="toolButtonStyle">
|
<item>
|
||||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
<spacer name="horizontalSpacer">
|
||||||
</property>
|
<property name="orientation">
|
||||||
<property name="autoRaise">
|
<enum>Qt::Horizontal</enum>
|
||||||
<bool>true</bool>
|
</property>
|
||||||
</property>
|
<property name="sizeHint" stdset="0">
|
||||||
</widget>
|
<size>
|
||||||
</item>
|
<width>782</width>
|
||||||
<item>
|
<height>20</height>
|
||||||
<spacer name="horizontalSpacer">
|
</size>
|
||||||
<property name="orientation">
|
</property>
|
||||||
<enum>Qt::Horizontal</enum>
|
</spacer>
|
||||||
</property>
|
</item>
|
||||||
<property name="sizeHint" stdset="0">
|
</layout>
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
|
|
Loading…
Reference in a new issue