Home · All Classes · All Functions · Overviews

textfinder.ui Example File
uitools/textfinder/forms/textfinder.ui

 <ui version="4.0" >
  <class>Form</class>
  <widget class="QWidget" name="Form" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
     <width>378</width>
     <height>158</height>
    </rect>
   </property>
   <property name="windowTitle" >
    <string>Find Text</string>
   </property>
   <layout class="QVBoxLayout" >
    <property name="margin" >
     <number>9</number>
    </property>
    <property name="spacing" >
     <number>6</number>
    </property>
    <item>
     <layout class="QGridLayout" >
      <property name="margin" >
       <number>0</number>
      </property>
      <property name="spacing" >
       <number>6</number>
      </property>
      <item row="0" column="1" >
       <widget class="QLineEdit" name="lineEdit" />
      </item>
      <item row="0" column="0" >
       <widget class="QLabel" name="searchLabel" >
        <property name="text" >
         <string>&amp;Keyword:</string>
        </property>
        <property name="buddy" >
         <cstring>lineEdit</cstring>
        </property>
       </widget>
      </item>
      <item row="0" column="2" >
       <widget class="QPushButton" name="findButton" >
        <property name="text" >
         <string>&amp;Find</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
    <item>
     <widget class="QTextEdit" name="textEdit" />
    </item>
    <item>
     <spacer>
      <property name="orientation" >
       <enum>Qt::Vertical</enum>
      </property>
      <property name="sizeHint" >
       <size>
        <width>20</width>
        <height>16</height>
       </size>
      </property>
     </spacer>
    </item>
   </layout>
  </widget>
  <resources/>
  <connections>
   <connection>
    <sender>lineEdit</sender>
    <signal>returnPressed()</signal>
    <receiver>findButton</receiver>
    <slot>animateClick()</slot>
    <hints>
     <hint type="sourcelabel" >
      <x>261</x>
      <y>17</y>
     </hint>
     <hint type="destinationlabel" >
      <x>320</x>
      <y>17</y>
     </hint>
    </hints>
   </connection>
  </connections>
 </ui>


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.6.0