summaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-09 12:34:30 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-09 12:34:30 +0100
commita5d35ec38e020ad47c47247888843052587118e1 (patch)
tree4e63a056e36ab7cc57d0914b68f2ee076321c7db /src/frontend
parentc7a68b99ae9cd01716f266032e55afe981fae749 (diff)
layout tweaks
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/gui/ui/sisyphus.ui797
1 files changed, 402 insertions, 395 deletions
diff --git a/src/frontend/gui/ui/sisyphus.ui b/src/frontend/gui/ui/sisyphus.ui
index cf2df13..d243f1f 100644
--- a/src/frontend/gui/ui/sisyphus.ui
+++ b/src/frontend/gui/ui/sisyphus.ui
@@ -32,7 +32,7 @@
<iconset>
<normaloff>../icon/sisyphus.png</normaloff>../icon/sisyphus.png</iconset>
</property>
- <widget class="QWidget" name="layoutGrid">
+ <widget class="QWidget" name="mainLayout">
<layout class="QGridLayout" name="mainGrid">
<property name="leftMargin">
<number>15</number>
@@ -107,400 +107,6 @@
</attribute>
</widget>
</item>
- <item row="3" column="0">
- <layout class="QHBoxLayout" name="actionGrid">
- <item>
- <widget class="QToolButton" name="installButton">
- <property name="minimumSize">
- <size>
- <width>125</width>
- <height>48</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>175</width>
- <height>64</height>
- </size>
- </property>
- <property name="text">
- <string>Install selected package(s)</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../icon/install.png</normaloff>../icon/install.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>30</width>
- <height>30</height>
- </size>
- </property>
- <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="QToolButton" name="uninstallButton">
- <property name="minimumSize">
- <size>
- <width>125</width>
- <height>48</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>175</width>
- <height>64</height>
- </size>
- </property>
- <property name="text">
- <string>Uninstall selected package(s)</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../icon/uninstall.png</normaloff>../icon/uninstall.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>30</width>
- <height>30</height>
- </size>
- </property>
- <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="QToolButton" name="upgradeButton">
- <property name="minimumSize">
- <size>
- <width>125</width>
- <height>48</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>175</width>
- <height>64</height>
- </size>
- </property>
- <property name="text">
- <string>Upgrade the system</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../icon/upgrade.png</normaloff>../icon/upgrade.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>30</width>
- <height>30</height>
- </size>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="autoremoveButton">
- <property name="minimumSize">
- <size>
- <width>125</width>
- <height>48</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>175</width>
- <height>64</height>
- </size>
- </property>
- <property name="text">
- <string>Uninstall orphan package(s)</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../icon/orphans.png</normaloff>../icon/orphans.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>30</width>
- <height>30</height>
- </size>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QToolButton" name="exitButton">
- <property name="minimumSize">
- <size>
- <width>125</width>
- <height>48</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>175</width>
- <height>64</height>
- </size>
- </property>
- <property name="text">
- <string>Quit program</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../icon/exit.png</normaloff>../icon/exit.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>30</width>
- <height>30</height>
- </size>
- </property>
- <property name="toolButtonStyle">
- <enum>Qt::ToolButtonTextUnderIcon</enum>
- </property>
- <property name="autoRaise">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="0" column="0">
- <layout class="QHBoxLayout" name="inputGrid">
- <property name="spacing">
- <number>25</number>
- </property>
- <property name="leftMargin">
- <number>25</number>
- </property>
- <property name="rightMargin">
- <number>25</number>
- </property>
- <item>
- <widget class="QLabel" name="label1">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="font">
- <font>
- <pointsize>10</pointsize>
- </font>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="text">
- <string>Search by</string>
- </property>
- <property name="textFormat">
- <enum>Qt::MarkdownText</enum>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- <property name="textInteractionFlags">
- <set>Qt::NoTextInteraction</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="applicationFilter">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="frame">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label2">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="font">
- <font>
- <pointsize>10</pointsize>
- </font>
- </property>
- <property name="mouseTracking">
- <bool>true</bool>
- </property>
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="text">
- <string>in</string>
- </property>
- <property name="scaledContents">
- <bool>true</bool>
- </property>
- <property name="textInteractionFlags">
- <set>Qt::NoTextInteraction</set>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="databaseFilter">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="frame">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="inputBox">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="placeholderText">
- <string>Type in the search term</string>
- </property>
- <property name="clearButtonEnabled">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="licenseButton">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="toolTip">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;License Information&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../icon/license.png</normaloff>../icon/license.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="settingsButton">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>30</height>
- </size>
- </property>
- <property name="toolTip">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Mirror Configuration&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="icon">
- <iconset>
- <normaloff>../icon/settings.png</normaloff>../icon/settings.png</iconset>
- </property>
- <property name="iconSize">
- <size>
- <width>16</width>
- <height>16</height>
- </size>
- </property>
- <property name="flat">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
<item row="4" column="0">
<widget class="QProgressBar" name="progressBar">
<property name="maximumSize">
@@ -542,6 +148,407 @@
</property>
</widget>
</item>
+ <item row="0" column="0">
+ <widget class="QWidget" name="inputLayout" native="true">
+ <layout class="QHBoxLayout" name="inputGrid">
+ <property name="spacing">
+ <number>25</number>
+ </property>
+ <property name="leftMargin">
+ <number>25</number>
+ </property>
+ <property name="rightMargin">
+ <number>25</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="label1">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>10</pointsize>
+ </font>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::StyledPanel</enum>
+ </property>
+ <property name="text">
+ <string>Search by</string>
+ </property>
+ <property name="textFormat">
+ <enum>Qt::MarkdownText</enum>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ <property name="textInteractionFlags">
+ <set>Qt::NoTextInteraction</set>
+ </property>
+ <property name="buddy">
+ <cstring>inputLayout</cstring>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="applicationFilter">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="frame">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label2">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="font">
+ <font>
+ <pointsize>10</pointsize>
+ </font>
+ </property>
+ <property name="mouseTracking">
+ <bool>true</bool>
+ </property>
+ <property name="frameShape">
+ <enum>QFrame::StyledPanel</enum>
+ </property>
+ <property name="text">
+ <string>in</string>
+ </property>
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+ <property name="textInteractionFlags">
+ <set>Qt::NoTextInteraction</set>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="databaseFilter">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="frame">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="inputBox">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="placeholderText">
+ <string>Type in the search term</string>
+ </property>
+ <property name="clearButtonEnabled">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="licenseButton">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;License Information&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../icon/license.png</normaloff>../icon/license.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>16</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="flat">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="settingsButton">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;Mirror Configuration&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../icon/settings.png</normaloff>../icon/settings.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>16</width>
+ <height>16</height>
+ </size>
+ </property>
+ <property name="flat">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QWidget" name="actionLayout" native="true">
+ <layout class="QHBoxLayout" name="actionGrid">
+ <item>
+ <widget class="QToolButton" name="installButton">
+ <property name="minimumSize">
+ <size>
+ <width>125</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>175</width>
+ <height>64</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Install selected package(s)</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../icon/install.png</normaloff>../icon/install.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>30</width>
+ <height>30</height>
+ </size>
+ </property>
+ <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="QToolButton" name="uninstallButton">
+ <property name="minimumSize">
+ <size>
+ <width>125</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>175</width>
+ <height>64</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Uninstall selected package(s)</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../icon/uninstall.png</normaloff>../icon/uninstall.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>30</width>
+ <height>30</height>
+ </size>
+ </property>
+ <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="QToolButton" name="upgradeButton">
+ <property name="minimumSize">
+ <size>
+ <width>125</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>175</width>
+ <height>64</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Upgrade the system</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../icon/upgrade.png</normaloff>../icon/upgrade.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>30</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextUnderIcon</enum>
+ </property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="autoremoveButton">
+ <property name="minimumSize">
+ <size>
+ <width>125</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>175</width>
+ <height>64</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Uninstall orphan package(s)</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../icon/orphans.png</normaloff>../icon/orphans.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>30</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextUnderIcon</enum>
+ </property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="exitButton">
+ <property name="minimumSize">
+ <size>
+ <width>125</width>
+ <height>48</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>175</width>
+ <height>64</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Quit program</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../icon/exit.png</normaloff>../icon/exit.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>30</width>
+ <height>30</height>
+ </size>
+ </property>
+ <property name="toolButtonStyle">
+ <enum>Qt::ToolButtonTextUnderIcon</enum>
+ </property>
+ <property name="autoRaise">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
</layout>
</widget>
</widget>