Creating IDE-like layout?
I'd like to create IDE-like layout. What I mean by that - this screen describes it all:
My only problem is laying out project tree view (the one on the left), code view (which is east-north placed) and compilation logs (south-west).
My question is whether I can achieve this within Qt Designer and basic layouts providen by it, or do I have to write my own layout, from code?
If I have to go for that second option, do you have any advices? It seems as an awkward approach to me, and I don't have any experience in this field, so it might be quite tough for me to write a new layout from scratch. This tutorial: http://doc.qt.digia.com/stable/layouts-borderlayout.html doesn't really help me, as it's plain code, no explanations.
This can be easily achieved from designer. you should take a look at "QMainWindow":http://qt-project.org/doc/qt-5.0/qtwidgets/qmainwindow.html and "QDockWidget":http://qt-project.org/doc/qt-5.0/qtwidgets/qdockwidget.html. Some examples are available "here":http://qt-project.org/doc/qt-5.0/qtwidgets/examples-mainwindow.html, especially "this one":http://qt-project.org/doc/qt-5.0/qtwidgets/mainwindows-dockwidgets.html
Wow! That's really cool :) Got it working.
Thanks a bunch!