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
This commit is contained in:
Marek Marczykowski-Górecki 2021-04-01 22:24:25 +02:00
parent 0857ff86bb
commit 679a23980d
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
2 changed files with 15 additions and 5 deletions

View File

@ -38,7 +38,7 @@ class Template(typing.NamedTuple):
'Name',
'Version',
'Reponame',
'Size (MB)',
'Download Size (MB)',
'Build Time',
'Install Time',
'License',

View File

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>465</width>
<width>930</width>
<height>478</height>
</rect>
</property>
@ -25,6 +25,13 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Select actions to perform in &quot;Status&quot; column:</string>
</property>
</widget>
</item>
<item>
<widget class="QTreeView" name="listing">
<property name="editTriggers">
@ -50,7 +57,7 @@
<bool>true</bool>
</property>
<property name="placeholderText">
<string>Click the 'Status' column to change the status of templates.</string>
<string>Use &quot;Status&quot; column to select actions to execute on a given template; when desired actions are selected, use &quot;Apply&quot; to perform them.</string>
</property>
</widget>
</item>
@ -61,7 +68,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>465</width>
<width>930</width>
<height>24</height>
</rect>
</property>
@ -71,6 +78,9 @@
<property name="windowTitle">
<string>toolBar</string>
</property>
<property name="toolButtonStyle">
<enum>Qt::ToolButtonTextUnderIcon</enum>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
@ -95,7 +105,7 @@
<normaloff>.</normaloff>.</iconset>
</property>
<property name="text">
<string>Install</string>
<string>Apply</string>
</property>
</action>
</widget>