Qt Reference Documentation

# bearermonitor_maemo.ui Example File

network/bearermonitor/bearermonitor_maemo.ui

     <?xml version="1.0" encoding="UTF-8"?>
     <ui version="4.0">
      <class>BearerMonitor</class>
      <widget class="QWidget" name="BearerMonitor">
       <property name="geometry">
        <rect>
         <x>0</x>
         <y>0</y>
         <width>612</width>
         <height>555</height>
        </rect>
       </property>
       <property name="windowTitle">
        <string>BearerMonitor</string>
       </property>
       <layout class="QVBoxLayout" name="verticalLayout" stretch="0,0">
        <item>
         <widget class="QGroupBox" name="systemState">
          <property name="title">
           <string>System State</string>
          </property>
          <property name="flat">
           <bool>true</bool>
          </property>
          <layout class="QHBoxLayout" name="horizontalLayout_3">
           <property name="bottomMargin">
            <number>0</number>
           </property>
           <item>
            <widget class="QLabel" name="onlineStateLabel">
             <property name="text">
              <string>Online State:</string>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLabel" name="onlineState">
             <property name="sizePolicy">
              <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="text">
              <string/>
             </property>
            </widget>
           </item>
          </layout>
         </widget>
        </item>
        <item>
         <widget class="QGroupBox" name="configurations">
          <property name="title">
           <string>Configurations &amp;&amp; Sessions</string>
          </property>
          <property name="flat">
           <bool>true</bool>
          </property>
          <layout class="QVBoxLayout" name="verticalLayout_5">
           <property name="leftMargin">
            <number>0</number>
           </property>
           <property name="rightMargin">
            <number>0</number>
           </property>
           <property name="bottomMargin">
            <number>0</number>
           </property>
           <item>
            <widget class="QTabWidget" name="tabWidget">
             <property name="sizePolicy">
              <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding">
               <horstretch>0</horstretch>
               <verstretch>0</verstretch>
              </sizepolicy>
             </property>
             <property name="currentIndex">
              <number>0</number>
             </property>
             <property name="usesScrollButtons">
              <bool>false</bool>
             </property>
             <widget class="QWidget" name="tab">
              <attribute name="title">
               <string>Configurations</string>
              </attribute>
              <layout class="QHBoxLayout" name="horizontalLayout_2">
               <item>
                <widget class="QTreeWidget" name="treeWidget">
                 <property name="sizePolicy">
                  <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
                   <horstretch>0</horstretch>
                   <verstretch>0</verstretch>
                  </sizepolicy>
                 </property>
                 <property name="rootIsDecorated">
                  <bool>false</bool>
                 </property>
                 <attribute name="headerVisible">
                  <bool>false</bool>
                 </attribute>
                 <column>
                  <property name="text">
                   <string>1</string>
                  </property>
                 </column>
                </widget>
               </item>
               <item>
                <layout class="QVBoxLayout" name="verticalLayout_2">
                 <item>
                  <layout class="QHBoxLayout" name="configurationNameLayout">
                   <item>
                    <widget class="QLabel" name="configurationNameLabel">
                     <property name="text">
                      <string>Name:</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QLabel" name="configurationName">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="text">
                      <string/>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <layout class="QHBoxLayout" name="configurationStateLayout">
                   <item>
                    <widget class="QLabel" name="configurationStateLabel">
                     <property name="text">
                      <string>State:</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QLabel" name="configurationState">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="text">
                      <string/>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <layout class="QHBoxLayout" name="configurationTypeLayout">
                   <item>
                    <widget class="QLabel" name="configurationTypeLabel">
                     <property name="text">
                      <string>Type:</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QLabel" name="configurationType">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="text">
                      <string>Invalid</string>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <layout class="QHBoxLayout" name="configurationPurposeLayout">
                   <item>
                    <widget class="QLabel" name="configurationPurposeLabel">
                     <property name="text">
                      <string>Purpose:</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QLabel" name="configurationPurpose">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="text">
                      <string>Unknown</string>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <layout class="QHBoxLayout" name="configurationIdentifierLayout">
                   <item>
                    <widget class="QLabel" name="configurationIdentifierLabel">
                     <property name="text">
                      <string>Identifier:</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QLabel" name="configurationIdentifier">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="text">
                      <string/>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <layout class="QHBoxLayout" name="configurationRoamingLayout">
                   <item>
                    <widget class="QLabel" name="configurationRoamingLabel">
                     <property name="text">
                      <string>Roaming:</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QLabel" name="configurationRoaming">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="text">
                      <string/>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <layout class="QHBoxLayout" name="configurationChildrenLayout">
                   <item>
                    <widget class="QLabel" name="configurationChildrenLabel">
                     <property name="text">
                      <string>Children:</string>
                     </property>
                    </widget>
                   </item>
                   <item>
                    <widget class="QLabel" name="configurationChildren">
                     <property name="sizePolicy">
                      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
                       <horstretch>0</horstretch>
                       <verstretch>0</verstretch>
                      </sizepolicy>
                     </property>
                     <property name="text">
                      <string/>
                     </property>
                    </widget>
                   </item>
                  </layout>
                 </item>
                 <item>
                  <widget class="QGroupBox" name="nlaGroup">
                   <property name="title">
                    <string>Network Location Awareness</string>
                   </property>
                   <layout class="QHBoxLayout" name="horizontalLayout">
                    <item>
                     <widget class="QPushButton" name="registerButton">
                      <property name="text">
                       <string>Register</string>
                      </property>
                     </widget>
                    </item>
                    <item>
                     <widget class="QPushButton" name="unregisterButton">
                      <property name="text">
                       <string>Unregister</string>
                      </property>
                     </widget>
                    </item>
                   </layout>
                  </widget>
                 </item>
                 <item>
                  <widget class="QPushButton" name="newSessionButton">
                   <property name="text">
                    <string>New Session</string>
                   </property>
                  </widget>
                 </item>
                 <item>
                  <widget class="QPushButton" name="deleteSessionButton">
                   <property name="text">
                    <string>Delete Session</string>
                   </property>
                  </widget>
                 </item>
                 <item>
                  <widget class="QPushButton" name="scanButton">
                   <property name="text">
                    <string>Scan</string>
                   </property>
                  </widget>
                 </item>
                 <item>
                  <widget class="QProgressBar" name="progressBar">
                   <property name="maximum">
                    <number>0</number>
                   </property>
                   <property name="value">
                    <number>23280</number>
                   </property>
                   <property name="textVisible">
                    <bool>false</bool>
                   </property>
                   <property name="invertedAppearance">
                    <bool>false</bool>
                   </property>
                   <property name="format">
                    <string>%p%</string>
                   </property>
                  </widget>
                 </item>
                 <item>
                  <spacer name="verticalSpacer">
                   <property name="orientation">
                    <enum>Qt::Vertical</enum>
                   </property>
                   <property name="sizeHint" stdset="0">
                    <size>
                     <width>20</width>
                     <height>40</height>
                    </size>
                   </property>
                  </spacer>
                 </item>
                </layout>
               </item>
              </layout>
             </widget>
            </widget>
           </item>
          </layout>
         </widget>
        </item>
       </layout>
      </widget>
      <resources/>
      <connections/>
     </ui>