Dear all, finally I managed to customize the gui provided by kdevplatform. I'm sending the technical details here: - as Julian already figured out, trying to set a custom main window is not a practical approach, because the application will crash; also the main window is too tightly coupled with the rest of kdevplatform - customizing the kdevplatform GUI can be done from a plugin, by overriding IPlugin::createActionsForMainWindow - in the above mentioned method, the XML for the GUI can be set, the actions for the gui can be created, and finally window->setupGUI() has to be called, for applying the gui - automatic loading of the project plugins doesn't seem to work on my system (kdevplatform 1.0.0), so for now I'm propsing to load the project plugins explicitly from main, as a workaround. It doesn't hurt, if the plugin is already loaded.
Code can be found in the "new-gui" branch, on github and on sourceforge. https://github.com/ktechlab/ktechlab/tree/new-gui http://ktechlab.git.sourceforge.net/git/gitweb.cgi?p=ktechlab/ktl-zoltan_p;a=shortlog;h=refs/heads/new-gui Best regards, Zoltan ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel