[Interest] How can I change a designer for base class?
Robert Steckroth
robertsteckroth at gmail.com
Fri Dec 20 16:44:09 CET 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131220/7a8aa5e6/attachment.html>
More information about the Interest
mailing list