Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Designer: unable to change Layout of a QDialog
Forum Updated to NodeBB v4.3 + New Features

QT Designer: unable to change Layout of a QDialog

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 1.1k 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.
  • M Offline
    M Offline
    Mark531
    wrote on last edited by
    #1

    Hello,

    I'm a newbie in the QT world and I tried to design some forms with QT Designer (version 5.13.0). I created my main window and then a dialog window (QDialog). But in the latter, I cannot change the main layout, all available layouts are greyed... How come? I need a main layout before I add sub-layouts on top of it.

    Regards,
    Mark

    JonBJ 1 Reply Last reply
    0
    • M Mark531

      Hello,

      I'm a newbie in the QT world and I tried to design some forms with QT Designer (version 5.13.0). I created my main window and then a dialog window (QDialog). But in the latter, I cannot change the main layout, all available layouts are greyed... How come? I need a main layout before I add sub-layouts on top of it.

      Regards,
      Mark

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by JonB
      #2

      @Mark531
      You need to drag some widget onto the dialog (or any other widget) before it un-greys the dialog's layout choices and then lets you set it. It doesn't make sense intuitively to me, but as I discovered when struggling like you, that's how it is!

      M 1 Reply Last reply
      2
      • JonBJ JonB

        @Mark531
        You need to drag some widget onto the dialog (or any other widget) before it un-greys the dialog's layout choices and then lets you set it. It doesn't make sense intuitively to me, but as I discovered when struggling like you, that's how it is!

        M Offline
        M Offline
        Mark531
        wrote on last edited by
        #3

        @JonB You're right, thanks! :)

        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