<div dir="ltr"><p style="margin:5px 0px 10px;padding:0px 0px 10px;font-family:'Open Sans',sans-serif;font-size:13px;word-wrap:break-word;color:rgb(54,53,52);line-height:16.899999618530273px">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,<br style="margin:0px;padding:0px">
Core::EditorManagerPlaceHolder* holder = Core::EditorManagerPlaceHolder::current();<br style="margin:0px;padding:0px">holder->layout()->addWidget(myTabWidget);</p><p style="margin:5px 0px 10px;padding:0px 0px 10px;font-family:'Open Sans',sans-serif;font-size:13px;word-wrap:break-word;color:rgb(54,53,52);line-height:16.899999618530273px">
Here is the screen shot for the plugin running in Qt Creator 2.8</p><p style="margin:5px 0px 10px;padding:0px 0px 10px;font-family:'Open Sans',sans-serif;font-size:13px;word-wrap:break-word;color:rgb(54,53,52);line-height:16.899999618530273px">
<img src="cid:ii_1444a8915d1c2113" alt="Inline image 1" width="567" height="306"><br></p><p style="margin:5px 0px 10px;padding:0px 0px 10px;font-family:'Open Sans',sans-serif;font-size:13px;word-wrap:break-word;color:rgb(54,53,52);line-height:16.899999618530273px">
<span style="font-size:13px">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</span><br>
</p></div>