Qt World Summit: Submit your Presentation

[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