aboutsummaryrefslogtreecommitdiffstats
path: root/ui/InfoBoard.ui
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-05 14:21:11 +0000
committersaturneric <[email protected]>2024-01-05 14:21:11 +0000
commitaeea160079b8ffd7f4f7c8accb20297e4f930f9a (patch)
treeec43bdc1d5134cdbe9c1dd1eeaa9474724113ab9 /ui/InfoBoard.ui
parentfix: slove a multi-threads issue at task model (diff)
downloadGpgFrontend-aeea160079b8ffd7f4f7c8accb20297e4f930f9a.tar.gz
GpgFrontend-aeea160079b8ffd7f4f7c8accb20297e4f930f9a.zip
feat: improve tool menus and icons
Diffstat (limited to 'ui/InfoBoard.ui')
-rw-r--r--ui/InfoBoard.ui46
1 files changed, 39 insertions, 7 deletions
diff --git a/ui/InfoBoard.ui b/ui/InfoBoard.ui
index 1c87974b..8f3bb1c8 100644
--- a/ui/InfoBoard.ui
+++ b/ui/InfoBoard.ui
@@ -29,11 +29,17 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
+ <property name="spacing">
+ <number>-1</number>
+ </property>
<property name="sizeConstraint">
<enum>QLayout::SetNoConstraint</enum>
</property>
<property name="leftMargin">
- <number>6</number>
+ <number>5</number>
+ </property>
+ <property name="rightMargin">
+ <number>5</number>
</property>
<item alignment="Qt::AlignLeft">
<widget class="QWidget" name="horizontalWidget" native="true">
@@ -62,25 +68,49 @@
<property name="bottomMargin">
<number>0</number>
</property>
- <item alignment="Qt::AlignRight">
- <widget class="QPushButton" name="copyButton">
+ <item>
+ <widget class="QToolButton" name="copyToolButton">
+ <property name="toolTip">
+ <string>Copy</string>
+ </property>
<property name="text">
<string>Copy</string>
</property>
+ <property name="icon">
+ <iconset resource="../gpgfrontend.qrc">
+ <normaloff>:/copy.png</normaloff>:/copy.png</iconset>
+ </property>
+ <property name="autoRaise">
+ <bool>false</bool>
+ </property>
</widget>
</item>
- <item alignment="Qt::AlignRight">
- <widget class="QPushButton" name="saveButton">
+ <item>
+ <widget class="QToolButton" name="saveToolButton">
+ <property name="toolTip">
+ <string>Save</string>
+ </property>
<property name="text">
<string>Save</string>
</property>
+ <property name="icon">
+ <iconset resource="../gpgfrontend.qrc">
+ <normaloff>:/filesave.png</normaloff>:/filesave.png</iconset>
+ </property>
</widget>
</item>
<item>
- <widget class="QPushButton" name="clearButton">
+ <widget class="QToolButton" name="clearToolButton">
+ <property name="toolTip">
+ <string>Clear</string>
+ </property>
<property name="text">
<string>Clear</string>
</property>
+ <property name="icon">
+ <iconset resource="../gpgfrontend.qrc">
+ <normaloff>:/clear.png</normaloff>:/clear.png</iconset>
+ </property>
</widget>
</item>
</layout>
@@ -109,6 +139,8 @@
</item>
</layout>
</widget>
- <resources/>
+ <resources>
+ <include location="../gpgfrontend.qrc"/>
+ </resources>
<connections/>
</ui>