Commit Graph

9 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
fcf5db817f
qvm-template-gui: auto resize columns to the content 2021-04-03 19:07:06 +02:00
Marek Marczykowski-Górecki
6c9514c034
qvm-template-gui: change date format to '%d %b %Y'
Make it always include month as a word, to less overwhelm the user with
a table full of numbers.
2021-04-03 19:07:06 +02:00
Marek Marczykowski-Górecki
099bbe99aa
qvm-template-gui: UX improvements
- 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
2021-04-03 19:07:06 +02:00
Marek Marczykowski-Górecki
be4e2050a1
Make pylint happy 2021-04-02 05:39:42 +02:00
Marek Marczykowski-Górecki
03a34fbedd
qvm-template-gui: improve displaying progress
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.
2021-04-02 05:39:35 +02:00
Marek Marczykowski-Górecki
679a23980d
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
2021-04-02 02:58:24 +02:00
WillyPillow
5c5758783b
qvm-template: Change size unit from kB to MB. 2020-08-30 01:34:03 +08:00
WillyPillow
7e8ee7e8cc
qvm-template: Port initial code to PyQt. 2020-08-25 00:17:24 +08:00
WillyPillow
79b6d8f72c
qvm-template: Initial GUI implementation. 2020-08-19 02:02:14 +08:00