Add a common widget config control library starting with ConfigIcon.qml
Needs ReviewPublic

Authored by Zren on Oct 9 2019, 6:56 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

I'm submitting this to start discussion on creating a common config control library.

I've started with a more common use case, an Icon control, to start us off.

I currently have a QQC1 library that assigns directly to plasmoid.configuration[configKey] without the user needing to click "Apply" (Like on Gnome). I'm not expecting "auto-serialize" to get merged to KDE however, which is unfortunate. ConfigIcon { configKey: 'icon' } is very nice and compact, and clicking Apply feels pointless.

Screenshots


Use Cases

RowLayout
    IconPreview
    ColumnLayout
        RowLayout
            TextField
            Button
        CheckBox
Test Plan

Not yet tested via cmake and importing, but the QML is tested in a widget.

Diff Detail

Repository
R242 Plasma Framework (Library)
Lint
Lint Skipped
Unit
Unit Tests Skipped
Zren created this revision.Oct 9 2019, 6:56 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptOct 9 2019, 6:56 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
Zren requested review of this revision.Oct 9 2019, 6:56 PM