Adriaan de Groot
4387b8061e
[keyboard] Move responsibility for retranslation to Config
...
- only widgets get language change events, so we need to
hook that up to the ViewSteps and inform the Config
object so that it can (re)load translations for the
keyboard data.
2020-10-31 20:02:21 +01:00
Adriaan de Groot
8457a00ad0
[keyboard] Fix group-switcher multiplying
...
FIXES #1556
2020-10-30 11:05:15 +01:00
Adriaan de Groot
cd9c0ea781
[keyboard] Reduce debugging output
2020-10-28 17:00:12 +01:00
Adriaan de Groot
14a76a386a
[keyboard] Replace broken-ish variants model with k-v list
...
- Use the just-refactored XKBListModel to store the xkb key-value
pairs for variants, drop most of the complicated implementation,
store just a single list of values.
2020-10-28 16:29:52 +01:00
Adriaan de Groot
87aafb2442
[keyboard] Tear up connections between widgets and model
2020-10-28 13:57:57 +01:00
Adriaan de Groot
365a2ad6fd
[keyboard] Re-do the keyboard physical models model from scratch
2020-10-28 13:41:21 +01:00
Adriaan de Groot
fe5757c7d1
[keyboard] Matching of layouts is very suspect
2020-10-28 01:07:49 +01:00
Adriaan de Groot
4f0d6a8f25
Merge branch 'calamares' into fix-keyboardq
2020-10-28 00:04:40 +01:00
Artem Grinev
4434e85d4d
[keyboard] Simplified variable name
2020-10-27 20:53:20 +03:00
Artem Grinev
3552233bf1
[keyboard] Minor logic rework
2020-10-27 20:48:18 +03:00
Artem Grinev
6667ea834f
[keyboard] Adjusted indents
2020-10-27 20:42:49 +03:00
Artem Grinev
bfc60ad2cf
[keyboard] Implemented X11 config writing for additional layout
2020-10-27 18:59:10 +03:00
Artem Grinev
0dd027af90
[keyboard] Fixed condition bug
2020-10-27 18:59:10 +03:00
Artem Grinev
19b1fb3358
[keyboard] Added explanatory comment for xkbmap_query_grp_option
2020-10-27 18:59:10 +03:00
Artem Grinev
384b1ba8c6
[keyboard] Swapped primary and additional layouts in selection
2020-10-27 18:59:10 +03:00
Artem Grinev
354dc1613a
[keyboard] Removed unnecessary repacking in xkbmap_layout_args
2020-10-27 18:59:10 +03:00
Artem Grinev
09b5e42734
[keyboard] Minor additional layout info rework
2020-10-27 18:59:10 +03:00
Artem Grinev
17b9647016
[keyboard] Support for additional layout if current layout is not ASCII-
...
capable in live system
2020-10-27 18:59:10 +03:00
Adriaan de Groot
679f613955
[keyboard] Rename mysterious Config::init() to descriptive name
2020-10-27 15:48:51 +01:00
Adriaan de Groot
c7c7e6a6c1
[keyboard] Move configuration to the Config object
...
- information from the configuration file -> Config object
- job creation -> Config object
Ignore keyboardq for now.
2020-10-14 15:50:21 +02:00
Adriaan de Groot
0f6602cad7
[keyboard] Improve xkb parsing
2020-10-14 15:50:21 +02:00
Adriaan de Groot
ec42e3294f
[keyboard] Refactor argument-lists for setxkbmap
...
- separate functions for model, and layout+variant settings
2020-10-14 15:50:21 +02:00
Adriaan de Groot
b54273f904
[keyboard] Move all the keyboard (AbstractList)Models to the models file
2020-10-14 15:50:21 +02:00
Adriaan de Groot
1cd9b93a22
REUSE: Giant boilerplate cleanup
...
- point to main Calamares site in the 'part of' headers instead
of to github (this is the "this file is part of Calamares"
opening line for most files).
- remove boilerplate from all source files, CMake modules and completions,
this is the 3-paragraph summary of the GPL-3.0-or-later, which has
a meaning entirely covered by the SPDX tag.
2020-08-26 02:28:38 +02:00
Adriaan de Groot
30a85668b7
REUSE: (GPL-3.0-or-later) C++ modules
2020-08-26 02:22:49 +02:00
Adriaan de Groot
192263cf9d
[libcalamares][modules] Use compatibility for QString::split()
...
- Use the compatibility value, which has an enum value suitable
for the Qt version in use.
2020-06-23 11:13:55 +02:00
Adriaan de Groot
24653c1cc6
[locale] C&P code with repeated bugs from QML branches
2020-06-03 13:42:15 +02:00
Camilo Higuita
835850c02a
[keyboardq] apply the style script
2020-04-03 10:27:06 +02:00
Camilo Higuita
1a46e08cc2
[keyboard] changes to the keyboardmodel to work with qml
2020-04-03 10:26:58 +02:00
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
2020-04-03 10:19:04 +02:00