Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Creating IDE-like layout?

    General and Desktop
    2
    3
    1274
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kamac last edited by

      Hey there.

      I'd like to create IDE-like layout. What I mean by that - this screen describes it all:

      https://secweb.cs.odu.edu/~zeil/cs252/website/Info/yourOwnCompiler/pages/codeblocks.gif

      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.

      Cheers

      1 Reply Last reply Reply Quote 0
      • Chris Kawa
        Chris Kawa Moderators last edited by

        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

        1 Reply Last reply Reply Quote 0
        • K
          kamac last edited by

          Wow! That's really cool :) Got it working.

          Thanks a bunch!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post