Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 1872

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Qt Mobility 1.2: explorer.ui Example File (sensors/sensor_explorer/explorer.ui)</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
    </ul>
  </div>
</div>
<div class="content mainContent">
<h1 class="title">explorer.ui Example File</h1>
<span class="small-subtitle">sensors/sensor_explorer/explorer.ui</span>
<!-- $$$sensors/sensor_explorer/explorer.ui-description -->
<div class="descr"> <a name="details"></a>
<pre class="cpp"> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
 &lt;ui version=&quot;4.0&quot;&gt;
  &lt;class&gt;Explorer&lt;/class&gt;
  &lt;widget class=&quot;QMainWindow&quot; name=&quot;Explorer&quot;&gt;
   &lt;property name=&quot;geometry&quot;&gt;
    &lt;rect&gt;
     &lt;x&gt;0&lt;/x&gt;
     &lt;y&gt;0&lt;/y&gt;
     &lt;width&gt;760&lt;/width&gt;
     &lt;height&gt;636&lt;/height&gt;
    &lt;/rect&gt;
   &lt;/property&gt;
   &lt;property name=&quot;sizePolicy&quot;&gt;
    &lt;sizepolicy hsizetype=&quot;Minimum&quot; vsizetype=&quot;Minimum&quot;&gt;
     &lt;horstretch&gt;0&lt;/horstretch&gt;
     &lt;verstretch&gt;0&lt;/verstretch&gt;
    &lt;/sizepolicy&gt;
   &lt;/property&gt;
   &lt;property name=&quot;windowTitle&quot;&gt;
    &lt;string&gt;MainWindow&lt;/string&gt;
   &lt;/property&gt;
   &lt;widget class=&quot;QWidget&quot; name=&quot;centralwidget&quot;&gt;
    &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_4&quot;&gt;
     &lt;property name=&quot;spacing&quot;&gt;
      &lt;number&gt;9&lt;/number&gt;
     &lt;/property&gt;
     &lt;item&gt;
      &lt;widget class=&quot;QLabel&quot; name=&quot;label&quot;&gt;
       &lt;property name=&quot;text&quot;&gt;
        &lt;string&gt;Sensors that were detected on the device are listed in the list on the left, grouped by type. The reading properties for the sensor will be presented on the right.&lt;/string&gt;
       &lt;/property&gt;
       &lt;property name=&quot;textFormat&quot;&gt;
        &lt;enum&gt;Qt::AutoText&lt;/enum&gt;
       &lt;/property&gt;
       &lt;property name=&quot;wordWrap&quot;&gt;
        &lt;bool&gt;true&lt;/bool&gt;
       &lt;/property&gt;
      &lt;/widget&gt;
     &lt;/item&gt;
     &lt;item&gt;
      &lt;widget class=&quot;QWidget&quot; name=&quot;widget&quot; native=&quot;true&quot;&gt;
       &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout&quot;&gt;
        &lt;property name=&quot;spacing&quot;&gt;
         &lt;number&gt;9&lt;/number&gt;
        &lt;/property&gt;
        &lt;property name=&quot;margin&quot;&gt;
         &lt;number&gt;0&lt;/number&gt;
        &lt;/property&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QWidget&quot; name=&quot;widget_2&quot; native=&quot;true&quot;&gt;
          &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout&quot;&gt;
           &lt;property name=&quot;spacing&quot;&gt;
            &lt;number&gt;9&lt;/number&gt;
           &lt;/property&gt;
           &lt;property name=&quot;margin&quot;&gt;
            &lt;number&gt;0&lt;/number&gt;
           &lt;/property&gt;
           &lt;item&gt;
            &lt;widget class=&quot;QLabel&quot; name=&quot;label_2&quot;&gt;
             &lt;property name=&quot;text&quot;&gt;
              &lt;string&gt;Sensor&lt;/string&gt;
             &lt;/property&gt;
             &lt;property name=&quot;buddy&quot;&gt;
              &lt;cstring&gt;sensors&lt;/cstring&gt;
             &lt;/property&gt;
            &lt;/widget&gt;
           &lt;/item&gt;
           &lt;item&gt;
            &lt;widget class=&quot;QTreeWidget&quot; name=&quot;sensors&quot;&gt;
             &lt;property name=&quot;sizePolicy&quot;&gt;
              &lt;sizepolicy hsizetype=&quot;Minimum&quot; vsizetype=&quot;Expanding&quot;&gt;
               &lt;horstretch&gt;0&lt;/horstretch&gt;
               &lt;verstretch&gt;0&lt;/verstretch&gt;
              &lt;/sizepolicy&gt;
             &lt;/property&gt;
             &lt;property name=&quot;alternatingRowColors&quot;&gt;
              &lt;bool&gt;true&lt;/bool&gt;
             &lt;/property&gt;
             &lt;property name=&quot;selectionBehavior&quot;&gt;
              &lt;enum&gt;QAbstractItemView::SelectRows&lt;/enum&gt;
             &lt;/property&gt;
             &lt;property name=&quot;rootIsDecorated&quot;&gt;
              &lt;bool&gt;false&lt;/bool&gt;
             &lt;/property&gt;
             &lt;property name=&quot;itemsExpandable&quot;&gt;
              &lt;bool&gt;false&lt;/bool&gt;
             &lt;/property&gt;
             &lt;property name=&quot;expandsOnDoubleClick&quot;&gt;
              &lt;bool&gt;false&lt;/bool&gt;
             &lt;/property&gt;
             &lt;attribute name=&quot;headerVisible&quot;&gt;
              &lt;bool&gt;false&lt;/bool&gt;
             &lt;/attribute&gt;
             &lt;attribute name=&quot;headerVisible&quot;&gt;
              &lt;bool&gt;false&lt;/bool&gt;
             &lt;/attribute&gt;
             &lt;column&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string notr=&quot;true&quot;&gt;Sensor&lt;/string&gt;
              &lt;/property&gt;
             &lt;/column&gt;
             &lt;item&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string notr=&quot;true&quot;&gt;dummy.accelerometer&lt;/string&gt;
              &lt;/property&gt;
             &lt;/item&gt;
            &lt;/widget&gt;
           &lt;/item&gt;
          &lt;/layout&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QScrollArea&quot; name=&quot;scrollArea&quot;&gt;
          &lt;property name=&quot;frameShape&quot;&gt;
           &lt;enum&gt;QFrame::NoFrame&lt;/enum&gt;
          &lt;/property&gt;
          &lt;property name=&quot;widgetResizable&quot;&gt;
           &lt;bool&gt;true&lt;/bool&gt;
          &lt;/property&gt;
          &lt;widget class=&quot;QWidget&quot; name=&quot;scrollAreaWidgetContents&quot;&gt;
           &lt;property name=&quot;geometry&quot;&gt;
            &lt;rect&gt;
             &lt;x&gt;0&lt;/x&gt;
             &lt;y&gt;0&lt;/y&gt;
             &lt;width&gt;477&lt;/width&gt;
             &lt;height&gt;556&lt;/height&gt;
            &lt;/rect&gt;
           &lt;/property&gt;
           &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_5&quot;&gt;
            &lt;property name=&quot;spacing&quot;&gt;
             &lt;number&gt;9&lt;/number&gt;
            &lt;/property&gt;
            &lt;property name=&quot;margin&quot;&gt;
             &lt;number&gt;0&lt;/number&gt;
            &lt;/property&gt;
            &lt;item&gt;
             &lt;widget class=&quot;QWidget&quot; name=&quot;widget_4&quot; native=&quot;true&quot;&gt;
              &lt;property name=&quot;sizePolicy&quot;&gt;
               &lt;sizepolicy hsizetype=&quot;Preferred&quot; vsizetype=&quot;Minimum&quot;&gt;
                &lt;horstretch&gt;0&lt;/horstretch&gt;
                &lt;verstretch&gt;0&lt;/verstretch&gt;
               &lt;/sizepolicy&gt;
              &lt;/property&gt;
              &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_3&quot;&gt;
               &lt;property name=&quot;spacing&quot;&gt;
                &lt;number&gt;9&lt;/number&gt;
               &lt;/property&gt;
               &lt;property name=&quot;margin&quot;&gt;
                &lt;number&gt;0&lt;/number&gt;
               &lt;/property&gt;
               &lt;item&gt;
                &lt;widget class=&quot;QLabel&quot; name=&quot;label_4&quot;&gt;
                 &lt;property name=&quot;text&quot;&gt;
                  &lt;string&gt;Sensor Properties&lt;/string&gt;
                 &lt;/property&gt;
                &lt;/widget&gt;
               &lt;/item&gt;
               &lt;item&gt;
                &lt;widget class=&quot;QTableWidget&quot; name=&quot;sensorprops&quot;&gt;
                 &lt;property name=&quot;sizePolicy&quot;&gt;
                  &lt;sizepolicy hsizetype=&quot;Expanding&quot; vsizetype=&quot;Minimum&quot;&gt;
                   &lt;horstretch&gt;0&lt;/horstretch&gt;
                   &lt;verstretch&gt;0&lt;/verstretch&gt;
                  &lt;/sizepolicy&gt;
                 &lt;/property&gt;
                 &lt;property name=&quot;verticalScrollBarPolicy&quot;&gt;
                  &lt;enum&gt;Qt::ScrollBarAlwaysOff&lt;/enum&gt;
                 &lt;/property&gt;
                 &lt;property name=&quot;alternatingRowColors&quot;&gt;
                  &lt;bool&gt;true&lt;/bool&gt;
                 &lt;/property&gt;
                 &lt;property name=&quot;columnCount&quot;&gt;
                  &lt;number&gt;3&lt;/number&gt;
                 &lt;/property&gt;
                 &lt;attribute name=&quot;verticalHeaderVisible&quot;&gt;
                  &lt;bool&gt;false&lt;/bool&gt;
                 &lt;/attribute&gt;
                 &lt;attribute name=&quot;verticalHeaderVisible&quot;&gt;
                  &lt;bool&gt;false&lt;/bool&gt;
                 &lt;/attribute&gt;
                 &lt;row&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;1&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/row&gt;
                 &lt;column&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;Name&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/column&gt;
                 &lt;column&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;Type&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/column&gt;
                 &lt;column&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;Value&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/column&gt;
                 &lt;item row=&quot;0&quot; column=&quot;0&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;supportedIntervals&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;0&quot; column=&quot;1&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;qrangelist&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;0&quot; column=&quot;2&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string/&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                &lt;/widget&gt;
               &lt;/item&gt;
              &lt;/layout&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item&gt;
             &lt;widget class=&quot;QWidget&quot; name=&quot;widget_3&quot; native=&quot;true&quot;&gt;
              &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout_2&quot;&gt;
               &lt;property name=&quot;spacing&quot;&gt;
                &lt;number&gt;9&lt;/number&gt;
               &lt;/property&gt;
               &lt;property name=&quot;margin&quot;&gt;
                &lt;number&gt;0&lt;/number&gt;
               &lt;/property&gt;
               &lt;item&gt;
                &lt;widget class=&quot;QPushButton&quot; name=&quot;start&quot;&gt;
                 &lt;property name=&quot;text&quot;&gt;
                  &lt;string&gt;start&lt;/string&gt;
                 &lt;/property&gt;
                &lt;/widget&gt;
               &lt;/item&gt;
               &lt;item&gt;
                &lt;widget class=&quot;QPushButton&quot; name=&quot;stop&quot;&gt;
                 &lt;property name=&quot;text&quot;&gt;
                  &lt;string&gt;stop&lt;/string&gt;
                 &lt;/property&gt;
                &lt;/widget&gt;
               &lt;/item&gt;
               &lt;item&gt;
                &lt;spacer name=&quot;horizontalSpacer&quot;&gt;
                 &lt;property name=&quot;orientation&quot;&gt;
                  &lt;enum&gt;Qt::Horizontal&lt;/enum&gt;
                 &lt;/property&gt;
                 &lt;property name=&quot;sizeHint&quot; stdset=&quot;0&quot;&gt;
                  &lt;size&gt;
                   &lt;width&gt;40&lt;/width&gt;
                   &lt;height&gt;20&lt;/height&gt;
                  &lt;/size&gt;
                 &lt;/property&gt;
                &lt;/spacer&gt;
               &lt;/item&gt;
              &lt;/layout&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item&gt;
             &lt;widget class=&quot;QWidget&quot; name=&quot;widget_5&quot; native=&quot;true&quot;&gt;
              &lt;property name=&quot;sizePolicy&quot;&gt;
               &lt;sizepolicy hsizetype=&quot;Preferred&quot; vsizetype=&quot;Minimum&quot;&gt;
                &lt;horstretch&gt;0&lt;/horstretch&gt;
                &lt;verstretch&gt;0&lt;/verstretch&gt;
               &lt;/sizepolicy&gt;
              &lt;/property&gt;
              &lt;layout class=&quot;QVBoxLayout&quot; name=&quot;verticalLayout_2&quot;&gt;
               &lt;property name=&quot;spacing&quot;&gt;
                &lt;number&gt;9&lt;/number&gt;
               &lt;/property&gt;
               &lt;property name=&quot;margin&quot;&gt;
                &lt;number&gt;0&lt;/number&gt;
               &lt;/property&gt;
               &lt;item&gt;
                &lt;widget class=&quot;QLabel&quot; name=&quot;label_6&quot;&gt;
                 &lt;property name=&quot;text&quot;&gt;
                  &lt;string&gt;Reading Properties&lt;/string&gt;
                 &lt;/property&gt;
                &lt;/widget&gt;
               &lt;/item&gt;
               &lt;item&gt;
                &lt;widget class=&quot;QTableWidget&quot; name=&quot;reading&quot;&gt;
                 &lt;property name=&quot;sizePolicy&quot;&gt;
                  &lt;sizepolicy hsizetype=&quot;Expanding&quot; vsizetype=&quot;Minimum&quot;&gt;
                   &lt;horstretch&gt;0&lt;/horstretch&gt;
                   &lt;verstretch&gt;0&lt;/verstretch&gt;
                  &lt;/sizepolicy&gt;
                 &lt;/property&gt;
                 &lt;property name=&quot;verticalScrollBarPolicy&quot;&gt;
                  &lt;enum&gt;Qt::ScrollBarAlwaysOff&lt;/enum&gt;
                 &lt;/property&gt;
                 &lt;property name=&quot;alternatingRowColors&quot;&gt;
                  &lt;bool&gt;true&lt;/bool&gt;
                 &lt;/property&gt;
                 &lt;property name=&quot;columnCount&quot;&gt;
                  &lt;number&gt;4&lt;/number&gt;
                 &lt;/property&gt;
                 &lt;attribute name=&quot;verticalHeaderVisible&quot;&gt;
                  &lt;bool&gt;false&lt;/bool&gt;
                 &lt;/attribute&gt;
                 &lt;attribute name=&quot;verticalHeaderVisible&quot;&gt;
                  &lt;bool&gt;false&lt;/bool&gt;
                 &lt;/attribute&gt;
                 &lt;row&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;1&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/row&gt;
                 &lt;row&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;2&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/row&gt;
                 &lt;column&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;Index&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/column&gt;
                 &lt;column&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;Value&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/column&gt;
                 &lt;column&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;Type&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/column&gt;
                 &lt;column&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;Value&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/column&gt;
                 &lt;item row=&quot;0&quot; column=&quot;0&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;0&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;0&quot; column=&quot;1&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;x&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;0&quot; column=&quot;2&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;qreal&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;0&quot; column=&quot;3&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;9.8&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;1&quot; column=&quot;0&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;0&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;1&quot; column=&quot;1&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;changeOfBeingEaten&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;1&quot; column=&quot;2&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string notr=&quot;true&quot;&gt;bool&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                 &lt;item row=&quot;1&quot; column=&quot;3&quot;&gt;
                  &lt;property name=&quot;text&quot;&gt;
                   &lt;string&gt;true&lt;/string&gt;
                  &lt;/property&gt;
                 &lt;/item&gt;
                &lt;/widget&gt;
               &lt;/item&gt;
              &lt;/layout&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item&gt;
             &lt;spacer name=&quot;verticalSpacer&quot;&gt;
              &lt;property name=&quot;orientation&quot;&gt;
               &lt;enum&gt;Qt::Vertical&lt;/enum&gt;
              &lt;/property&gt;
              &lt;property name=&quot;sizeHint&quot; stdset=&quot;0&quot;&gt;
               &lt;size&gt;
                &lt;width&gt;0&lt;/width&gt;
                &lt;height&gt;18&lt;/height&gt;
               &lt;/size&gt;
              &lt;/property&gt;
             &lt;/spacer&gt;
            &lt;/item&gt;
           &lt;/layout&gt;
          &lt;/widget&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
       &lt;/layout&gt;
      &lt;/widget&gt;
     &lt;/item&gt;
    &lt;/layout&gt;
   &lt;/widget&gt;
   &lt;widget class=&quot;QStatusBar&quot; name=&quot;statusbar&quot;/&gt;
  &lt;/widget&gt;
  &lt;resources/&gt;
  &lt;connections/&gt;
 &lt;/ui&gt;</pre>
</div>
<!-- @@@sensors/sensor_explorer/explorer.ui -->
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 2008-2011 Nokia Corporation and/or its
     subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation 
     in Finland and/or other countries worldwide.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    Licensees holding valid Qt Commercial licenses may use this document in accordance with the    Qt Commercial License Agreement provided with the Software or, alternatively, in accordance    with the terms contained in a written agreement between you and Nokia.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>