Hi,

I've a complex qdialog (DialogA) that was created in Qt Designer. I need to reuse the essential qwidget of it (Section) in another qdialog (DialogB), that was manually programmed without any wysiwyg. My current approach is to extract Section to a own widget in Qt Designer and use this QWidget in DialogA and DialogB. Reimplementing it manually would be quite a hassle. First, is there a better approach to modularize forms?
Second, how do I include the new widget Section into the original DialogA? Is there any way to say "add the widget from this ui-file at that position"? All tutorials for custom widgets I've found so far include manually coded widgets, not ui-file-based widgets.

Best regards,
derda17