[Solved] How to create QDockWidget?
-
I would like to create a QDockWidget like the following:
| | | |
| | | |
| | | |
-------- | |
| | | |
| | | |
| | | |Is there any sample code tutorial?
-
there is a very good example in the docs :
mainwindows > Dock widgetsBut I must say I don't understand completely what you want.
-
I think it will be challenging to recreate that ASCII art look:-)
-
I need the GUI to be:
http://edablog.com/primages/2010/PrismX.jpg
http://www.javaguicodexample.com/javadesktopguimysql1_files/javadesktopguiapp023.jpg
There are 2 QDockWidgets (top & bottom) on left hand side.
1 QDockWidget in center
1 QDockWidget in right hand side
1 horizontal QDockWidget in bottom -
you need to choose one and set it as central widget.
The others can be docks like in the Dock widgets example.