Commit Graph

25 Commits (ee4e4dfcccb6588a81814848eae692f0afce2478)

Author SHA1 Message Date
Adriaan de Groot ee4e4dfccc C++ trickery to make the code shorter to read.
Adriaan de Groot 9b3af4aac3 i18n: translate yes/no buttons, don't rely on Qt translations
Adriaan de Groot 4561849c39 UI: add tooltip to Cancel / Quit button
Change 'Quit' at the end to 'Done', because we're done -- and Quit
is sometimes interpreted as cancelling. Tooltip for additional
explanation.
Adriaan de Groot 09b25ab3e9 Clang: make ViewManager instance a proper singleton.
Teo Mrnjavac 351c69c300 Remove obsolete code.
CAL-340 #close
Teo Mrnjavac 0fa19cca68 Fix the last page fix.
Teo Mrnjavac 51d0d9f9b4 Disable next on last page.
Teo Mrnjavac 5e87e01374 Refactor view module workflow in ViewManager.
Teo Mrnjavac 42316fe6dc Do ask for confirmation if quitting during install phase.
Teo Mrnjavac 375150347b nullptr is better than 0
Teo Mrnjavac a8b8a3a455 Show an "are you sure" prompt before install, if prompt-install is true.
Teo Mrnjavac 24fc227e76 Retranslate navigation buttons.
Teo Mrnjavac 2782328036 Fix phase handling in ViewManager, to allow adding a Finished page.
Teo Mrnjavac de406cef22 The Quit button is now Cancel, except on the last page.
Teo Mrnjavac 058be8beb2 Ensure viewpages will have focus. To choose a focused widget inside it,
a viewpage should override void focusInEvent( QFocusEvent* ).
Teo Mrnjavac 14130ae9c0 Only allow a ViewStep to change next button status if it's active now.
Aurélien Gâteau 70a13fc588 Make logging more useful
- Do not log progress percent but log job names.
- Log install failures.
Aurélien Gâteau 5126458040 Disable "Next" button if isNextEnabled() of first step returns false
Aurélien Gâteau 90670f8b46 Improve formatting of error messages
Teo Mrnjavac 8d28a2ea5d Generalized code path for Phase switching. Also load install modules.
Aurélien Gâteau 165d28fc23 Abort installation when a job fails
Aurélien Gâteau 04743eb4be Basic JobQueue implementation
Teo Mrnjavac c339ac8cfc Add status info to Summary page. Still needs work to make it nice.
Also added onActivate/onLeave to ViewStep and ViewManager.
Aurélien Gâteau cb6a25c2ce Show an InstallationStep at the end of the preparation process
Teo Mrnjavac 4ec72f4afb Refactored calamares_bin into calamares_bin and libcalamaresui.
Now linking with -Wl,--no-undefined!
Moved find_package KF5 from the root CMakeLists.txt to the partitioning
module where it belongs. KF5 deps should be limited to plugins.
Lots of random fixage to make stuff link.
Removed CalamaresApplication reference from Settings.
Removed the use of AbstractPage, we don't need it right now.