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. How to create child window using QtDesigner
Forum Updated to NodeBB v4.3 + New Features

How to create child window using QtDesigner

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 1.2k Views 1 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.
  • LachlanL Offline
    LachlanL Offline
    Lachlan
    wrote on last edited by
    #1

    I want to create a number of child windows but want to use QtDesigner to design the layout and processes of each child window. If I define the child window in code, I then have to define all the widgets in code instead of using the layout tool of QtDesigner. Each child window has extensive functionaility so I dont want to do this in hard code.

    Is there some way to define a child window and then use QtDesigner to establish the layout etc ?

    Thanks

    jsulmJ 1 Reply Last reply
    0
    • LachlanL Lachlan

      I want to create a number of child windows but want to use QtDesigner to design the layout and processes of each child window. If I define the child window in code, I then have to define all the widgets in code instead of using the layout tool of QtDesigner. Each child window has extensive functionaility so I dont want to do this in hard code.

      Is there some way to define a child window and then use QtDesigner to establish the layout etc ?

      Thanks

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Lachlan said in How to create child window using QtDesigner:

      Is there some way to define a child window and then use QtDesigner to establish the layout etc ?

      Of course: simply create a "Qt Designer Form Class" for each window...

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        Just to be sure you get the right one.
        alt text

        JonBJ 1 Reply Last reply
        0
        • mrjjM mrjj

          Hi
          Just to be sure you get the right one.
          alt text

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #4

          @mrjj
          You have smudges (dirty marks) on your screen, it needs cleaning.

          mrjjM 1 Reply Last reply
          0
          • JonBJ JonB

            @mrjj
            You have smudges (dirty marks) on your screen, it needs cleaning.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @JonB
            Heheh well the draw arrow button had a meltdown for no apparent reason.

            JonBJ 1 Reply Last reply
            0
            • mrjjM mrjj

              @JonB
              Heheh well the draw arrow button had a meltdown for no apparent reason.

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @mrjj
              Oooohhhh, I thought those were deliberate redactions, and that your company had added text to those items which you didn't want seen!!

              mrjjM 1 Reply Last reply
              0
              • JonBJ JonB

                @mrjj
                Oooohhhh, I thought those were deliberate redactions, and that your company had added text to those items which you didn't want seen!!

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @JonB
                Hehe nope, but we do have custom c++ class generators to add trace etc automatically.
                But the names would not be a secret :)
                Hopefully, poster sees them arrows-ish. ;)

                1 Reply Last reply
                1

                • Login

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