D29502: kwidgetsaddons: Add a named colors support in KColorCombo.

Carson Black noreply at phabricator.kde.org
Mon May 11 02:05:03 BST 2020


cblack added inline comments.

INLINE COMMENTS

> kcolorcombo.h:52
>      Q_PROPERTY(QList<QColor> colors READ colors WRITE setColors)
> +    Q_PROPERTY(QList<QPair<QString, QColor>> namedColors READ namedColors WRITE setNamedColors)
>  

Is a simple tuple list really the best way to represent colours? Knowing what most designers like, a better data structure would encapsulate named groups of optionally named colours.

REPOSITORY
  R236 KWidgetsAddons

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

To: araujoluis, tcanabrava, patrickelectric, hindenburg, ngraham
Cc: cblack, broulik, cfeck, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200511/4c49f3b1/attachment.htm>


More information about the Kde-frameworks-devel mailing list