I'm new to Qt and I'm trying to figure out a way to auto-resize in Qt. The goal is for the user to be able to drag the window to make it bigger and everything resizes to the size of the window. Does anyone have any tips?Answer1:
First of all <em>(note it for your further Qt-develepers life)</em>, read official documentation. You can read it through QtCreator <a href="http://qt-project.org/doc/qtcreator-2.8/creator-help.html" rel="nofollow">using the Help Mode</a>, or through <a href="http://qt-project.org/doc/" rel="nofollow">official documentation site</a>.
As <em>ratchet freak</em> mentioned, you need to read <a href="http://qt-project.org/doc/qt-5/layout.html" rel="nofollow">official tutorial on layouts</a>. Also, I recommend you read about Layout management in one of best books on Qt: "C++ GUI Programming with Qt 4" by Jasmin Blanchette and Mark Summerfield (Part II: Intermediate Qt, 6. Layout Management).
Also, do not hesitate to watch video tutorials, just take a look at <a href="https://www.youtube.com/results?search_query=qt+layout+tutorial" rel="nofollow">this list</a>. I recommend to watch <a href="https://www.youtube.com/playlist?list=PL2D1942A4688E9D63" rel="nofollow">VoidRealms' channel</a>.
Good luck in learning Qt!