<html><head></head><body><div><div>Hello Andrea,</div><div>Sorry for the
delay as it has been a busy Sunday with several commitments. I've been
trying to implement your proposed solution using different approaches but
still unsucessfully (even after trying different combinations). From
several posts, a potential syntax would be something like:</div><div><font
color="#636363"> variable1 =
self.iface.mainWindow().statusBar().styleSheet() </font></div><div><font
color="#636363">
variable1.setstyleSheet("background-color:
black;")</font></div><div>However, this is not effective and 'variable' is
returning QStatusBar::item{border: none;}, which I'm unsure how to intepret
or how to define the variable so that setstyleSheet can be
applied.</div><div>I also tried a more simplified version (following the
suggestion at
https://stackoverflow.com/questions/23490017/how-to-add-style-via-setstylesheet-without-losing-orignal-style-in-qt):</div><div><font
color="#636363">
setstyleSheet("background-color: black;")</font></div><div><font
color="#636363">
self.iface.mainWindow().statusBar().styleSheet()</font></div><div>However,
it returns <font color="#ff0000">'setstyleSheet' is not defined</font> so
it doesn't seem to take setstyleSheet w/o an assignment. Do you have any
suggestion on how you would
proceed?</div><div>Thanks,</div><div>AF</div><div>P.S. My apologies for the
previous reply (it didn't go as
anticipated)</div><div><br></div></div></body></html>