35 Commits (60ab5dd3cf9ad3372c2915759d35955a3957d9b2)

Author SHA1 Message Date
Adriaan de Groot a8426730ca [libcalamaresui] Improve wording of modules failure warning 7 years ago
Adriaan de Groot 9918dfb95f [libcalamaresui] Reporting on failures
- Provide information on failed modules
 - Disallow further progress when configuration is borked
7 years ago
Adriaan de Groot 6bb72d173d [libcalamares] Drop generic cLog()
- Use cWarning or cError() for errors
 - Use cDebug(level) for other uses (but there aren't any)
8 years ago
Adriaan de Groot 958aee1d41 [libcalamaresui] Switch text on 'next' button
- If the next step will be an install-step (e.g. hit the optional
   confirmation step) then change the text on the 'next' button to
   'install'.
 - Do a little refactoring to make that more pleasant.

FIXES #905
8 years ago
Adriaan de Groot 9c9486bb78 [libcalamares] When ViewManager is destroyed, reset instance pointer 8 years ago
Adriaan de Groot 308441ee3a Merge branch '3.1.x-stable' 8 years ago
Adriaan de Groot 41e6f0e06c [calamares] Allow WM close button
- remove hide-close-button hack
 - refactor code in viewmanager for confirming quit
 - hook up confirm-and-quit to WM close button
 - also works for alt-F4 and other quit methods
 - while here, update copyright year

FIXES #870
8 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 8 years ago
Adriaan de Groot 73a75e837b Auto-resize the main window.
If the summary widget is large, it gets a scrollbar. This looks really
weird, so prefer to grow the installer window instead. Discussed with
@sitter and settled on this solution.

ViewSteps can signal the ViewManager that they need more space (in pixels),
which may or may not be honored.

FIXES #778
8 years ago
Adriaan de Groot d3f624f818 FinishedPage: no modal pop-ups in a slot
Switch the failure popup to non-modal, and quit the application when
the pop-up is closed. This allows signals to be delivered to other
slots connected to JobQueue::failed.
8 years ago
Adriaan de Groot ee4e4dfccc C++ trickery to make the code shorter to read. 8 years ago
Adriaan de Groot 9b3af4aac3 i18n: translate yes/no buttons, don't rely on Qt translations 8 years ago
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.
8 years ago
Adriaan de Groot 09b25ab3e9 Clang: make ViewManager instance a proper singleton. 8 years ago
Teo Mrnjavac 351c69c300 Remove obsolete code.
CAL-340 #close
10 years ago
Teo Mrnjavac 0fa19cca68 Fix the last page fix. 10 years ago
Teo Mrnjavac 51d0d9f9b4 Disable next on last page. 10 years ago
Teo Mrnjavac 5e87e01374 Refactor view module workflow in ViewManager. 10 years ago
Teo Mrnjavac 42316fe6dc Do ask for confirmation if quitting during install phase. 10 years ago
Teo Mrnjavac 375150347b nullptr is better than 0 11 years ago
Teo Mrnjavac a8b8a3a455 Show an "are you sure" prompt before install, if prompt-install is true. 11 years ago
Teo Mrnjavac 24fc227e76 Retranslate navigation buttons. 11 years ago
Teo Mrnjavac 2782328036 Fix phase handling in ViewManager, to allow adding a Finished page. 11 years ago
Teo Mrnjavac de406cef22 The Quit button is now Cancel, except on the last page. 11 years ago
Teo Mrnjavac 058be8beb2 Ensure viewpages will have focus. To choose a focused widget inside it,
a viewpage should override void focusInEvent( QFocusEvent* ).
11 years ago
Teo Mrnjavac 14130ae9c0 Only allow a ViewStep to change next button status if it's active now. 11 years ago
Aurélien Gâteau 70a13fc588 Make logging more useful
- Do not log progress percent but log job names.
- Log install failures.
11 years ago
Aurélien Gâteau 5126458040 Disable "Next" button if isNextEnabled() of first step returns false 11 years ago
Aurélien Gâteau 90670f8b46 Improve formatting of error messages 11 years ago
Teo Mrnjavac 8d28a2ea5d Generalized code path for Phase switching. Also load install modules. 11 years ago
Aurélien Gâteau 165d28fc23 Abort installation when a job fails 11 years ago
Aurélien Gâteau 04743eb4be Basic JobQueue implementation 11 years ago
Teo Mrnjavac c339ac8cfc Add status info to Summary page. Still needs work to make it nice.
Also added onActivate/onLeave to ViewStep and ViewManager.
11 years ago
Aurélien Gâteau cb6a25c2ce Show an InstallationStep at the end of the preparation process 11 years ago
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.
11 years ago