<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Il 10/12/2022 18:06, afernandez via QGIS-Developer ha scritto:<br>
<blockquote type="cite"
cite="mid:cb191df490651.5f3a4b148d869@odyhpc.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>
<meta charset="utf-8">
<div id="compose-body-wrapper" dir="auto">
<div dir="auto"><font color="#636363"> <wbr>self.<wbr>iface.<wbr>mainWindow().<wbr>statusBar().<wbr>styleSheet(<wbr>stilus)<wbr></font>
<div dir="auto" style="font-family: "Open Sans",
-apple-system, BlinkMacSystemFont, "Segoe UI",
"Helvetica Neue", Arial, sans-serif, "Apple
Color Emoji", "Segoe UI Emoji", "Segoe
UI Symbol"; font-size: 14px;"><wbr>produces <wbr>the <wbr>error:<wbr></div>
<div dir="auto" style="font-family: "Open Sans",
-apple-system, BlinkMacSystemFont, "Segoe UI",
"Helvetica Neue", Arial, sans-serif, "Apple
Color Emoji", "Segoe UI Emoji", "Segoe
UI Symbol"; font-size: 14px;"><font color="#ff0000"><wbr>TypeError: <wbr>styleSheet(<wbr>self): <wbr>too <wbr>many <wbr>arguments<wbr></font></div>
<div dir="auto" style="font-family: "Open Sans",
-apple-system, BlinkMacSystemFont, "Segoe UI",
"Helvetica Neue", Arial, sans-serif, "Apple
Color Emoji", "Segoe UI Emoji", "Segoe
UI Symbol"; font-size: 14px;"><wbr><br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Hi AF,<br>
maybe you need to use setStyleSheet(const QString &styleSheet)
to set a style sheet.<br>
<br>
Best regards.<br>
<br>
Andrea Giudiceandrea<br>
</body>
</html>