Unsolved Creating Advance QT Creator Widgets
-
Hey everyone,
I recently created a tree view program with some nifty features, and I'd like to use it to organize my projects. I want to add this program as a widget in QT, but I don't want to delve so deep as to modify the source.
What I'd like to do is navigate through this tree, and ultimately have the leaf nodes be the files that my editor context can switch to; similar to what's already there, but I'd like to have multiple organization trees, independent of files. I've tried to look on-line for resources, but come up rather short when it comes to advance concepts like modifying editor context.
There's also a ton of other features I'd like to try in the future, and I'd like to know if theres a resource that I can use to look up what I can do with simple API calls. If it's not that simple, can you guys give me a good place to get started on learning the QT Creator source?
-
Hi,
One place you go to is the Qt Creator mailing list. You'll find there Qt Creator's developers/maintainers. The #qtcreator IRC channel might also be a good place to get more information.
On the documentation side, the snapshot documentation proposes Extending Qt Creator Manual and Creating Plugins.
Hope it helps
-
Hi
I was also hammered by the complexity of the Creator code and all is plugins.
However, i found the bookmark sample easy to understand and use as base for own plugins
\src\plugins\bookmarks\bookmarks.pro
It also shows how to open source files and i imagine it could be used a good reference on how to
both add a Section/split view and how to open source files.Of Course you could also look at
src\plugins\projectexplorer
which is the current way it shows the project and then teach that virtual trees or what you want to call it.Basically you just create a new plugin and then Creator can do that too.