MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

tennis.ui Example File

bttennis/tennis.ui
 <?xml version="1.0" encoding="UTF-8"?>
 <ui version="4.0">
  <class>Tennis</class>
  <widget class="QDialog" name="Tennis">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>640</width>
     <height>360</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Bluetooth Tennis</string>
   </property>
   <widget class="TennisView" name="pongView">
    <property name="geometry">
     <rect>
      <x>0</x>
      <y>0</y>
      <width>640</width>
      <height>366</height>
     </rect>
    </property>
    <property name="sizePolicy">
     <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
      <horstretch>0</horstretch>
      <verstretch>0</verstretch>
     </sizepolicy>
    </property>
    <property name="frameShape">
     <enum>QFrame::NoFrame</enum>
    </property>
    <property name="frameShadow">
     <enum>QFrame::Plain</enum>
    </property>
    <property name="lineWidth">
     <number>0</number>
    </property>
    <property name="verticalScrollBarPolicy">
     <enum>Qt::ScrollBarAlwaysOff</enum>
    </property>
    <property name="horizontalScrollBarPolicy">
     <enum>Qt::ScrollBarAlwaysOff</enum>
    </property>
   </widget>
  </widget>
  <customwidgets>
   <customwidget>
    <class>TennisView</class>
    <extends>QGraphicsView</extends>
    <header>tennisview.h</header>
   </customwidget>
  </customwidgets>
  <resources/>
  <connections/>
 </ui>