controller.ui Example File | Qt D-Bus

Qt 5.6 | Qt D-Bus | D-Bus Remote Controlled Car Example | controller.ui Example File

Qt 5.6.2 Reference Documentation

# controller.ui Example File

remotecontrolledcar/controller/controller.ui

      <ui version="4.0" >
       <class>Controller</class>
       <widget class="QWidget" name="Controller" >
        <property name="geometry" >
         <rect>
          <x>0</x>
          <y>0</y>
          <width>255</width>
          <height>111</height>
         </rect>
        </property>
        <property name="windowTitle" >
         <string>Controller</string>
        </property>
        <layout class="QGridLayout" >
         <property name="margin" >
          <number>9</number>
         </property>
         <property name="spacing" >
          <number>6</number>
         </property>
         <item row="1" column="1" >
          <widget class="QLabel" name="label" >
           <property name="text" >
            <string>Controller</string>
           </property>
           <property name="alignment" >
            <set>Qt::AlignCenter</set>
           </property>
          </widget>
         </item>
         <item row="2" column="1" >
          <widget class="QPushButton" name="decelerate" >
           <property name="text" >
            <string>Decelerate</string>
           </property>
          </widget>
         </item>
         <item row="0" column="1" >
          <widget class="QPushButton" name="accelerate" >
           <property name="text" >
            <string>Accelerate</string>
           </property>
          </widget>
         </item>
         <item row="1" column="2" >
          <widget class="QPushButton" name="right" >
           <property name="text" >
            <string>Right</string>
           </property>
          </widget>
         </item>
         <item row="1" column="0" >
          <widget class="QPushButton" name="left" >
           <property name="text" >
            <string>Left</string>
           </property>
          </widget>
         </item>
        </layout>
       </widget>
       <resources/>
       <connections/>
      </ui>