Setting default set of views for area

Vladimir Prus ghost at cs.msu.su
Mon Apr 28 10:36:04 UTC 2008


Right now, in SVN head, KDevelop starts up with two areas, "Code" and "Debug",
and you can switch between them. Both areas have zero toolviews, and you
have to use "View->Add tool view" to add whatever you like, but once you
do that, the selection is persisted. This works for single main window
at the moment.

Now, I want the "Code" and "Debug" area to have some default views. Now,
the areas are created in kdevplatform/shell/uicontroller.cpp, which is
nasty. Adding a list of default views there is beyond my nastiness tolerance.
How about creating the areas and setting default set of view in code, inside
kdevelop/src/main.cpp? I don't think we need any generic area registration
mechanism for the two default areas that the KDevelop-the-application will
always create. Thoughts?

- Volodya




More information about the KDevelop-devel mailing list