You may wish to take a look at the original drawing code for inspiration. 
Obviously to replicate this with "modern" components would take a little 
thought but certainly not out of reach.

https://code.qt.io/cgit/qt/qtquickcontrols.git/tree/src/controls/Styles/Base/StatusIndicatorStyle.qml

Most of the Canvas drawing can be done with Shapes module which gives you all 
the circle fills and gradient stops API and the DropShadow with the new 
MultiEffect component.

Hope this gets you closer to what you need.

Mike

________________________________
From: Interest <interest-boun...@qt-project.org> on behalf of Glen Mabey 
<gma...@gmail.com>
Sent: Tuesday, October 3, 2023 1:29:54 AM
To: interest@qt-project.org <interest@qt-project.org>
Subject: [Interest] replacing StatusIndicator with QML primitives

The "LED" StatusIndicator (from QtQuick.Extras) didn't make the leap to Qt6, oh 
well.

I'm sure it's not _too_ involved to implement some of those visual effects in 
Qt6 -- the ones that make it look more 3-dimensional and whatever dithering 
effect there might have been too.

Could someone please give me a hint on which Qt6 items to use for me to 
construct a comparable effect?

Thanks,
Glen
Confidentiality Notice: This message (including attachments) is a private 
communication solely for use of the intended recipient(s). If you are not the 
intended recipient(s) or believe you received this message in error, notify the 
sender immediately and then delete this message. Any other use, retention, 
dissemination or copying is prohibited and may be a violation of law, including 
the Electronic Communication Privacy Act of 1986.   
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to