Porting module on QML
Description
Porting kcron to QML. Tables have been separated into a new plugin from Kirigami Addons. The module's interaction with crontab (crontablib) has not changed.
Onboarding
Changed behavior when there are no cron jobs. Previously, a dialog box appeared to welcome the user, now all information is displayed on a separate tab of the module.
Old | New |
---|---|
Main page
The main page of the module has remained almost unchanged. The "Print" button has been moved to the ToolBar because not only tasks, but also variables were saved in the PDF, and leaving it next to the task table, is not correct, since it can mislead the user as to what exactly will be saved. The appearance of the "Status" column has also been simplified.
Old | New |
---|---|
Create/Update
Previously, changing/creating variables or tasks was implemented through modal windows, now separate pages are used.
Variable
Old | New |
---|---|
Task
Old | New |
---|---|
The old implementation of printing in PDF used QPainter and all rendering was based on QWidget, because of this it was decided to print html code, which also corrected some printing artifacts.
Old | New |
---|---|