Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved] Finding QML Properties in C++



  • QML has the "opacity" and "rotation" properties. I'd like to change the opacity and rotation of a QLabel in C++. Is there any way to do that?



  • Try windowOpacity()/setWindowOpacity for opacity. Unfortunately I don't find anything about rotation, the only idea I have is custom painting implementation (for example rotated text over pixmap).


Log in to reply