mainwindow.ui Example File

filetree/forms/mainwindow.ui

  <ui version="4.0" >
   <class>MainWindow</class>
   <widget class="QMainWindow" name="MainWindow" >
    <property name="geometry" >
     <rect>
      <x>0</x>
      <y>0</y>
      <width>910</width>
      <height>676</height>
     </rect>
    </property>
    <property name="windowTitle" >
     <string>File Tree</string>
    </property>
    <widget class="QWidget" name="centralwidget" >
     <property name="geometry" >
      <rect>
       <x>0</x>
       <y>29</y>
       <width>910</width>
       <height>625</height>
      </rect>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_3" >
      <item>
       <widget class="QLabel" name="label" >
        <property name="sizePolicy" >
         <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="font" >
         <font>
          <italic>true</italic>
         </font>
        </property>
        <property name="text" >
         <string></string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QSplitter" name="splitter_2" >
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
        </property>
        <widget class="QWidget" name="" >
         <layout class="QVBoxLayout" name="verticalLayout_2" >
          <item>
           <widget class="QLabel" name="treeInfo" >
            <property name="sizePolicy" >
             <sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="text" >
             <string>TextLabel</string>
            </property>
           </widget>
          </item>
          <item>
           <widget class="QTextEdit" name="fileTree" >
            <property name="sizePolicy" >
             <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="readOnly" >
             <bool>true</bool>
            </property>
            <property name="html" >
             <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  &lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
  p, li { white-space: pre-wrap; }
  &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
  &lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;/body>&lt;/html></string>
            </property>
            <property name="acceptRichText" >
             <bool>false</bool>
            </property>
           </widget>
          </item>
         </layout>
        </widget>
        <widget class="QWidget" name="" >
         <layout class="QVBoxLayout" name="verticalLayout" >
          <item>
           <widget class="QComboBox" name="queryBox" />
          </item>
          <item>
           <widget class="QSplitter" name="splitter" >
            <property name="orientation" >
             <enum>Qt::Vertical</enum>
            </property>
            <widget class="QTextEdit" name="queryEdit" >
             <property name="readOnly" >
              <bool>true</bool>
             </property>
             <property name="html" >
              <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  &lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
  p, li { white-space: pre-wrap; }
  &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
  &lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;/body>&lt;/html></string>
             </property>
             <property name="acceptRichText" >
              <bool>false</bool>
             </property>
            </widget>
            <widget class="QTextEdit" name="output" >
             <property name="sizePolicy" >
              <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="readOnly" >
              <bool>true</bool>
             </property>
             <property name="html" >
              <string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  &lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
  p, li { white-space: pre-wrap; }
  &lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;">
  &lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>&lt;/body>&lt;/html></string>
             </property>
             <property name="acceptRichText" >
              <bool>false</bool>
             </property>
            </widget>
           </widget>
          </item>
         </layout>
        </widget>
       </widget>
      </item>
     </layout>
     <zorder>label</zorder>
     <zorder>splitter_2</zorder>
     <zorder>queryBox</zorder>
     <zorder>treeInfo</zorder>
     <zorder>splitter</zorder>
    </widget>
    <widget class="QMenuBar" name="menubar" >
     <property name="geometry" >
      <rect>
       <x>0</x>
       <y>0</y>
       <width>910</width>
       <height>29</height>
      </rect>
     </property>
     <widget class="QMenu" name="menuFile" >
      <property name="title" >
       <string>&amp;File</string>
      </property>
      <addaction name="actionOpenDirectory" />
     </widget>
     <widget class="QMenu" name="menu_Help" >
      <property name="title" >
       <string>&amp;Help</string>
      </property>
      <addaction name="actionAbout" />
     </widget>
     <addaction name="menuFile" />
     <addaction name="menu_Help" />
    </widget>
    <widget class="QStatusBar" name="statusbar" >
     <property name="geometry" >
      <rect>
       <x>0</x>
       <y>654</y>
       <width>910</width>
       <height>22</height>
      </rect>
     </property>
    </widget>
    <action name="actionOpenDirectory" >
     <property name="text" >
      <string>Open Directory...</string>
     </property>
     <property name="shortcut" >
      <string>Ctrl+O</string>
     </property>
    </action>
    <action name="actionAbout" >
     <property name="text" >
      <string>&amp;About</string>
     </property>
     <property name="shortcut" >
      <string>Ctrl+A</string>
     </property>
    </action>
   </widget>
   <resources/>
   <connections/>
  </ui>