Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Insert QRect values inside qss stylesheet
fabval last edited by
I have a qproperty which relies on a QRect
Q_PROPERTY(QRect systemRect READ getSystemRect WRITE updateSystemRect)
Inside the .qss sytlesheet I write
qproperty-systemRect: -2500 -2500 5000 5000;
But when my write method is invoked, the QRect is empty.
I saw that the setProperty method handles the QRect, but I don't know how to set its values inside the qss stylesheet.
Thanks in advance,