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
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer