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. resize mdiArea with Mainwindow
Forum Updated to NodeBB v4.3 + New Features

resize mdiArea with Mainwindow

Scheduled Pinned Locked Moved Unsolved General and Desktop
resizemdiareamain windowwidget
24 Posts 2 Posters 14.7k Views 2 Watching
  • 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.
  • F Offline
    F Offline
    freevrs
    wrote on last edited by
    #21

    I thougt i could mabey drag'n drop it

    Here are all stepps i have done

    Create Project with Widget
    Created a mdiArea with designer
    try to resize with code

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #22

      QWidget or QMainWindow ? In any case, you only need to put the QMdiArea in a layout on the widget

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • F Offline
        F Offline
        freevrs
        wrote on last edited by
        #23

        Its a QT Widged Application

        So i think it auto creates a MainWindow ??

        I set the layout to vertical (see pictures in last postes)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #24

          MainWindow can be a QMainWindow or a QWidget depending on what parameter you choose

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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