- Qt 5.5
- Qt Widgets
- Pad Navigator Example
- form.ui Example File
- Qt 5.5.1 Reference Documentation

# form.ui Example File

graphicsview/padnavigator/form.ui

    <ui version="4.0" >
     <class>Form</class>
     <widget class="QWidget" name="Form" >
      <property name="geometry" >
       <rect>
        <x>0</x>
        <y>0</y>
        <width>378</width>
        <height>385</height>
       </rect>
      </property>
      <property name="windowTitle" >
       <string>BackSide</string>
      </property>
      <layout class="QVBoxLayout" name="verticalLayout_2" >
       <item>
        <widget class="QGroupBox" name="groupBox" >
         <property name="title" >
          <string>Settings</string>
         </property>
         <property name="flat" >
          <bool>true</bool>
         </property>
         <property name="checkable" >
          <bool>true</bool>
         </property>
         <layout class="QGridLayout" name="gridLayout" >
          <item row="0" column="0" >
           <widget class="QLabel" name="label" >
            <property name="text" >
             <string>Title:</string>
            </property>
           </widget>
          </item>
          <item row="0" column="1" >
           <widget class="QLineEdit" name="hostName" >
            <property name="text" >
             <string>Pad Navigator Example</string>
            </property>
           </widget>
          </item>
          <item row="1" column="0" >
           <widget class="QLabel" name="label_2" >
            <property name="text" >
             <string>Modified:</string>
            </property>
           </widget>
          </item>
          <item row="2" column="0" >
           <widget class="QLabel" name="label_3" >
            <property name="text" >
             <string>Extent</string>
            </property>
           </widget>
          </item>
          <item row="2" column="1" >
           <layout class="QHBoxLayout" name="horizontalLayout" >
            <item>
             <widget class="QSlider" name="horizontalSlider" >
              <property name="value" >
               <number>42</number>
              </property>
              <property name="orientation" >
               <enum>Qt::Horizontal</enum>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QSpinBox" name="spinBox" >
              <property name="value" >
               <number>42</number>
              </property>
             </widget>
            </item>
           </layout>
          </item>
          <item row="1" column="1" >
           <widget class="QDateTimeEdit" name="dateTimeEdit" />
          </item>
         </layout>
        </widget>
       </item>
       <item>
        <widget class="QGroupBox" name="groupBox_2" >
         <property name="title" >
          <string>Other input</string>
         </property>
         <property name="flat" >
          <bool>true</bool>
         </property>
         <property name="checkable" >
          <bool>true</bool>
         </property>
         <layout class="QHBoxLayout" name="horizontalLayout_2" >
          <item>
           <widget class="QTreeWidget" name="treeWidget" >
            <column>
             <property name="text" >
              <string>Widgets On Graphics View</string>
             </property>
            </column>
            <item>
             <property name="text" >
              <string>QGraphicsProxyWidget</string>
             </property>
             <item>
              <property name="text" >
               <string>QGraphicsWidget</string>
              </property>
              <item>
               <property name="text" >
                <string>QObject</string>
               </property>
              </item>
              <item>
               <property name="text" >
                <string>QGraphicsItem</string>
               </property>
              </item>
              <item>
               <property name="text" >
                <string>QGraphicsLayoutItem</string>
               </property>
              </item>
             </item>
            </item>
            <item>
             <property name="text" >
              <string>QGraphicsGridLayout</string>
             </property>
             <item>
              <property name="text" >
               <string>QGraphicsLayout</string>
              </property>
              <item>
               <property name="text" >
                <string>QGraphicsLayoutItem</string>
               </property>
              </item>
             </item>
            </item>
            <item>
             <property name="text" >
              <string>QGraphicsLinearLayout</string>
             </property>
             <item>
              <property name="text" >
               <string>QGraphicsLayout</string>
              </property>
              <item>
               <property name="text" >
                <string>QGraphicsLayoutItem</string>
               </property>
              </item>
             </item>
            </item>
           </widget>
          </item>
         </layout>
        </widget>
       </item>
      </layout>
     </widget>
     <tabstops>
      <tabstop>groupBox</tabstop>
      <tabstop>hostName</tabstop>
      <tabstop>dateTimeEdit</tabstop>
      <tabstop>horizontalSlider</tabstop>
      <tabstop>spinBox</tabstop>
      <tabstop>groupBox_2</tabstop>
      <tabstop>treeWidget</tabstop>
     </tabstops>
     <resources/>
     <connections>
      <connection>
       <sender>horizontalSlider</sender>
       <signal>valueChanged(int)</signal>
       <receiver>spinBox</receiver>
       <slot>setValue(int)</slot>
       <hints>
        <hint type="sourcelabel" >
         <x>184</x>
         <y>125</y>
        </hint>
        <hint type="destinationlabel" >
         <x>275</x>
         <y>127</y>
        </hint>
       </hints>
      </connection>
      <connection>
       <sender>spinBox</sender>
       <signal>valueChanged(int)</signal>
       <receiver>horizontalSlider</receiver>
       <slot>setValue(int)</slot>
       <hints>
        <hint type="sourcelabel" >
         <x>272</x>
         <y>114</y>
        </hint>
        <hint type="destinationlabel" >
         <x>190</x>
         <y>126</y>
        </hint>
       </hints>
      </connection>
     </connections>
    </ui>