[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

<?xml version="1.0" encoding="UTF-8"?>

<ui version="4.0">


 <widget class="QDialog" name="dialog_base">  *<-- This needs to be a
QWidget class*

  <property name="geometry">








  <property name="windowTitle">







<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