On Sun, Oct 23, 2011 at 8:39 PM, Terry Brown

> They were more flexible because the allowed the user to use Qt style 
> language, which is obviously a timely question, I'll follow up on the other 
> thread.

That's why I called my way debatable.

On the whole, though, I am leaning toward treating all Qt stylesheets
as an internal implementation.  For example, the present stylesheet in
leoSettings is actually quite geeky: it will work provided that Leo
users:

1. Understand and *respect* the stylesheet syntax, and not it screw
up, like I sometimes do.

2. Leave the specifiers for individual widgets and classes of widgets alone.

In other words, my way, while less flexible, is also completely
separate from implementation details.  For example, the options would
remain the same if we used a gui other than Qt: only the gui-related
methods would have to change.

Of course, this isn't likely to happen any time soon, so you could
call it a theoretical advantage.  Otoh, it's easy for us programmers
to lose sight of implementation details that bleed into settings.  Qt
Style sheets are fine for programmers, but not all Leo users are
programmers.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to