diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-24 21:52:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-24 21:52:32 +0000 |
commit | d286d2ca68ef987759a385a534e7ee76855f1b55 (patch) | |
tree | d2a90c192c11f31a26cae38f4fef02aa9299a2fe /src | |
parent | 88c8dcd9b18f479d5ad3f523018d406654287fe6 (diff) |
morph some qpushbutton into qtoolbutton, so we have nice labels
Diffstat (limited to 'src')
-rw-r--r-- | src/frontend/gui/ui/sisyphus.ui | 90 |
1 files changed, 51 insertions, 39 deletions
diff --git a/src/frontend/gui/ui/sisyphus.ui b/src/frontend/gui/ui/sisyphus.ui index 941f724..a65dfdc 100644 --- a/src/frontend/gui/ui/sisyphus.ui +++ b/src/frontend/gui/ui/sisyphus.ui @@ -65,27 +65,24 @@ <item row="3" column="0"> <layout class="QHBoxLayout" name="actionGrid"> <property name="spacing"> - <number>25</number> + <number>0</number> </property> <property name="leftMargin"> - <number>25</number> + <number>0</number> </property> <property name="rightMargin"> - <number>25</number> + <number>0</number> </property> <item> - <widget class="QPushButton" name="installButton"> + <widget class="QToolButton" name="installButton"> <property name="maximumSize"> <size> - <width>16777215</width> - <height>36</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="toolTip"> - <string><html><head/><body><p align="center">Install the selected package(s)</p></body></html></string> - </property> <property name="text"> - <string/> + <string>Install selected package(s)</string> </property> <property name="icon"> <iconset> @@ -97,24 +94,27 @@ <height>36</height> </size> </property> - <property name="flat"> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> <bool>true</bool> </property> + <property name="arrowType"> + <enum>Qt::NoArrow</enum> + </property> </widget> </item> <item> - <widget class="QPushButton" name="uninstallButton"> + <widget class="QToolButton" name="uninstallButton"> <property name="maximumSize"> <size> - <width>16777215</width> - <height>36</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="toolTip"> - <string><html><head/><body><p align="center">Uninstall the selected package(s)</p></body></html></string> - </property> <property name="text"> - <string/> + <string>Uninstall selected package(s)</string> </property> <property name="icon"> <iconset> @@ -126,21 +126,27 @@ <height>36</height> </size> </property> - <property name="flat"> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> <bool>true</bool> </property> + <property name="arrowType"> + <enum>Qt::NoArrow</enum> + </property> </widget> </item> <item> - <widget class="QPushButton" name="upgradeButton"> + <widget class="QToolButton" name="upgradeButton"> <property name="maximumSize"> <size> - <width>16777215</width> - <height>36</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="toolTip"> - <string><html><head/><body><p align="center">Upgrade the system</p></body></html></string> + <property name="text"> + <string>Upgrade the system</string> </property> <property name="icon"> <iconset> @@ -152,24 +158,24 @@ <height>36</height> </size> </property> - <property name="flat"> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> <bool>true</bool> </property> </widget> </item> <item> - <widget class="QPushButton" name="autoremoveButton"> + <widget class="QToolButton" name="autoremoveButton"> <property name="maximumSize"> <size> - <width>16777215</width> - <height>36</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="toolTip"> - <string><html><head/><body><p align="center">Uninstall no longer needed package(s)</p></body></html></string> - </property> <property name="text"> - <string/> + <string>Cleanup orphan packages</string> </property> <property name="icon"> <iconset> @@ -181,21 +187,24 @@ <height>36</height> </size> </property> - <property name="flat"> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> <bool>true</bool> </property> </widget> </item> <item> - <widget class="QPushButton" name="exitButton"> + <widget class="QToolButton" name="exitButton"> <property name="maximumSize"> <size> - <width>16777215</width> - <height>36</height> + <width>175</width> + <height>64</height> </size> </property> - <property name="toolTip"> - <string><html><head/><body><p align="center">Quit program</p></body></html></string> + <property name="text"> + <string>Quit program</string> </property> <property name="icon"> <iconset> @@ -207,7 +216,10 @@ <height>36</height> </size> </property> - <property name="flat"> + <property name="toolButtonStyle"> + <enum>Qt::ToolButtonTextUnderIcon</enum> + </property> + <property name="autoRaise"> <bool>true</bool> </property> </widget> |