PDA

View Full Version : Qt Designer Custom Container child widgets behavior



krpent
29th December 2013, 05:34
I am trying to create a custom container widget by extending QFrame. I am trying to implement the behaviour in the designer where child widgets can be dropped into a widget (i.e. QFrame) and then the layout can be set from the context menu of the parent widget.

My custom widget has 2 qframes, so ideally I am trying to add the dropped child widget into 1 of the qframes and then when the layout is chosen, the layout of that qframe would be set.