re style sheet, I think almost all styling has worked by applying the full stylesheet once to the top level window widget, from where it's inherited by all widgets that are descendants of that widget. I know there's a performance penalty for applying a large stylesheet frequently, not sure what it's like for smaller stylesheets, but in general I guess I'm surprised it doesn't "just work" applying the stylesheet to some high level container object.
Unless perhaps you're talking about the way styles are mapped from the stylesheet, e.g. they're currently targeting a QTreeThingy and your code uses a QTreeWhatsit. If that's the case it would seem simplest to edit the stylesheets as needed, to me. Cheers -Terry On Wed, Aug 1, 2018 at 9:20 AM vitalije <vitali...@gmail.com> wrote: > > >> A small point; I suggest not calling the current code 'leo legacy...'. >> There is a presumption there that is unwarranted, I think. >> >> > Sorry about that and thanks for the hint. English is not my first > language. What would be correct way to label it "master branch Leo"? > > The latest update: today I started work on making NewTreeWidget aware of > qt style sheet. So far I have made it respect the theme I am using > currently (Breeze dark I think). Have to go now, but there are still some > work to take colors from style sheet. > > Vitalije > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to leo-editor+unsubscr...@googlegroups.com. > To post to this group, send email to leo-editor@googlegroups.com. > Visit this group at https://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.