On Thursday, May 30, 2013 8:58:08 AM UTC-5, Edward K. Ream 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
> LightSteelBlue1 ever got correctly translated into a color that Qt can
> handle...
>
Doh. The answer is::
QPushButton#script-button-button {
background-color: #ffffcc;
/* border: none; /* Needed to make background-color "stick" */
}
But yikes, it's not clear where the yellow background for the script-button
button itself is coming from. This is a complete mess at present.
Some mini tasks:
1. Either eliminate unused color args to various methods, or find a way to
use human-readable color names.
2. Retain the stylesheet entry above, while allowing scripts to specify
colors.
3. Check color names before setting stylesheets so they don't ever generate
exceptions.
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.