Reputation: 566
I'm developing on a project that needs an interface with support of floating tabs similar to the ones in Visual Studio (as is shown below).
The interface is expected to provide the following features:
So how can I implement such a VS-like window manager (if it is called so)? I am familiar with C++ and Qt and plan to implement such features with Qt.
I've tried two of the choices Qt provides to me, but both in vain:
QDockWidget
). I tried the official dock widgets example and also found some problems:
So how can I implement such features with Qt and C++? Is there a handy solution provided by Qt, or do I have to implement these manually (by listening to the mouse events and set the correpsonding sub-windows)?
Thanks in advance!
Upvotes: 2
Views: 1825
Reputation: 566
I think I have had the answer.
The answer is: there's no easy way to do this with pure Qt. And QDockWidget
is nearest to the perfect solution. If you would like to implement such features, you have to do so by yourself.
However, fortunately, there are implementations of such features by others, which can be found by searching through the Web. For example, by searching through GitHub, I have found 2 repositories that contain implementations of such features:
Upvotes: 2