mainwindowbase.ui Example File | Qt Widgets 5.9

Qt 5.9 | Qt Widgets | Font Sampler Example | mainwindowbase.ui Example File

Qt 5.9.9 Reference Documentation

# mainwindowbase.ui Example File

painting/fontsampler/mainwindowbase.ui

      <?xml version="1.0" encoding="UTF-8"?>
      <ui version="4.0">
       <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="spacing">
           <number>6</number>
          </property>
          <property name="margin">
           <number>9</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>18</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</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="spacing">
            <number>6</number>
           </property>
           <property name="margin">
            <number>9</number>
           </property>
           <item>
            <widget class="QTreeWidget" name="fontTree">
             <property name="selectionMode">
              <enum>QAbstractItemView::ExtendedSelection</enum>
             </property>
             <column>
              <property name="text">
               <string notr="true">1</string>
              </property>
             </column>
            </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>
       <resources/>
       <connections/>
      </ui>