<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Greetings All,..<br><br>I used PyQt's Designer to create a ".ui" file...<br>In this file, I created a simple QLabel, but I wanted/needed to<br>change the font, size, and color.<br><br>In Maya, there is a custom command (loadUI) that will automatically<br>interpret and display the UI correctly.<br><br>Separately, I used "pyuic" to convert the ".ui" file into a normal ".py" file..<br>When I run this from command line (outside of Maya) everything<br>displays properly except the QLabel. Upon examining the <br>pyuic-generated py commands, i see that the font, size and color<br>changes are achieved thru HTML ...like:<br><br> self.thisLabel.setText( <bunch of HTML> )<br><br>I guess my question is...do I need to create a custom HTML delegate<br>to handle the rendering/painting of the HTML ? Or is there an easier way
?<br><br>Finally,...in the delegate examples I've seen that handle HTML,<br>most seem to be used in conjunction with Tables, Trees,etc...<br>I tried to "setItemDelegate" on the QLabel, but it complains that<br>it's not a property,etc...so how does one associate a delegate<br>(if that's the solution) to a single graphical item ?<br><br>Any help or advice is very greatly appreciated..<br>Cheers,<br>James<br><br></td></tr></table><br>