[Qt-creator] Class Browser
Damien Fagnou
damien-f at moving-picture.com
Thu Nov 5 11:21:40 CET 2009
Hi ,
Thanks for your reply ,
at the moment this is really only targeted for internal use so memory
and speed are not a priority .
if I wanted to have a go at the (not ideal) solution you recommend
("visit of the global symbol tables") were would I look ?
we are currently using a slightly modify version of qtCreator ( no only
plugins ) so small tweek to the code base are also an option in that case .
in any case I look forward those API to extract info about the front-end
parser !!
Thanks a lot for bringing a first class IDE into the linux(cross
platform) world !
D.
> 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
>>
>
>
> _______________________________________________
> 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