* origin/pr/258:
qvm-template-gui: auto resize columns to the content
qvm-template-gui: change date format to '%d %b %Y'
qvm-template-gui: UX improvements
Make pylint happy
qvm-template-gui: improve displaying progress
qvm-template-gui: UI improvements
qvm-template: Include files in deb/rpm package
qvm-template: Change size unit from kB to MB.
qvm-template: Disable multi-selection for simplicity.
qvm-template: Port initial code to PyQt.
qvm-template: Initial GUI implementation.
- hide license, URL and summary - those are the same for all the templates, and
not really useful for the user
- remove repeated "Time" word from column headers
- use full "Repository" word as the column header
The final version of qvm-template does not display untrusted data, so it
is safe to decode UTF-8. Specifically, this shows download progress bar
done using tqdm library.
For this to work, \r needs to be properly handled, as tqdm uses it to
erase the current line to update progress status. Since QTextEdit does
not support it natively, add a simple wrapper for this job.
Alternatively, qvm-template could be modified to display
machine-readable progress info that would be passed through QT progress
widget, but it would basically duplicate the work already done by tqdm
library. We might do this at some point, though.
And also enlarge progress window default size, to avoid wrapping.
- 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 is useful for tests causing events in qube manager itsef (not just
external qvm-prefs calls). If event listener isn't connected at this
time, qube manager won't receive them and also qubesadmin internal cache
won't be refreshed.
* origin/pr/273: (24 commits)
Fix coherence in network menu when adding/removing domains
Fix too long line
Add warning if trying to change template VM
Disable network menu for templates
Display default netvm
Fix possible 'None' default error
Added default option for network change
Wrap warnings message in self.tr()
Added wait argument to start_vm
Better dialog creation
Added try/except for starting netvm
Added error message to dialogs
Added proper error handling and Check netvm_name is not None
Changed checkboxes to icons
Added change network confirmation
Added Template Change Confirmation
Moved change_* funcs after __init__()
Added QMessageBox if netvm is halted and user wants to start it
Added network_menu updates
Added try/except for change_network
...
- create_new_vm rework - especially new VM type selection
- minor changes in the main manager table
- rework of logs dialog (the test for the actual dialog is still
missing, the current one only checks if it's called with proper
arguments)
When choosing StandaloneVM type, the option to install a system should
be enabled when empty source template is set. Fix this when choosing VM
type first and only then changing template to empty.
* origin/pr/275:
Replace '2' with Qt.Checked
Rename 'Include in backups' to 'Backup'
flags() rewrite
Fix empty lines
Include in backups changed to 'CheckStateRole'