On Tue, Nov 4, 2008 at 8:58 AM, Ville M. Vainio <[EMAIL PROTECTED]> wrote: > > 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.
Thanks for this work. I don't yet understand it, but it seems to work fine. BTW, are there any "source" (QDesigner) files for the gui work that you have done? If so, could you add them to the repository? 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 -~----------~----~----~----~------~----~------~--~---
