Home > Mobile >  With the window layout using the same pointer to the window
With the window layout using the same pointer to the window

Time:10-03

Different window layout using the same window pointer, why only the first layout window can display load?

I have QWidget * widget pointer, for example, have layout1 and QLayout QLayout * * layout2, layout1 and layout2 USES the widget, only one can display window

CodePudding user response:

. Because only one widget instance, new come out a widget, you want two, according to the layout that I can't necessarily, new two widgets

CodePudding user response:

A window, can't use it down to two layout,
  •  Tags:  
  • Qt
  • Related