Advertisement
Guest User

MainWindow.ui

a guest
Mar 13th, 2013
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3.  <class>MainWindow</class>
  4.  <widget class="QMainWindow" name="MainWindow">
  5.   <property name="geometry">
  6.    <rect>
  7.     <x>0</x>
  8.     <y>0</y>
  9.     <width>228</width>
  10.     <height>204</height>
  11.    </rect>
  12.   </property>
  13.   <property name="windowTitle">
  14.    <string>MainWindow</string>
  15.   </property>
  16.   <widget class="QWidget" name="centralWidget">
  17.    <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="1,0">
  18.     <item>
  19.      <layout class="QVBoxLayout" name="verticalLayout">
  20.       <item>
  21.        <widget class="QCheckBox" name="checkBox">
  22.         <property name="text">
  23.          <string>dummy checkbox #1</string>
  24.         </property>
  25.        </widget>
  26.       </item>
  27.       <item>
  28.        <widget class="QCheckBox" name="checkBox_2">
  29.         <property name="text">
  30.          <string>dummy checkbox #2</string>
  31.         </property>
  32.        </widget>
  33.       </item>
  34.       <item>
  35.        <widget class="QCheckBox" name="checkBox_3">
  36.         <property name="text">
  37.          <string>dummy checkbox #3</string>
  38.         </property>
  39.        </widget>
  40.       </item>
  41.       <item>
  42.        <widget class="QScrollBar" name="horizontalScrollBar">
  43.         <property name="orientation">
  44.          <enum>Qt::Horizontal</enum>
  45.         </property>
  46.        </widget>
  47.       </item>
  48.       <item>
  49.        <widget class="QLabel" name="label">
  50.         <property name="text">
  51.          <string>Note that this dummy settings section is currently of quite fixed size; in my app, it contains a lot of more control elemenets and so I want to user to be able to resize it.</string>
  52.         </property>
  53.         <property name="wordWrap">
  54.          <bool>true</bool>
  55.         </property>
  56.        </widget>
  57.       </item>
  58.       <item>
  59.        <widget class="QCheckBox" name="in_resultsInSeparateWin">
  60.         <property name="text">
  61.          <string>Show results in separate window</string>
  62.         </property>
  63.        </widget>
  64.       </item>
  65.       <item>
  66.        <spacer name="verticalSpacer">
  67.         <property name="orientation">
  68.          <enum>Qt::Vertical</enum>
  69.         </property>
  70.         <property name="sizeHint" stdset="0">
  71.          <size>
  72.           <width>20</width>
  73.           <height>40</height>
  74.          </size>
  75.         </property>
  76.        </spacer>
  77.       </item>
  78.      </layout>
  79.     </item>
  80.     <item>
  81.      <layout class="QVBoxLayout" name="verticalLayout_2">
  82.       <item>
  83.        <layout class="QHBoxLayout" name="horizontalLayout">
  84.         <item>
  85.          <layout class="QVBoxLayout" name="layout_results"/>
  86.         </item>
  87.         <item>
  88.          <spacer name="horizontalSpacer">
  89.           <property name="orientation">
  90.            <enum>Qt::Horizontal</enum>
  91.           </property>
  92.           <property name="sizeHint" stdset="0">
  93.            <size>
  94.             <width>40</width>
  95.             <height>20</height>
  96.            </size>
  97.           </property>
  98.          </spacer>
  99.         </item>
  100.        </layout>
  101.       </item>
  102.       <item>
  103.        <spacer name="verticalSpacer_2">
  104.         <property name="orientation">
  105.          <enum>Qt::Vertical</enum>
  106.         </property>
  107.         <property name="sizeHint" stdset="0">
  108.          <size>
  109.           <width>20</width>
  110.           <height>40</height>
  111.          </size>
  112.         </property>
  113.        </spacer>
  114.       </item>
  115.      </layout>
  116.     </item>
  117.    </layout>
  118.   </widget>
  119.   <widget class="QMenuBar" name="menuBar">
  120.    <property name="geometry">
  121.     <rect>
  122.      <x>0</x>
  123.      <y>0</y>
  124.      <width>228</width>
  125.      <height>20</height>
  126.     </rect>
  127.    </property>
  128.   </widget>
  129.   <widget class="QToolBar" name="mainToolBar">
  130.    <attribute name="toolBarArea">
  131.     <enum>TopToolBarArea</enum>
  132.    </attribute>
  133.    <attribute name="toolBarBreak">
  134.     <bool>false</bool>
  135.    </attribute>
  136.   </widget>
  137.   <widget class="QStatusBar" name="statusBar"/>
  138.  </widget>
  139.  <layoutdefault spacing="6" margin="11"/>
  140.  <resources/>
  141.  <connections/>
  142. </ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement