Adriaan de Groot
d2c7c42aec
[dracutlukscfg] More static methods -> free functions
2020-11-30 14:32:36 +01:00
Adriaan de Groot
6d02bab098
[dracutlukscfg] static methods -> free functions
...
These methods don't touch anything in the class, and are more safely
tucked away as static (TU-local) free functions.
2020-11-30 14:23:06 +01:00
Adriaan de Groot
6df3c023c8
[luksbootkeyfile] Free functions that really are static (TU-local)
2020-11-30 14:16:35 +01:00
Adriaan de Groot
b82da569d5
[plasmalnf] Remove unused (widget) files
2020-11-30 14:16:35 +01:00
Calamares CI
d290862163
i18n: [calamares] Automatic merge of Transifex translations
2020-11-30 13:22:17 +01:00
Adriaan de Groot
f2e5f2f8e5
Changes: pre-release housekeeping
2020-11-30 13:19:55 +01:00
Adriaan de Groot
06e2db946f
[plasmalnf] Older Qt doesn't have -> for iterator
...
With Qt 5.15.2 (and clang), `k->first` works, but this breaks
with Qt 5.11 (and gcc), this is not available and the dereference
must be written differently, `(*k).first`.
2020-11-30 13:12:42 +01:00
Adriaan de Groot
ff66eacd0d
Merge branch 'issue-1573' into calamares
2020-11-30 12:31:26 +01:00
Adriaan de Groot
fb9fa347a0
[plasmalnf] Fix iteration
...
`for k : images` iterates over the values in the map, while we need
both the key (the theme-id) and the value (the image to hand to
that theme).
2020-11-30 12:30:01 +01:00
Adriaan de Groot
bcff0454a3
[plasmalnf] Give the themes a selected-state
...
- This kind of runs around the selection model on the view,
but we're drawing radio buttons ourselves **anyway**
and the list of themes knows which is selected / current
independent of the view.
2020-11-30 12:11:11 +01:00
Adriaan de Groot
da4f8fffcf
[plasmalnf] Give the theme list plenty of space
2020-11-30 11:31:44 +01:00
Adriaan de Groot
cf538fb837
[plasmalnf] Implement a delegate for drawing the list of themes
2020-11-30 11:19:00 +01:00
Adriaan de Groot
cc6611bac4
[plasmalnf] Make 'the size of screenshots' available outside ThemeInfo
2020-11-30 10:46:46 +01:00
Adriaan de Groot
dac590a094
[plasmalnf] Rip out the intermediate model again, in prep for a delegate
2020-11-28 16:53:35 +01:00
Calamares CI
2fa272ea2f
i18n: [python] Automatic merge of Transifex translations
2020-11-28 16:06:25 +01:00
Calamares CI
b869f716e7
i18n: [calamares] Automatic merge of Transifex translations
2020-11-28 16:06:25 +01:00
Adriaan de Groot
61a2335909
[users] Stray space in message (reported by Transifex user Moo)
2020-11-24 23:47:13 +01:00
Adriaan de Groot
ccfbd6b972
Merge pull request #1566 from Chrysostomus/calamares
...
Don't use a keyfile for encrypted partitions if /boot in unecrypted
2020-11-24 16:13:32 +01:00
Adriaan de Groot
35f8d90591
Merge pull request #1581 from clarissalimab/clarissa/usability-testing-issue-template
...
Docs: Add an issue template for usability tests
2020-11-24 11:00:22 +01:00
Adriaan de Groot
2a30ae1e25
[unpackfs] Log failure during unpackfs more clearly
2020-11-22 23:14:02 +01:00
Clarissa Borges
e5215c7091
Docs: Add an issue template for usability tests
2020-11-19 20:35:09 -03:00
Adriaan de Groot
66da5f2fa4
[netinstall] Removing the last package should clear it out.
...
FIXES #1577
2020-11-18 17:27:50 +01:00
Adriaan de Groot
ff2d2d0d45
Docs: update the CONTRIBUTING guide
2020-11-18 13:22:48 +01:00
Adriaan de Groot
06cbabd189
[plasmalnf] Simplify (warnings--, debug--)
2020-11-17 14:40:21 +01:00
Adriaan de Groot
faa1cb6b65
[plasmalnf] Demand-load image for a theme
2020-11-17 14:32:50 +01:00
Adriaan de Groot
58ea40c14d
[plasmalnf] Add a description
...
- add a role for description
- change view to a table view
2020-11-17 12:41:50 +01:00
Adriaan de Groot
258a14bea2
[plasmalnf] Expose only the themes model
...
- make ThemeInfo and ThemeInfoList internal, expose only
ThemesModel to the rest of the PlasmaLnF module
- don't build the widget anymore (needs to be replaced by
a delegate)
2020-11-17 11:56:09 +01:00
Adriaan de Groot
04a6fbc4c4
[plasmalnf] Fix debug-logging
...
- ProcessResult isn't loggable, so operator bool() is called, so
it logged 'false' on failure which isn't helpful.
2020-11-17 11:42:27 +01:00
Adriaan de Groot
0a88273e0d
[plasmalnf] Replace combobox with a view
2020-11-17 11:38:33 +01:00
Adriaan de Groot
3909459563
[plasmalnf] Signal more changes to the model
...
- also individual changes need to be signalled
- use QSignalBlocker to avoid spamming changes when calling
aggregate change methods
- refactor findById() so that also a row number can be
obtained, which is needed for the change signals.
2020-11-17 11:17:47 +01:00
Adriaan de Groot
f93cec031b
[plasmalnf] Introduce an index-lookup function
...
- for signalling model changes, also need to know indexes / row
2020-11-17 00:25:48 +01:00
Adriaan de Groot
f9e99da468
[plasmalnf] Improve lnf model
...
- remove useless widget pointer from themeinfo
- notify when data changes in the model
2020-11-17 00:12:47 +01:00
Adriaan de Groot
1f57a0ddda
[plasmalnf] Very basic combo-box based UI
2020-11-17 00:02:59 +01:00
Adriaan de Groot
aaa56b6903
[plasmalnf] Rip out most of the widget
...
- put a filter model in place, so only the themes with "show" set
are displayed
- rip out the messing about with widgets, soon to introduce a model-
based UI
2020-11-16 23:36:32 +01:00
Adriaan de Groot
d4887426e2
[plasmalnf] Set screenshots on themes, filtering
...
- while here reorder the config so the effect of *showAll* is clearer
2020-11-16 21:57:06 +01:00
Adriaan de Groot
254933a488
[plasmalnf] Prep-work for loading the themes into the model
2020-11-16 21:28:37 +01:00
Adriaan de Groot
57907ca992
[plasmalnf] Move model to ThemeInfo files
2020-11-16 18:14:23 +01:00
Adriaan de Groot
c781343fdd
Changes: post-release housekeeping
2020-11-16 12:52:19 +01:00
Adriaan de Groot
04e21b7e46
Changes: pre-release housekeeping
2020-11-16 12:28:28 +01:00
Calamares CI
0bbe03b214
i18n: [python] Automatic merge of Transifex translations
2020-11-16 12:15:52 +01:00
Calamares CI
9bf0a3414f
i18n: [dummypythonqt] Automatic merge of Transifex translations
2020-11-16 12:15:52 +01:00
Calamares CI
1f7af88100
i18n: [calamares] Automatic merge of Transifex translations
2020-11-16 12:15:52 +01:00
Chrysostomus
ff9f47ec83
Fix syntax errors
2020-11-15 01:42:16 +02:00
Adriaan de Groot
04c14419c8
Merge pull request #1575 from gportay/partition-remove-unused-attribute
...
[partition] Remove unused attribute m_defaultFsType
2020-11-14 22:13:34 +01:00
Chrysostomus
567b01eab0
call function at different scope to avoid name collision
2020-11-13 23:39:25 +02:00
Chrysostomus
09798a2a12
Use free functions (I wish I had known I can do this)
2020-11-13 00:02:12 +02:00
Chrysostomus
8676ce9a20
Simplify the generators
2020-11-12 23:57:02 +02:00
Gaël PORTAY
feab8bebba
[partition] Remove unused attribute m_defaultFsType
...
This attribute is used since the commit fcd0e8d36
[partition] Apply
partition layout when replacing free space
2020-11-12 15:15:51 -05:00
Adriaan de Groot
dda2e1f29f
Merge commit 'a8359696caf07b81b85db8acad2d3f44720d07fa' into calamares
...
This is the bugfix part (rather than the "clean up this widgets mess")
of issue-1573, ensuring that the LookAndFeelPackage setting is
saved to the target system config file.
2020-11-12 15:59:56 +01:00
Adriaan de Groot
27f1e82a8f
[plasmalnf] Remove unused path-setting from the widget
...
- Only Config needs to know the path, since it is responsible for
doing the actual lnf changes.
2020-11-12 15:59:03 +01:00