All I wish to accomplish is to add a widget here: http://i.imgur.com/MHy6OTR.png
I've been having a tough time finding that widget though. I searched for it in the following object pools:
ProjectExplorer::ProjectExplorerPlugin::instance()->children()
ProjectExplorer::ProjectExplorerPlugin::currentProject()->children()
ProjectExplorer::ProjectExplorerPlugin::currentProject()->activeTarget()->children()
ProjectExplorer::ProjectExplorerPlugin::currentProject()->activeTarget()->activeRunConfiguration()->children()
Core::ICore::mainWindow()->children()
Core::ICore::mainWindow()->layout()->children()
Core::ICore::instance()->children()
this->children()
ExtensionSystem::PluginManager::instance()->allObjects()
ProjectExplorer::ProjectExplorerPlugin::instance()->children()
ProjectExplorer::ProjectExplorerPlugin::currentProject()->children()
ProjectExplorer::ProjectExplorerPlugin::currentProject()->activeTarget()->children()
ProjectExplorer::ProjectExplorerPlugin::currentProject()->activeTarget()->activeRunConfiguration()->children()
Core::ICore::mainWindow()->children()
Core::ICore::mainWindow()->layout()->children()
Core::ICore::instance()->children()
this->children()
ExtensionSystem::PluginManager::instance()->allObjects()
To copy to clipboard, switch view to plain text mode
My results are here: http://paste.ubuntu.com/10296339/
The code snippet to generate the list is here: http://paste.ubuntu.com/10295925/
From this list, I searched for "Projects" and "Mode", as I presumed this was what I needed (Someone from #QtCreator told me the Object class was called ProjectsMode.) The best I found was a QShortcut in the sidebar, however I do not know how to get the Object from that QShortcut.
Object Pool: "Core::ICore::mainWindow()->children()"
Object Name: "QtCreator.Sidebar.Projects"
Class Name: "QShortcut"
Object Pool: "Core::ICore::mainWindow()->children()"
Object Name: "QtCreator.Sidebar.Projects"
Class Name: "QShortcut"
To copy to clipboard, switch view to plain text mode
I also found some of the actual mode objects, however the mode for "Projects" seems to be absent, or at least I could not find object resembling it in that list.
I also tried figuring out how the CustomExecutableRunConfiguration did things: https://github.com/danimo/qt-creator...figuration.cpp
However I am left confused as to whether this is the actual widget I was looking for, as it is says that this is a dialogue... I put a lot of effort into trying to solve this myself, however I am having an extremely tough time finding this object. If anyone has any tips (Perhaps there is a better way to find objects in c++ or qt), criticism on how my method is all wrong, or the actual solution; all is greatly welcome.
Thanks!
Bookmarks