<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 9, 2020 at 10:51 AM Davide Liessi <<a href="mailto:davide.liessi@gmail.com">davide.liessi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I also expected that adding one single style sheet instruction would<br>
add it to the default style.<br>
Instead, the default style was mostly disrupted.<br></blockquote><div><br></div><div>Specifying a stylesheet does not add to the style. It overrides it, if not totally, then very much close to it. You're then on your own. That's why they're often a hack.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Anyway, I would be grateful if you could point me to a better way of doing it.<br>
<br clear="all"></blockquote><div><br></div><div>Probably best to build on an example related to your code in an existing Qt 5 application? Maybe you can find something relevant in the source of a Qt developed application, like Qt Designer. <br></div><div><br></div><div>Best,</div><div>Damon<br></div></div><br>-- <br><div dir="ltr" class="gmail_signature"><a href="http://www.damonlynch.net" target="_blank">http://www.damonlynch.net</a><div></div><div></div><div></div></div></div>