<html><head></head><body><div> 
     
     
       
         <meta charset="utf-8">
       
       
         <div id="compose-body-wrapper" dir="auto"><div 
dir="auto"><br></div><div dir="auto"><br></div><div dir="auto" 
id="tmjah_g_1299">Get <a href="https://bluemail.me" 
target="_blank">BlueMail</a> for Desktop</div><br></div><div 
class="replyHeader" dir="auto">afernandez via QGIS-Developer 
wrote:</div><br><br><div><blockquote 
cite="mid:cb191df490651.5f3a4b148d869@odyhpc.com" type="cite" 
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
                                      <meta charset="utf-8">
                       <div id="compose-body-wrapper" dir="auto"><div 
dir="auto"><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;">Hello,<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;"><wbr>I'm <wbr>facing <wbr>some <wbr>problems <wbr>while <wbr>trying <wbr>to <wbr>modify <wbr>some <wbr>of <wbr>the <wbr>properties <wbr>of <wbr>the <wbr>statusBar. <wbr>For <wbr>example, <wbr>trying <wbr>to <wbr>use <wbr>the <wbr>styleSheet <wbr>method <wbr>with <wbr>the <wbr>following <wbr>snippet:<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="#636363">        <wbr>stilus = 
"<wbr>background-<wbr>color: <wbr>black;"<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;"><font 
color="#636363">      
  <wbr>self.<wbr>iface.<wbr>mainWindow().<wbr>statusBar().<wbr>styleSheet(<wbr>stilus)<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>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>It's <wbr>like <wbr>if <wbr>styleSheet <wbr>didn't <wbr>take <wbr>any <wbr>parameter <wbr>and <wbr>I've <wbr>been <wbr>unable <wbr>to <wbr>find <wbr>similar <wbr>uses <wbr>online. 
[<wbr>Note: <wbr>Also <wbr>tried <wbr>modifying <wbr>the <wbr>syntax <wbr>defining <wbr>the <wbr>style 
(<wbr>just <wbr>in <wbr>case) <wbr>but <wbr>it's <wbr>always <wbr>the <wbr>same <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;"><wbr>Another <wbr>problem <wbr>is <wbr>that <wbr>I <wbr>can <wbr>add <wbr>a <wbr>string <wbr>to <wbr>the <wbr>statusBar <wbr>as <wbr>in <wbr>the <wbr>following <wbr>example:<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="#636363">        <wbr>text = "<wbr>CPU: 
"+<wbr>cpu_nomen<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;"><font color="#636363">      
  <wbr>self.<wbr>iface.<wbr>mainWindow().<wbr>statusBar().<wbr>showMessage(<wbr>text)<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>This <wbr>will <wbr>output <wbr>the <wbr>string. <wbr>However, <wbr>doing <wbr>anything <wbr>of <wbr>substance 
(<wbr>e.<wbr>g. <wbr>opening <wbr>a <wbr>plugin) <wbr>erases <wbr>the <wbr>new <wbr>text <wbr>and <wbr>I'm <wbr>unsure <wbr>how <wbr>to <wbr>make <wbr>it <wbr>permanent.<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;"><wbr>Thanks,<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;"><wbr>AF</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;"><br></div></div><br></div>
                        </div></blockquote></div><div><blockquote 
cite="mid:cb191df490651.5f3a4b148d869@odyhpc.com" type="cite" 
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
                                      <meta charset="utf-8">
                       <div id="compose-body-wrapper" dir="auto"><div 
dir="auto"><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;">Hello,<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;"><wbr>I'm <wbr>facing <wbr>some <wbr>problems <wbr>while <wbr>trying <wbr>to <wbr>modify <wbr>some <wbr>of <wbr>the <wbr>properties <wbr>of <wbr>the <wbr>statusBar. <wbr>For <wbr>example, <wbr>trying <wbr>to <wbr>use <wbr>the <wbr>styleSheet <wbr>method <wbr>with <wbr>the <wbr>following <wbr>snippet:<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="#636363">        <wbr>stilus = 
"<wbr>background-<wbr>color: <wbr>black;"<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;"><font 
color="#636363">      
  <wbr>self.<wbr>iface.<wbr>mainWindow().<wbr>statusBar().<wbr>styleSheet(<wbr>stilus)<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>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>It's <wbr>like <wbr>if <wbr>styleSheet <wbr>didn't <wbr>take <wbr>any <wbr>parameter <wbr>and <wbr>I've <wbr>been <wbr>unable <wbr>to <wbr>find <wbr>similar <wbr>uses <wbr>online. 
[<wbr>Note: <wbr>Also <wbr>tried <wbr>modifying <wbr>the <wbr>syntax <wbr>defining <wbr>the <wbr>style 
(<wbr>just <wbr>in <wbr>case) <wbr>but <wbr>it's <wbr>always <wbr>the <wbr>same <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;"><wbr>Another <wbr>problem <wbr>is <wbr>that <wbr>I <wbr>can <wbr>add <wbr>a <wbr>string <wbr>to <wbr>the <wbr>statusBar <wbr>as <wbr>in <wbr>the <wbr>following <wbr>example:<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="#636363">        <wbr>text = "<wbr>CPU: 
"+<wbr>cpu_nomen<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;"><font color="#636363">      
  <wbr>self.<wbr>iface.<wbr>mainWindow().<wbr>statusBar().<wbr>showMessage(<wbr>text)<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>This <wbr>will <wbr>output <wbr>the <wbr>string. <wbr>However, <wbr>doing <wbr>anything <wbr>of <wbr>substance 
(<wbr>e.<wbr>g. <wbr>opening <wbr>a <wbr>plugin) <wbr>erases <wbr>the <wbr>new <wbr>text <wbr>and <wbr>I'm <wbr>unsure <wbr>how <wbr>to <wbr>make <wbr>it <wbr>permanent.<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;"><wbr>Thanks,<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;"><wbr>AF</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;"><br></div></div><br></div>
                        </div></blockquote></div>
       
     
   </div></body></html>