From 679a23980dd63fad1ef371c6e97cf2e919fe5bc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Thu, 1 Apr 2021 22:24:25 +0200 Subject: [PATCH] qvm-template-gui: UI improvements - rename "install" button to "apply" - it also does remove and reinstall - show button descriptions always - show help text always, not only before selecting anything - make the window a bit wider --- qubesmanager/qvm_template_gui.py | 2 +- ui/qvmtemplate.ui | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/qubesmanager/qvm_template_gui.py b/qubesmanager/qvm_template_gui.py index 2870de5..5c5b78d 100644 --- a/qubesmanager/qvm_template_gui.py +++ b/qubesmanager/qvm_template_gui.py @@ -38,7 +38,7 @@ class Template(typing.NamedTuple): 'Name', 'Version', 'Reponame', - 'Size (MB)', + 'Download Size (MB)', 'Build Time', 'Install Time', 'License', diff --git a/ui/qvmtemplate.ui b/ui/qvmtemplate.ui index 7f61079..0901e4a 100644 --- a/ui/qvmtemplate.ui +++ b/ui/qvmtemplate.ui @@ -6,7 +6,7 @@ 0 0 - 465 + 930 478 @@ -25,6 +25,13 @@ + + + + Select actions to perform in "Status" column: + + + @@ -50,7 +57,7 @@ true - Click the 'Status' column to change the status of templates. + Use "Status" column to select actions to execute on a given template; when desired actions are selected, use "Apply" to perform them. @@ -61,7 +68,7 @@ 0 0 - 465 + 930 24 @@ -71,6 +78,9 @@ toolBar + + Qt::ToolButtonTextUnderIcon + TopToolBarArea @@ -95,7 +105,7 @@ .. - Install + Apply