How to create child window using QtDesigner
-
wrote on 13 Jan 2021, 10:26 last edited by
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
-
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
@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...
-
-
@JonB
Heheh well the draw arrow button had a meltdown for no apparent reason. -
@mrjj
Oooohhhh, I thought those were deliberate redactions, and that your company had added text to those items which you didn't want seen!!@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/7