On Wed, 29 May 2013 09:25:29 -0500 "Edward K. Ream" <[email protected]> wrote:
> Actually, afaik, the present code works as before, except that the bg param > now works. If you need more, then fire away. What you see depends on lot on what theme you're using, so now I'm testing under the default theme, and... The only difference I see between 5796 and earlier versions is that it says "Could not parse stylesheet of widget 0x434b460" when you click script-button. It doesn't work any more or less than it did before. Note, and this had me confused for some time, the default stylesheet makes buttons lightsteelblue1, it's not the bg parameter, which is actually MistyRose1 for buttons created by clicking the script-button button. So why did I say it was disabled? Because of the if 0: in .../leo/core/LeoPyRef.leo#Code-->Qt gui-->@file ../plugins/qtGui.py-->Frame and component classes...-->class leoQtFrame-->class qtIconBarClass-->add (qtIconBarClass) So I don't think the new code is doing anything except producing the "Can't parse" messages. I'll have a look at the .setObjectName() / .setProperty() options in a bit. Cheers -Terry -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
