Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Creating IDE-like layout?
QtWS25 Last Chance

Creating IDE-like layout?

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k Views
  • 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 Offline
    K Offline
    kamac
    wrote on last edited by
    #1

    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
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • K Offline
        K Offline
        kamac
        wrote on last edited by
        #3

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

        Thanks a bunch!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved