D27840: Introduce SettingState* elements to ease KCM writing

David Edmundson noreply at phabricator.kde.org
Fri Mar 27 09:49:41 GMT 2020


davidedmundson added inline comments.

INLINE COMMENTS

> SettingStateIndicator.qml:30
> +Item {
> +    id: root
> +

This is a faux-button.

Which means it needs all the relevant:
Accessible.blah

roles to be manually added

Should it be in the tab focus chain?

(or we could just inherit ToolButton)

> SettingStateIndicator.qml:38
> +
> +    width: 16
> +    height: 16

Setting root width/height inside a component is almost always not what you want.

Use implicitWidth/implicitHeight.

REPOSITORY
  R296 KDeclarative

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

To: ervin, crossi, hchain, meven, bport, davidedmundson, mart, ngraham, #frameworks, #plasma
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200327/cda7cddb/attachment.html>


More information about the Kde-frameworks-devel mailing list