Adriaan de Groot
38deb66e42
[libcalamaresui] Remove *back* button from ViewManager
...
- Now the back button should be done by clients as well
- Refactor in CalamaresWindow to avoid leaking local button pointers
to surrounding code.
- Add macro UPDATE_BUTTON_PROPERTY for convenience in ViewManager
(ugh, macro) to change a value and emit corresponding update signal.
5 years ago
Adriaan de Groot
8920be6bca
[libcalamaresui] Remove *next* button from ViewManager
...
- add properties for the next button (enabled, label, icon...)
- update those properties as normal
- connect to the properties in the UI implementation
5 years ago
Adriaan de Groot
c638343c18
[libcalamares] Give ViewManager a real quit() slot
...
- instead of creating a lambda, give ViewManager a real slot
- hook up the new navigation buttons to the next, back, quit slots
5 years ago
demmm
2c2bba5525
actually set About button to false...
5 years ago
demmm
b3f59cee25
filling About in QML, button still disabled
...
using Loader, can be reused for other widgets conversion
leave onClick example with full path, commneted out
title text for About is hardcoded, discuss option to make this configurable in welcome.conf
background color hardcoded, tested to work well in dark themes too
5 years ago
Adriaan de Groot
9f66b63c00
[calamares] Indulge in template-fu to refactor
...
- since we've got two blocks of code copy-pasted, which both
decide to call one or the other of two member functions based
on a flavor value, turn that into a templated function.
- passing member functions looks a bit weird, and calling them
is syntactically surprising, but it cuts down the code a lot.
5 years ago
Adriaan de Groot
2dcf265c40
[calamares] Give QML navigation bar a fixed height
5 years ago
Adriaan de Groot
02fc4ce806
[calamares] Load QML navigation
5 years ago
Adriaan de Groot
d4f903b95c
[calamares] Create navigation panel in CalamaresWindow
...
- this is a non-functional duplicate panel, so it looks funny
5 years ago
Adriaan de Groot
6c8aa5da63
[libcalamaresui] Remove commented-out code
5 years ago
Adriaan de Groot
57e6864902
[libcalamaresui] Add panel flavor
...
- rename enum to more general PanelFlavor
- introduce branding settings for navigation (e.g. for switching
the navigation buttons off, or using QML)
5 years ago
Adriaan de Groot
d4083c9bbb
[libcalamaresui] Add "hidden" as alias for "none" in sidebar settings
5 years ago
Adriaan de Groot
d8ecd302e1
[libcalamares] Apply coding style
...
- minor space issues
- drop a blank line after moc-warnings.h to avoid if being sorted
downwards, after the MOC file it's protecting
5 years ago
Adriaan de Groot
1765412b61
[libcalamaresui] Move RequirementsChecker to libcalamares
...
- the checker only collects and calls requirements; it has no
UI component, and only manages data (and a thread to do the
checking). Move it out of the UI library.
5 years ago
Adriaan de Groot
7655584022
[libcalamaresui] Move Module to libcalamares
...
- The Module class has no UI-specific code in it; it's all about
loading and data-management. Move it out of the UI library.
5 years ago
Adriaan de Groot
e04f87fe95
[libcalamaresui] Refactor moduleFromDescriptor
...
- this function lives in Module -- and is the only thing typing
Module to the ViewSteps and JobTypes. Split it out into its
own funciton. Nothing else in Module needs to befriend the
ViewSteps, so we move the friend declaration around a bit
as well.
- while here, apply coding style.
This is prep-work for moving module to libcalamares.
5 years ago
Adriaan de Groot
4ddd1ecceb
[libcalamares] Move Requirement to libcalamares
...
- This isn't a UI component: a requirement can be checked and
reported-on without a UI entirely.
5 years ago
demmm
c10ef9e3bc
[welcome] Improve welcomeq visuals
...
- set image to fill
- keep aspect ratio
- don't hardcode text color
- variation in icons used
- expand header text to check fit
5 years ago
Adriaan de Groot
04c084e831
Merge branch 'issue-1340'
...
FIXES #1340
5 years ago
Adriaan de Groot
eda2e4e10a
[calamares] Tweak looks of basic-QML-sidebar
...
- Use the new currentStepIndex (suggested by Camilo) to see if something
is selected / current.
5 years ago
Adriaan de Groot
fff4caf0de
[libcalamaresui] Apply coding style
...
- while here, update copyright
5 years ago
Adriaan de Groot
3d7e5bc90d
[libcalamaresui] Expose just currentIndex
...
- drop the current and completed roles, and expose only
the currentIndex. QML can use the QObject property on
the model, while QWidgets can call internally through
the model's data() function.
- we don't need to provide role names for this, so drop that bit.
- simplify the delegate code while here.
5 years ago
Adriaan de Groot
aad79f664e
[libcalamaresui] Expose currentIndex also as model data
5 years ago
Adriaan de Groot
b8962cec2d
[libcalamaresui] Expose currentStepIndex
5 years ago
Adriaan de Groot
b271ed19b7
[partition] Fix typo in message
5 years ago
Adriaan de Groot
83f5f9e1a7
[libcalamares] Introduce generic delete-later class
...
Don't bother with QScopeGuard just right now, since I can't
find a use-case in the Calamares codebase.
FIXES #1358
5 years ago
Adriaan de Groot
7c56a50632
[netinstall] Expand documentation of groups format
5 years ago
Adriaan de Groot
599c72bade
Changes: post-release housekeeping
5 years ago
Calamares CI
3c762d3e2b
i18n: [python] Automatic merge of Transifex translations
5 years ago
Calamares CI
2b6eb8473e
i18n: [dummypythonqt] Automatic merge of Transifex translations
5 years ago
Calamares CI
034447e021
i18n: [calamares] Automatic merge of Transifex translations
5 years ago
Adriaan de Groot
32ded8b731
Changes: pre-release housekeeping
5 years ago
Adriaan de Groot
33a4b08ac0
Merge branch 'issue-1343'
...
- Also add documentation to CHANGES
FIXES #1343
FIXES #1319
5 years ago
Adriaan de Groot
433ed8384f
[netinstall] Inherit criticalness in groups
...
- Groups inherit slightly differently: if a subgroup **explicitly**
configures criticalness, use that. It would be weird, but possibly,
to have a non-critical subgroup of a critical group.
5 years ago
Adriaan de Groot
83a89c144c
[netinstall] Packages should inherit critical-ness from parent
5 years ago
Adriaan de Groot
14a3e10cc2
[netinstall] Simplify getItemPackages
...
- Use convenience predicate isPackage()
- Name child->item(i) for brevity
5 years ago
Adriaan de Groot
464561b420
[netinstall] Update subgroup-checkedness based on children
...
- An unselected group with (some) selected subgroups was not
displayed as (semi)checked -- it was unchecked, because
its checked-ness was not updated based on the children.
5 years ago
Adriaan de Groot
63b940a623
[netinstall] Implement immutable groups
...
- An immutable group doesn't show a checkbox at all
5 years ago
Adriaan de Groot
7a42a4d71f
[netinstall] Add example section that is immutable
...
- The section can't be changed, but is selected (it doesn't
make sense otherwise)
5 years ago
Adriaan de Groot
85551f0fdb
[netinstall] Various refactoring
...
- move ready-indication to Config
- don't check pointers that can't be null
- hand the whole Config to the page
5 years ago
Adriaan de Groot
4cdfe1276a
[netinstall] Rip loading out of the UI page
...
- Create a config object in the ViewStep
- Model lives in the config object and loads there
- Give model to the UI page for display
5 years ago
Adriaan de Groot
9a35427113
[netinstall] Remove unused m_jobs
...
- Netinstall doesn't make any jobs itself, so drop the member variable
- Use type alias, and simplify jobs()
5 years ago
Adriaan de Groot
1a74a713b6
[netinstall] Make status an enum
...
- Since we might change translations after loading, display
the message based on the status enum, rather than
setting it once at load-time.
5 years ago
Adriaan de Groot
7a4f6f7bfd
Merge pull request #1357 from demmm/master
...
[partition] Increase Manual Partition instructions
5 years ago
Adriaan de Groot
463435db68
[localeq] De-cruft CMakeLists
...
- Remove commented-out code
- Fix layout
- Update to modern CMake approach
5 years ago
Adriaan de Groot
ba8811c628
[keyboard] Apply coding style
...
- Include order
- ci/calamaresstyle
- modern alias for job-list
5 years ago
Adriaan de Groot
df0a98b2a4
Docs: make editorconfig for CMake explicit (4-space indents)
5 years ago
Adriaan de Groot
ac08598176
Branding: expand the stylesheet example
...
- Mention that the sidebar menu can't be styled
- Point to more documentation about styling
- Give an example of styling buttons with an icon
5 years ago
demmm
8dc81b6987
Increase Manual Partition instructions
...
used downstream since 2014, has helped a lot with increaisng correct setups
5 years ago
demmm
30ef7b4334
Merge pull request #2 from calamares/master
...
Merge upstream
5 years ago