Core::EditorManagerPlaceHolder::current() method replacement in Qt Creator 3.0
-
I am developing a Qt Creator plugin. This plugin shows currently opened files as a QTabWidget on top of the editor pane. In Qt Creator 2.8, the code works like the following,
@
Core::EditorManagerPlaceHolder* holder = Core::EditorManagerPlaceHolder::current();
holder->layout()->addWidget(myTabWidget);
@
Here is the screen shot for the plugin running in Qt Creator 2.8
!https://dl.dropboxusercontent.com/u/22690325/1.png(screen shot)!
However, in Qt Creator 3.0, the method Core::EditorManagerPlaceHolder::current() no longer exists. In this situation how am I able to put the QTabWidget on the top the editor window -
Hi,
Please don't post the same thread twice, one is enough
"Duplicate":http://qt-project.org/forums/viewthread/38611/