[QGIS-Developer] Problems configuring the statusBar

Andrea Giudiceandrea andreaerdna at libero.it
Sat Dec 10 17:09:58 PST 2022


Il 10/12/2022 18:06, afernandez via QGIS-Developer ha scritto:
> self.iface.mainWindow().statusBar().styleSheet(stilus)
> produces the error:
> TypeError: styleSheet(self): too many arguments
>

Hi AF,
maybe you need to use setStyleSheet(const QString &styleSheet) to set a 
style sheet.

Best regards.

Andrea Giudiceandrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20221211/c1409c55/attachment.htm>


More information about the QGIS-Developer mailing list