On Thu, 30 May 2013 06:58:08 -0700 (PDT)
"Edward K. Ream" <[email protected]> wrote:

> On Wednesday, May 29, 2013 10:23:10 AM UTC-5, Terry wrote:
> 
> 
> > So I don't think the new code is doing anything except producing the 
> > "Can't parse" messages. 
> >
> 
> Somehow I was confused yesterday.  I am seeing the behavior you describe.
> 
> I am going to work on this a bit now.  For starters, I am wondering how 

No, don't do that - I have a bunch of new code ready to push.

> LightSteelBlue1 ever got correctly translated into a color that Qt can 
> handle...

It's not, the only thing that's coloring buttons currently is
this in leoSettings.leo

    /* Default colors for icons in the icon area. */
    QPushButton {
        background-color: #CAE1FF; /* lightSteelBlue1 */
        /* border: none; /* Needed to make background-color "stick" */
    }
    /*
        You may set colors for individual buttons by name.
        To get a list of button names, enable tracing for
        the qtIconBarClass.add method in qtGui.py.
    */
    /* Colors for the "script-button" button. */
    QPushButton#script-button-button {
        background-color: #ffffcc;
        /* border: none; /* Needed to make background-color "stick" */
    }

createIconButton or whatever it's called does 
b.button.setObjectName(b.button.text()+'-button') on the buttons it
makes, hence the targetting above - I've expanded this and will push
now.

Cheers -Terry

 
> Edward
> 

-- 
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.


Reply via email to