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.
  • L Offline
    L Offline
    Lachlan
    wrote on 13 Jan 2021, 10:26 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

    J 1 Reply Last reply 13 Jan 2021, 10:27
    0
    • L Lachlan
      13 Jan 2021, 10:26

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 13 Jan 2021, 10:27 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
      • M Offline
        M Offline
        mrjj
        Lifetime Qt Champion
        wrote on 14 Jan 2021, 19:46 last edited by
        #3

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

        J 1 Reply Last reply 14 Jan 2021, 20:02
        0
        • M mrjj
          14 Jan 2021, 19:46

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

          J Offline
          J Offline
          JonB
          wrote on 14 Jan 2021, 20:02 last edited by JonB
          #4

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

          M 1 Reply Last reply 14 Jan 2021, 20:07
          0
          • J JonB
            14 Jan 2021, 20:02

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

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 14 Jan 2021, 20:07 last edited by
            #5

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

            J 1 Reply Last reply 14 Jan 2021, 20:13
            0
            • M mrjj
              14 Jan 2021, 20:07

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

              J Offline
              J Offline
              JonB
              wrote on 14 Jan 2021, 20:13 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!!

              M 1 Reply Last reply 14 Jan 2021, 20:16
              0
              • J JonB
                14 Jan 2021, 20:13

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

                M Offline
                M Offline
                mrjj
                Lifetime Qt Champion
                wrote on 14 Jan 2021, 20:16 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

                1/7

                13 Jan 2021, 10:26

                • Login

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