Insert QRect values inside qss stylesheet
Unsolved
General and Desktop
-
Hi,
I have a qproperty which relies on a QRectQ_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.
Any hint?
Thanks in advance,
Fabrizio