Česky
Kamil Dudka

emulT9 (C++, Qt4)

File detail

Name:Downloadmain.ui [Download]
Location: emulT9 > src
Size:9.8 KB
Last modification:2007-08-27 01:12

Source code

<ui version="4.0" >
 <author></author>
 <comment></comment>
 <exportmacro></exportmacro>
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>673</width>
    <height>481</height>
   </rect>
  </property>
  <property name="windowTitle" >
   <string>emulT9</string>
  </property>
  <property name="windowIcon" >
   <iconset resource="emulT9.qrc" >:/images/icon.png</iconset>
  </property>
  <widget class="QWidget" name="centralwidget" >
   <layout class="QGridLayout" >
    <property name="margin" >
     <number>9</number>
    </property>
    <property name="spacing" >
     <number>6</number>
    </property>
    <item row="2" column="1" >
     <layout class="QGridLayout" >
      <property name="margin" >
       <number>25</number>
      </property>
      <property name="spacing" >
       <number>16</number>
      </property>
      <item row="0" column="0" >
       <widget class="QCheckBox" name="cbT9" >
        <property name="text" >
         <string>&amp;T9</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="2" column="0" >
       <widget class="QCheckBox" name="cbPC" >
        <property name="text" >
         <string>PC &amp;keyborad</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item row="1" column="2" >
       <widget class="QLabel" name="sldTimerVal" >
        <property name="text" >
         <string>1000 ms</string>
        </property>
       </widget>
      </item>
      <item row="1" column="1" >
       <widget class="QSlider" name="sldTimer" >
        <property name="minimumSize" >
         <size>
          <width>96</width>
          <height>0</height>
         </size>
        </property>
        <property name="minimum" >
         <number>250</number>
        </property>
        <property name="maximum" >
         <number>5000</number>
        </property>
        <property name="singleStep" >
         <number>50</number>
        </property>
        <property name="pageStep" >
         <number>250</number>
        </property>
        <property name="value" >
         <number>1000</number>
        </property>
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
        </property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QCheckBox" name="cbTimer" >
        <property name="text" >
         <string>T&amp;imer</string>
        </property>
        <property name="checked" >
         <bool>true</bool>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item row="4" column="1" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>16</number>
      </property>
      <property name="spacing" >
       <number>16</number>
      </property>
      <item>
       <spacer>
        <property name="orientation" >
         <enum>Qt::Horizontal</enum>
        </property>
        <property name="sizeHint" >
         <size>
          <width>40</width>
          <height>20</height>
         </size>
        </property>
       </spacer>
      </item>
      <item>
       <widget class="QPushButton" name="buttStartPause" >
        <property name="text" >
         <string>Start</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="buttReset" >
        <property name="text" >
         <string>Reset</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QPushButton" name="buttClose" >
        <property name="text" >
         <string>Close</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item rowspan="3" row="2" column="0" >
     <layout class="QGridLayout" >
      <property name="margin" >
       <number>16</number>
      </property>
      <property name="spacing" >
       <number>16</number>
      </property>
      <item row="1" column="1" >
       <widget class="QPushButton" name="butt12" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="2" column="2" >
       <widget class="QPushButton" name="butt23" >
        <property name="text" >
         <string>6 mno</string>
        </property>
       </widget>
      </item>
      <item row="4" column="2" >
       <widget class="QPushButton" name="butt43" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="4" column="1" >
       <widget class="QPushButton" name="butt42" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="3" column="0" >
       <widget class="QPushButton" name="butt31" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="0" column="2" >
       <widget class="QPushButton" name="buttRight" >
        <property name="text" >
         <string>></string>
        </property>
        <property name="shortcut" >
         <string>Right</string>
        </property>
       </widget>
      </item>
      <item row="3" column="2" >
       <widget class="QPushButton" name="butt33" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="2" column="1" >
       <widget class="QPushButton" name="butt22" >
        <property name="text" >
         <string>5 jkl</string>
        </property>
        <property name="shortcut" >
         <string>5</string>
        </property>
       </widget>
      </item>
      <item row="3" column="1" >
       <widget class="QPushButton" name="butt32" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="1" column="2" >
       <widget class="QPushButton" name="butt13" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="2" column="0" >
       <widget class="QPushButton" name="butt21" >
        <property name="text" >
         <string>4 ghi</string>
        </property>
       </widget>
      </item>
      <item row="0" column="0" >
       <widget class="QPushButton" name="buttLeft" >
        <property name="text" >
         <string>&lt;</string>
        </property>
        <property name="shortcut" >
         <string>Left</string>
        </property>
       </widget>
      </item>
      <item row="1" column="0" >
       <widget class="QPushButton" name="butt11" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
      <item row="0" column="1" >
       <widget class="QPushButton" name="buttC" >
        <property name="text" >
         <string>C</string>
        </property>
        <property name="shortcut" >
         <string>Backspace</string>
        </property>
       </widget>
      </item>
      <item row="4" column="0" >
       <widget class="QPushButton" name="butt41" >
        <property name="text" >
         <string/>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item row="1" column="0" colspan="2" >
     <layout class="QHBoxLayout" >
      <property name="margin" >
       <number>15</number>
      </property>
      <property name="spacing" >
       <number>6</number>
      </property>
      <item>
       <widget class="QLabel" name="labelEngineStatus" />
      </item>
      <item>
       <widget class="QLabel" name="labelHitsPerMin" >
        <property name="alignment" >
         <set>Qt::AlignCenter</set>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QLabel" name="labelCharsPerMin" >
        <property name="alignment" >
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QLabel" name="labelTime" >
        <property name="text" >
         <string/>
        </property>
        <property name="alignment" >
         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item row="0" column="0" colspan="2" >
     <widget class="QTextEdit" name="textEdit" >
      <property name="readOnly" >
       <bool>true</bool>
      </property>
     </widget>
    </item>
   </layout>
  </widget>
  <widget class="QMenuBar" name="menubar" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
     <width>673</width>
     <height>31</height>
    </rect>
   </property>
  </widget>
  <widget class="QStatusBar" name="statusbar" />
 </widget>
 <pixmapfunction></pixmapfunction>
 <tabstops>
  <tabstop>textEdit</tabstop>
  <tabstop>buttStartPause</tabstop>
  <tabstop>buttReset</tabstop>
  <tabstop>buttClose</tabstop>
  <tabstop>buttLeft</tabstop>
  <tabstop>buttC</tabstop>
  <tabstop>buttRight</tabstop>
  <tabstop>butt11</tabstop>
  <tabstop>butt12</tabstop>
  <tabstop>butt13</tabstop>
  <tabstop>butt21</tabstop>
  <tabstop>butt22</tabstop>
  <tabstop>butt23</tabstop>
  <tabstop>butt31</tabstop>
  <tabstop>butt32</tabstop>
  <tabstop>butt33</tabstop>
  <tabstop>butt41</tabstop>
  <tabstop>butt42</tabstop>
  <tabstop>butt43</tabstop>
  <tabstop>cbT9</tabstop>
  <tabstop>cbTimer</tabstop>
  <tabstop>sldTimer</tabstop>
  <tabstop>cbPC</tabstop>
 </tabstops>
 <resources>
  <include location="emulT9.qrc" />
 </resources>
 <connections>
  <connection>
   <sender>buttClose</sender>
   <signal>clicked()</signal>
   <receiver>MainWindow</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>609</x>
     <y>416</y>
    </hint>
    <hint type="destinationlabel" >
     <x>336</x>
     <y>240</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>