7197 Commits (7d1800a0d7c205152e5646046df7047ddaf9604d)
 

Author SHA1 Message Date
Adriaan de Groot af4220331e [libcalamaresui] Move lambda to a "real" slot. 5 years ago
Adriaan de Groot 7393198f7b [libcalamaresui] Tell the manager explicitly when loading is done
- Add some extra checks for validity of m_currentStep (an index)
- Start off with explicitly invalid index, and keep it so until
  loading is complete; this prevents the situation where quit-at-end
  gets triggered after loading the very first module.
5 years ago
Adriaan de Groot c2fac3a717 [calamares] Minor clean-ups 5 years ago
Adriaan de Groot 59ef307af2 Merge panel-layout code: choose where to place sidebar + nav 5 years ago
Adriaan de Groot 6c418402e3 [localeq] Hit QML file with a hammer
- io.calamares.modules doesn't exist
- ResponsiveBase doesn't exist

The module is now non-functional, but at least it loads and renders
a list of regions and zones.
5 years ago
Adriaan de Groot 54b8ad5475 [localeq] Fix loading default QML
- need our own copy of the QRC, that includes the QML
5 years ago
Adriaan de Groot c602f2493a [keyboardq] Make QML available
- name default / example QML conventionally
 - copy QRC from keyboard -- the QML needs to be included in the QRC --
   since we don't want to have the QML in the keyboard module.
5 years ago
Adriaan de Groot 768c1dbe43 Changes: describe panel-layout options 5 years ago
Adriaan de Groot 7b6b53ab8c [calamares] Re-do building the main layout
- follow branding settings, taking the panel-sides into account
- drop fixed width and height for QML parts
- give panels a minimum appropriate-dimension if they don't have one

This allows, for instance, putting both Widget sidebar and QML navigation
on the left-hand side of the window.
5 years ago
Adriaan de Groot e15e7d1dc5 [libcalamaresui] Load panel-side settings
- Introduce an enum for panel-side
- Expose this to QML -- I can imagine that QML panels need to know
  which side of the Calamares window they're on.
- Refactor loading the setting into a method that handles both
  flavor and side
5 years ago
Adriaan de Groot b48e0ebb37 [branding] Introduce placement options for nav, sidebar
- There's no real reason to force the sidebar left and nav at the bottom,
  certainly with QML supporting more layouts and being more flexible,
  so document a mechanism to place the sidebar and navigation along
  "edges" of the Calamares window.
5 years ago
Camilo Higuita 835850c02a [keyboardq] apply the style script 5 years ago
Camilo Higuita 1a46e08cc2 [keyboard] changes to the keyboardmodel to work with qml 5 years ago
Camilo Higuita 0872de7910 [keyboard] Add Config object, split out a keyboardq
- Introduce new QML-ified module for the keyboard
- To share code, move *keyboard* module to a Config-object
5 years ago
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