Insert QRect values inside qss stylesheet
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,