embeddeddialog.ui Example File

graphicsview/embeddeddialogs/embeddeddialog.ui
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>EmbeddedDialog</class>
 <widget class="QDialog" name="EmbeddedDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>407</width>
    <height>134</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Embedded Dialog</string>
  </property>
  <layout class="QFormLayout" name="formLayout">
   <item row="0" column="0">
    <widget class="QLabel" name="label">
     <property name="text">
      <string>Layout Direction:</string>
     </property>
     <property name="buddy">
      <cstring>layoutDirection</cstring>
     </property>
    </widget>
   </item>
   <item row="0" column="1">
    <widget class="QComboBox" name="layoutDirection">
     <item>
      <property name="text">
       <string>Left to Right</string>
      </property>
     </item>
     <item>
      <property name="text">
       <string>Right to Left</string>
      </property>
     </item>
    </widget>
   </item>
   <item row="1" column="0">
    <widget class="QLabel" name="label_2">
     <property name="text">
      <string>Select Font:</string>
     </property>
     <property name="buddy">
      <cstring>fontComboBox</cstring>
     </property>
    </widget>
   </item>
   <item row="1" column="1">
    <widget class="QFontComboBox" name="fontComboBox"/>
   </item>
   <item row="2" column="0">
    <widget class="QLabel" name="label_3">
     <property name="text">
      <string>Style:</string>
     </property>
     <property name="buddy">
      <cstring>style</cstring>
     </property>
    </widget>
   </item>
   <item row="2" column="1">
    <widget class="QComboBox" name="style"/>
   </item>
   <item row="3" column="0">
    <widget class="QLabel" name="label_4">
     <property name="text">
      <string>Layout spacing:</string>
     </property>
     <property name="buddy">
      <cstring>spacing</cstring>
     </property>
    </widget>
   </item>
   <item row="3" column="1">
    <widget class="QSlider" name="spacing">
     <property name="orientation">
      <enum>Qt::Horizontal</enum>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>