Hi.
Just select Widget template in the startup dialog of the Designer.
I have created a UI form which will inherit into a pre-built widget.
When I add a new designer form with the Qt wizard, it creates the form
with a base class of QDialog. How can I change the form base class to
a QWidget? The xml file cannot be changed in the editor, so I assume
it is not wise to do so.
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>dialog_base</class>
<widget class="QDialog" name="dialog_base">*<-- This needs to be a QWidget
class*
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1063</width>
<height>648</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
</widget>
<resources/>
<connections/>
</ui>
--
<surgemcgee> Systems/Software Engineer
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
--
Best Regards,
Igor Mironchik.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest