Reputation: 1753
I'd like to implement a sidepanel in my Qt window. I search something like the one that is used in the Visual Studio (see below).
Important notes:
Does anyone have an idea how I could build such a sidepanel? (Maybe there even exists a library) Or does anyone know a project which uses Qt and some kind of sidepanel?
Upvotes: 2
Views: 1526
Reputation: 206689
One option would be to use QDockWidgets
. That's the type of thing they are intended for inside a QMainWindow
.
You can put toolbars, QTreeViews and QTableViews (or related) widgets inside your dock widget to simulate the screenshot you posted.
For an example usage: Dock Widgets Example.
Upvotes: 5