[Interest] Are Qt.transparent and "transparent" different colors?
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Sat Mar 27 14:40:33 CET 2021
On 27/03/2021 11:58, Alexander Dyagilev wrote:
> Hmmm... What is this enum for then?
>
In C++ APIs, it's used in QColor's constructor.
In QML, enumeration types are strange beasts (and I wish they weren't),
sometimes being enum and sometimes being integers. I suggest to open a
bug report suggesting to add a Qt::Color -> color type construction
(assuming it's possible), because it's indeed supposed to "just work".
(On the other hand, clearly, int->color should never work.)
Thanks,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210327/a183da38/attachment.bin>
More information about the Interest
mailing list