On Thu, Aug 6, 2009 at 12:09 PM, Ville M. Vainio <[email protected]> wrote:
>
> Blast from the past!
>
> > def onFocusHelper(self,name):
>
The code is presently called onFocusColorHelper.
Perhaps this code should be removed?
>
> Rationale for this suggestion -
>
> I made some googling on stylesheets, and noted we can achieve similar
> functionality with
>
> QTreeWidget:focus {
> background-color: #fdf5f5; /* Leo's traditional tree color */
> }
The code in onFocusColorHelper sets the background color for both focus-in
and focus-out events. If that can be done just by using stylesheets, I am
all for it. Otherwise, the existing code, while ugly, is more powerful.
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
-~----------~----~----~----~------~----~------~--~---