MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

mainwindowbase.ui Example File

painting/fontsampler/mainwindowbase.ui
 <ui version="4.0" >
  <author></author>
  <comment></comment>
  <exportmacro></exportmacro>
  <class>MainWindowBase</class>
  <widget class="QMainWindow" name="MainWindowBase" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
     <width>800</width>
     <height>345</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Font Sampler</string>
   </property>
   <widget class="QWidget" name="centralwidget" >
    <layout class="QVBoxLayout" >
     <property name="margin" >
      <number>9</number>
     </property>
     <property name="spacing" >
      <number>6</number>
     </property>
     <item>
      <widget class="QTextEdit" name="textEdit" />
     </item>
    </layout>
   </widget>
   <widget class="QMenuBar" name="menubar" >
    <property name="geometry" >
     <rect>
      <x>0</x>
      <y>0</y>
      <width>800</width>
      <height>24</height>
     </rect>
    </property>
    <widget class="QMenu" name="menu_Selection" >
     <property name="title" >
      <string>&amp;Selection</string>
     </property>
     <addaction name="markAction" />
     <addaction name="unmarkAction" />
     <addaction name="clearAction" />
    </widget>
    <widget class="QMenu" name="menu_File" >
     <property name="title" >
      <string>&amp;File</string>
     </property>
     <addaction name="printPreviewAction" />
     <addaction name="printAction" />
     <addaction name="quitAction" />
    </widget>
    <addaction name="menu_File" />
    <addaction name="menu_Selection" />
   </widget>
   <widget class="QStatusBar" name="statusbar" />
   <widget class="QDockWidget" name="dockWidget" >
    <property name="features" >
     <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable|QDockWidget::NoDockWidgetFeatures</set>
    </property>
    <property name="windowTitle" >
     <string>Available Fonts</string>
    </property>
    <attribute name="dockWidgetArea" >
     <number>1</number>
    </attribute>
    <widget class="QWidget" name="dockWidgetContents" >
     <layout class="QVBoxLayout" >
      <property name="margin" >
       <number>9</number>
      </property>
      <property name="spacing" >
       <number>6</number>
      </property>
      <item>
       <widget class="QTreeWidget" name="fontTree" >
        <property name="selectionMode" >
         <enum>QAbstractItemView::ExtendedSelection</enum>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </widget>
   <action name="printAction" >
    <property name="enabled" >
     <bool>false</bool>
    </property>
    <property name="text" >
     <string>&amp;Print...</string>
    </property>
    <property name="shortcut" >
     <string>Ctrl+P</string>
    </property>
   </action>
   <action name="quitAction" >
    <property name="text" >
     <string>E&amp;xit</string>
    </property>
    <property name="shortcut" >
     <string>Ctrl+Q</string>
    </property>
   </action>
   <action name="markAction" >
    <property name="text" >
     <string>&amp;Mark</string>
    </property>
    <property name="shortcut" >
     <string>Ctrl+M</string>
    </property>
   </action>
   <action name="unmarkAction" >
    <property name="text" >
     <string>&amp;Unmark</string>
    </property>
    <property name="shortcut" >
     <string>Ctrl+U</string>
    </property>
   </action>
   <action name="clearAction" >
    <property name="text" >
     <string>&amp;Clear</string>
    </property>
   </action>
   <action name="printPreviewAction" >
    <property name="enabled" >
     <bool>false</bool>
    </property>
    <property name="text" >
     <string>Print Preview...</string>
    </property>
   </action>
  </widget>
  <pixmapfunction></pixmapfunction>
  <resources/>
  <connections/>
 </ui>