From 07199e3b0545f27ed0701c20748f082fb145f2a4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 18 Sep 2024 10:56:29 +0100 Subject: qt frontend : move the progress output do a dedicated window && ui tweaks * buffer the progress messages when the progress window is hidden * replay the buffer when the progress window is shown * display real-time output when the progress window is shown --- src/frontend/gui/ui/sisyphus.ui | 433 +++++++++++++++++++--------------------- 1 file changed, 206 insertions(+), 227 deletions(-) (limited to 'src/frontend/gui/ui/sisyphus.ui') diff --git a/src/frontend/gui/ui/sisyphus.ui b/src/frontend/gui/ui/sisyphus.ui index f2d5a06..b9cfb59 100644 --- a/src/frontend/gui/ui/sisyphus.ui +++ b/src/frontend/gui/ui/sisyphus.ui @@ -9,8 +9,8 @@ 0 0 - 1024 - 576 + 1366 + 768 @@ -21,8 +21,8 @@ - 1024 - 576 + 1366 + 768 @@ -49,6 +49,16 @@ 15 + + + + + 16777215 + 25 + + + + @@ -101,242 +111,186 @@ - - - - - 16777215 - 25 - - - - - - - QFrame::StyledPanel - - - QFrame::Sunken - - - Qt::ScrollBarAlwaysOn - - - Qt::TextSelectableByMouse - - - The progress output will be displayed here - - - - - - - - 25 - - - 25 - - - 25 - + + - + - 0 - 30 + 125 + 48 - 16777215 - 30 + 175 + 64 - - - 10 - + + Install Selected Package(s) - - QFrame::StyledPanel + + + ../icon/install.png../icon/install.png - - Search by + + + 30 + 30 + - - Qt::MarkdownText + + Qt::ToolButtonTextUnderIcon - + true - - Qt::NoTextInteraction - - - inputLayout + + Qt::NoArrow - + - 0 - 30 + 125 + 48 - 16777215 - 30 + 175 + 64 - - false + + Uninstall Selected Package(s) - - - - - - - 0 - 30 - + + + ../icon/uninstall.png../icon/uninstall.png - + - 16777215 + 30 30 - - - 10 - - - - true - - - QFrame::StyledPanel - - - in + + Qt::ToolButtonTextUnderIcon - + true - - Qt::NoTextInteraction + + Qt::NoArrow - + - 0 - 30 + 125 + 48 - 16777215 - 30 + 175 + 64 - - false + + System Upgrade - - - - - - - 0 - 30 - + + + ../icon/upgrade.png../icon/upgrade.png - + - 16777215 + 30 30 - - Type in the search term + + Qt::ToolButtonTextUnderIcon - + true - + - 0 - 30 + 125 + 48 - 16777215 - 30 + 175 + 64 - - <html><head/><body><p align="center">License Information</p></body></html> + + Purge Orphaned Package(s) - ../icon/license.png../icon/license.png + ../icon/orphans.png../icon/orphans.png - 16 - 16 + 30 + 30 - + + Qt::ToolButtonTextUnderIcon + + true - + - 0 - 30 + 125 + 48 - 16777215 - 30 + 175 + 64 - - <html><head/><body><p align="center">Mirror Configuration</p></body></html> + + Exit Application - ../icon/settings.png../icon/settings.png + ../icon/exit.png../icon/exit.png - 16 - 16 + 30 + 30 - + + Qt::ToolButtonTextUnderIcon + + true @@ -344,186 +298,213 @@ - - - + + + + + 25 + + + 25 + + + 25 + - + - 125 - 48 + 0 + 30 - 175 - 64 + 16777215 + 30 - - Install Selected Package(s) + + + 10 + - - - ../icon/install.png../icon/install.png + + QFrame::StyledPanel - - - 30 - 30 - + + Search by - - Qt::ToolButtonTextUnderIcon + + Qt::MarkdownText - + true - - Qt::NoArrow + + Qt::NoTextInteraction + + + inputLayout - + - 125 - 48 + 0 + 30 - 175 - 64 + 16777215 + 30 - - Uninstall Selected Package(s) + + false - - - ../icon/uninstall.png../icon/uninstall.png + + + + + + + 0 + 30 + - + - 30 + 16777215 30 - - Qt::ToolButtonTextUnderIcon + + + 10 + - + true - - Qt::NoArrow + + QFrame::StyledPanel + + + in + + + true + + + Qt::NoTextInteraction - + - 125 - 48 + 0 + 30 - 175 - 64 + 16777215 + 30 - - System Upgrade + + false - - - ../icon/upgrade.png../icon/upgrade.png + + + + + + + 0 + 30 + - + - 30 + 16777215 30 - - Qt::ToolButtonTextUnderIcon + + Type in the search term - + true - + - 125 - 48 + 60 + 30 - 175 - 64 + 16777215 + 30 - - Purge Orphaned Package(s) + + <html><head/><body><p align="center">Show Progress</p></body></html> - ../icon/orphans.png../icon/orphans.png + ../icon/progress.png../icon/progress.png - 30 - 30 + 24 + 24 - - Qt::ToolButtonTextUnderIcon - - + true - + - 125 - 48 + 60 + 30 - 175 - 64 + 16777215 + 30 - - Exit Application + + <html><head/><body><p align="center">Settings</p></body></html> - ../icon/exit.png../icon/exit.png + ../icon/settings.png../icon/settings.png - 30 - 30 + 24 + 24 - - Qt::ToolButtonTextUnderIcon - - + true @@ -538,10 +519,8 @@ applicationFilter databaseFilter inputBox - licenseButton settingsButton databaseTable - progressBox installButton uninstallButton upgradeButton -- cgit v1.2.3