[Qt-creator] Class Browser

roberto.raggi at nokia.com roberto.raggi at nokia.com
Thu Nov 5 11:00:42 CET 2009


Hi Damien,

I'm sorry but at least for now Creator does not expose all the bits  
you need to implement an efficient class browser. Sure, you can easily  
fill a QTreeView with a visit of the global symbol tables but that  
will be slow and memory consuming. After 1.3 we will add to Creator a  
set of interfaces that can be used to extract (in an efficient way)  
the info you need from our C++ front-end.

ciao robe


On Nov 4, 2009, at 8:08 PM, ext Damien Fagnou wrote:

> Hi ,
>
> I have been having fun writing small plugins for qtCreator  , mostly  
> new
> type of editors for Maya Mel and Lua .
>
> I am now thinking of adding a ClassBrowser for C++
>
> I have manage to create my empty Core::INavigationWidgetFactory  
> subclass
> and its showing up the UI
> but I am not sure what plugins to access to get the class tree ?  
> surely
> the locator plugins and cppEditor have access to it
>
> looked around but I am a little lost .
>
> Any tips on where to start looking ?
>
> the idea is getting the list of class local to the current project .
> then displaying then in the inheritance tree sctructure (
> multi-inheritance would be ignored )
> potentially showing the list of methods and member variable sorted by
> (public . private etc )
>
> Thanks
>
> Damien
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator





More information about the Qt-creator-old mailing list