D11289: checkable FormLayout items

Julian Wolff noreply at phabricator.kde.org
Tue Mar 13 15:12:43 UTC 2018


progwolff created this revision.
progwolff added reviewers: VDG, Kirigami.
Restricted Application added a project: Kirigami.
Restricted Application added a subscriber: plasma-devel.
progwolff requested review of this revision.

REVISION SUMMARY
  In some cases, form items go together with a checkbox which can be used to disable the item.
  An example for such an item is the line edit in the first row of the screenlocker kcm.
  Here, a checkbox is prepended to the line edit's label.
  
  In Kirigami, there is (afaik) no way to add a widget to a FormLayout item's buddyComponent.
  This patch adds an optional combobox to the buddyComponent.
  
  A place where I would like to use this is the fonts kcm: https://phabricator.kde.org/T7927#132277

TEST PLAN
  I added a checkable item to the FormLayout gallery page.

REPOSITORY
  R169 Kirigami

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D11289

AFFECTED FILES
  examples/gallerydata/contents/ui/gallery/FormLayoutGallery.qml
  src/controls/templates/FormLayout.qml
  src/formlayoutattached.cpp
  src/formlayoutattached.h

To: progwolff, #vdg, #kirigami
Cc: plasma-devel, apol, davidedmundson, mart, hein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180313/2760f1ef/attachment-0001.html>


More information about the Plasma-devel mailing list