Qt 4.6: myinputpanelform.ui Example File (tools/inputpanel/myinputpanelform.ui)

|  | Home · All Classes · Overviews |

# myinputpanelform.ui Example File
tools/inputpanel/myinputpanelform.ui

     <?xml version="1.0" encoding="UTF-8"?>
     <ui version="4.0">
      <class>MyInputPanelForm</class>
      <widget class="QWidget" name="MyInputPanelForm">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
         <width>167</width>
         <height>233</height>
        </rect>
       </property>
       <property name="windowTitle">
        <string>Input Panel</string>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout">
        <item>
         <layout class="QGridLayout" name="gridLayout">
          <item row="0" column="0">
           <widget class="QPushButton" name="panelButton_1">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>1</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>49</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="0" column="1">
           <widget class="QPushButton" name="panelButton_2">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>2</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>50</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="0" column="2">
           <widget class="QPushButton" name="panelButton_3">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>3</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>51</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="1" column="0">
           <widget class="QPushButton" name="panelButton_4">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>4</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>52</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="1" column="1">
           <widget class="QPushButton" name="panelButton_5">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>5</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>53</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="1" column="2">
           <widget class="QPushButton" name="panelButton_6">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>6</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>54</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="2" column="0">
           <widget class="QPushButton" name="panelButton_7">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>7</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>55</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="2" column="1">
           <widget class="QPushButton" name="panelButton_8">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>8</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>56</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="2" column="2">
           <widget class="QPushButton" name="panelButton_9">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>9</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>57</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="3" column="0">
           <widget class="QPushButton" name="panelButton_star">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>*</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>42</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="3" column="1">
           <widget class="QPushButton" name="panelButton_0">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>0</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>48</unicode>
             </char>
            </property>
           </widget>
          </item>
          <item row="3" column="2">
           <widget class="QPushButton" name="panelButton_hash">
            <property name="sizePolicy">
             <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
              <horstretch>0</horstretch>
              <verstretch>0</verstretch>
             </sizepolicy>
            </property>
            <property name="minimumSize">
             <size>
              <width>45</width>
              <height>40</height>
             </size>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>#</string>
            </property>
            <property name="buttonValue" stdset="0">
             <char>
              <unicode>35</unicode>
             </char>
            </property>
           </widget>
          </item>
         </layout>
        </item>
        <item>
         <layout class="QHBoxLayout" name="horizontalLayout">
          <item>
           <spacer name="horizontalSpacer">
            <property name="orientation">
             <enum>Qt::Horizontal</enum>
            </property>
            <property name="sizeHint" stdset="0">
             <size>
              <width>40</width>
              <height>20</height>
             </size>
            </property>
           </spacer>
          </item>
          <item>
           <widget class="QPushButton" name="closeButton">
            <property name="font">
             <font>
              <pointsize>8</pointsize>
             </font>
            </property>
            <property name="focusPolicy">
             <enum>Qt::NoFocus</enum>
            </property>
            <property name="text">
             <string>Close</string>
            </property>
           </widget>
          </item>
         </layout>
        </item>
       </layout>
      </widget>
      <resources/>
      <connections>
       <connection>
        <sender>closeButton</sender>
        <signal>clicked()</signal>
        <receiver>MyInputPanelForm</receiver>
        <slot>hide()</slot>
        <hints>
         <hint type="sourcelabel">
          <x>114</x>
          <y>209</y>
         </hint>
         <hint type="destinationlabel">
          <x>83</x>
          <y>116</y>
         </hint>
        </hints>
       </connection>
      </connections>
     </ui>