7133 Commits (a128dd5d3c3fdb8f7703581122a50c565dcdab45)
 

Author SHA1 Message Date
Adriaan de Groot 733801980c [libcalamaresui] Fix up icon name for back-button 5 years ago
Adriaan de Groot 10dd32edd2 [libcalamaresui] Fix isAtVeryEnd()
- With an empty list, the question is meaningless
- .. and we called this with an empty list while constructing the
  ViewManager; if quit-at-end is true, then this would terminate
  Calamares immediately because the list was at the end.
5 years ago
Adriaan de Groot 081f5ec4d9 [libcalamaresui] Remove unused static methods
- The UI bits that needed these button-setup functions have
  moved to CalamaresWindow (with copies of those functions)
5 years ago
Adriaan de Groot a3c966cc6c Merge branch 'issue-1361'
FIXES #1361
5 years ago
Adriaan de Groot c7733f51d0
Merge pull request #1365 from demmm/master
[welcomeq] buttons connecting
5 years ago
Adriaan de Groot fafc508d63 [welcome] Update the widget's notion of the locale
- when the locale changes, tell the widget so that the drop-down
  displays the right language.

FIXES #1361
5 years ago
Adriaan de Groot 5956c6678e [welcome] Don't const& POD
- simplify parameter types in some set-methods
- while here, shuffle methods to bring things together
5 years ago
Adriaan de Groot e756cc8720 [libcalamares] Tidy RequirementsModel some more
- put signals in conventional place
- remove const int& parameter, that can just be int
- drop oddly-guarded code (that leaks memory); if the index (row)
  being passed in, it's probably best to just crash
- remove unused signal warningMessageChanged
5 years ago
Adriaan de Groot 4e7020d030 [libcalamares] Polish model
- make signals consistent in carrying a parameter
- explain why there's no Q_ENUM
5 years ago
Adriaan de Groot d2f5185d49 [welcome] Remove unused m_configurationMap
- the configuration is split into specific properties, not
  stored generically.
5 years ago
Adriaan de Groot 39afbdb570 [welcome] Shuffle signals to conventional location
- signals after slots, before private
- while here give the *MessageChanged signals a parameter (the changed
  message)
5 years ago
Adriaan de Groot 9d97972a34 [welcome] Apply coding style 5 years ago
Adriaan de Groot ca7733c8e4 [welcome] Drop RequirementsModel
- Use the one from libcalamares
- Massage warning message into Config after it was removed from the model
5 years ago
Adriaan de Groot 3bf69c9da8 [calamares] Pacify gcc 5 years ago
Adriaan de Groot e5562a5069 [libcalamares] Move RequirementsModel to libcalamares (1/2)
- Add the model and support code to libcalamares. The model still
  has some cruft that should be in the Welcome config.
5 years ago
demmm 34292618d8 welcomeq buttons connecting
minor spelling corrections
5 years ago
Adriaan de Groot e2fee79957 [libcalamaresui] Set icon on back-button 5 years ago
Adriaan de Groot 61a56336a1 Changes: document QML work, thanks Anke 5 years ago
Adriaan de Groot abe3f4cda0 Merge branch 'issue-1344'
FIXES #1344
5 years ago
Adriaan de Groot 510f9352e7 [calamares] Tweak QML sidebar
- some margins and extra space
 - left-align text
 - progress lozenges instead of pointy rectangles
5 years ago
Adriaan de Groot 1038de899b [calamares] Update sidebar and navigation QML
- use the right colors (from branding, not from desktop theme)
- apply branding logo
5 years ago
Adriaan de Groot ff37792dc9 [calamares] Resize QML to width of parent window 5 years ago
Adriaan de Groot 476a576dda [libcalamaresui] Ensure all button labels are accurate
- since lots of state is updated when the labels change, call that
  in the constructor so that any QML bindings get current values.
5 years ago
Adriaan de Groot c755c7ed98 [libcalamaresui] restore quit-at-very-end functionality
- This doesn't need to go indirectly through a button
5 years ago
Adriaan de Groot e7fabeceb2
Merge pull request #1364 from demmm/master
[welcomeq] About option re-added
5 years ago
Adriaan de Groot 91d0ba1007 [libcalamaresui] Remove *quit* button from ViewManager
- Mostly like the other buttons
- Also show/hide the button and set tooltip
5 years ago
Adriaan de Groot 0c71c7c23f [calamares] Set initial states of next, back buttons 5 years ago
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