Here's an amusing hack to test the speed of Qt styling code
import re
flippy = re.compile(r"#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})")
sheet = str(c.frame.top.leo_ui.styleSheet())
sheet = re.sub('(?i)white', '#cc', sheet)
sheet = re.sub('(?i)#ff', '#ffccff', sheet)
for i in ra
On Mon, 24 Oct 2011 20:16:57 -0500
"Edward K. Ream" wrote:
> Would you be satisfied if the Leo methods that set some stylesheet
> attributes retained the other attributes, as you do in the nested
> splitter code? Is that all that is conversation is about? :-)
Well, yes and no :-) I would like u
On Mon, Oct 24, 2011 at 6:27 PM, Edward K. Ream wrote:
> On Mon, Oct 24, 2011 at 4:24 PM, Terry Brown wrote:
>
>> I fear that it's only working by the skin of its teeth.
Would you be satisfied if the Leo methods that set some stylesheet
attributes retained the other attributes, as you do in the
On Mon, Oct 24, 2011 at 4:24 PM, Terry Brown wrote:
> I fear that it's only working by the skin of its teeth.
I agree. This is not a completely satisfactory situation.
I just realized that calling qtBody.setEditorColors wipes out the
background color of scrollbar. The fix (not yet on the trun
This seemed somewhat informative:
http://developer.qt.nokia.com/forums/viewthread/1333
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to leo-editor@googlegroups.com.
To unsubscribe from this group, send email to
On Mon, 24 Oct 2011 14:28:01 -0500
"Edward K. Ream" wrote:
> What makes Leo's code work is that stylesheets *on a particular
> widget* work independently of other stylesheets on the same widget.
>
> Your example stylesheets apply to sets of widgets, and that's a
> different matter. Or so I thin
Recent work has had a strong bug-fixing component.
The present plan is to fix bugs until no more serious bugs remain.
I expect this to take 2-4 weeks.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to l
As of rev 4647, I have done some careful housecleaning of
leoSettings.leo. These changes should be benign.
Please report any problems immediately.
Changes:
1. Disabled colorizer settings used only by the old colorizer::
bracket_range_color
comment_color
cweb_section_name_color
On Mon, Oct 24, 2011 at 10:02 AM, Terry Brown is really the case.
> I think that an already existing, shown, widget will not be restyled when the
>sheet governing it replaced with one which doesn't affect it directly. But
>see how this simple demo works:
I wasn't thinking about using styleshe
On Mon, Oct 24, 2011 at 1:11 PM, Edward K. Ream wrote:
>> It looks like all potential editors of the wiki will have to be approved.
Simon just wrote this:
> You'll see the edit controls have disappeared. There's no nice
> login link in the default skin; you can log in by visiting the manage url
On Oct 24, 8:34 am, "Edward K. Ream" wrote:
> I believe simon, the owner of zwiki, set up Leo's wiki, though my
> memory could be faulty.
Yes, Simon just responded to a private email.
> It looks like all potential editors of the wiki will have to be approved.
Simon will probably agree to set
>> Right, unfortunately Qt allows only a single stylesheet at a
>> particularly level, and dinking around binding different sheets at
>> different level seems too complicated.
>
> Happily, this is not true. As discussed in the other thread, we can
> call w.setStyleSheet as many times as we l
Qt lets you set -style= and -stylesheet= from the commandline, but
optparse errors on unknown options. on X11 you can set quite a few
more options for debug and window controls.
is there any way extra options could be passed onto
QApplication(sys.args)?
maybe with a short informational pseudo --he
The recent Aha re Qt stylesheets means that there is no need for any
"framework" to handle stylesheets.
Code such as g.app.gui.add/remove_border and qtBody.setEditorColors
are simple and work independently of each other.
End of project, imo.
Edward
--
You received this message because you are
I believe simon, the owner of zwiki, set up Leo's wiki, though my
memory could be faulty. It looks like we shall have to go to a system
where all potential editors of the wiki will have to be approved, as
with leo-editor.
Edward
--
You received this message because you are subscribed to the Goo
15 matches
Mail list logo