Just pushed: leo now loads the ui dynamically. It is implemented in
new DynamicWindow class, which for now loads the hardcoded qt_main.ui
(which will need to come from settings, obviously).

I also changed the old Window class to contain all the
designer-provided ui controls in self.ui (c.frame.top.ui), so some
code will break. This is still a net win, since now the
designer-provided data is completely compartmentalized (and we don't
need to have any code generated by the designer).

How to create a new ui: open qt_main.ui in designer, break the layout
and move stuff around. Alternatively, you can create the whole thing
from scratch, but you need to have the widgets with the same names
(treeWidget, tabWidget...) and types.

-- 
Ville M. Vainio
http://tinyurl.com/vainio

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