Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

calculator.ui Example File
script/calculator/calculator.ui

 <ui version="4.0" >
  <class>Calculator</class>
  <widget class="QWidget" name="Calculator" >
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
     <width>314</width>
     <height>301</height>
    </rect>
   </property>
   <property name="sizePolicy" >
    <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
   <property name="minimumSize" >
    <size>
     <width>314</width>
     <height>301</height>
    </size>
   </property>
   <property name="maximumSize" >
    <size>
     <width>314</width>
     <height>301</height>
    </size>
   </property>
   <property name="windowTitle" >
    <string>Calculator</string>
   </property>
   <widget class="QToolButton" name="backspaceButton" >
    <property name="geometry" >
     <rect>
      <x>10</x>
      <y>50</y>
      <width>91</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>Backspace</string>
    </property>
   </widget>
   <widget class="QToolButton" name="clearButton" >
    <property name="geometry" >
     <rect>
      <x>110</x>
      <y>50</y>
      <width>91</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>Clear</string>
    </property>
   </widget>
   <widget class="QToolButton" name="clearAllButton" >
    <property name="geometry" >
     <rect>
      <x>210</x>
      <y>50</y>
      <width>91</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>Clear All</string>
    </property>
   </widget>
   <widget class="QToolButton" name="clearMemoryButton" >
    <property name="geometry" >
     <rect>
      <x>10</x>
      <y>100</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>MC</string>
    </property>
   </widget>
   <widget class="QToolButton" name="readMemoryButton" >
    <property name="geometry" >
     <rect>
      <x>10</x>
      <y>150</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>MR</string>
    </property>
   </widget>
   <widget class="QToolButton" name="setMemoryButton" >
    <property name="geometry" >
     <rect>
      <x>10</x>
      <y>200</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>MS</string>
    </property>
   </widget>
   <widget class="QToolButton" name="addToMemoryButton" >
    <property name="geometry" >
     <rect>
      <x>10</x>
      <y>250</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>M+</string>
    </property>
   </widget>
   <widget class="QToolButton" name="sevenButton" >
    <property name="geometry" >
     <rect>
      <x>60</x>
      <y>100</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>7</string>
    </property>
   </widget>
   <widget class="QToolButton" name="eightButton" >
    <property name="geometry" >
     <rect>
      <x>110</x>
      <y>100</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>8</string>
    </property>
   </widget>
   <widget class="QToolButton" name="nineButton" >
    <property name="geometry" >
     <rect>
      <x>160</x>
      <y>100</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>9</string>
    </property>
   </widget>
   <widget class="QToolButton" name="fourButton" >
    <property name="geometry" >
     <rect>
      <x>60</x>
      <y>150</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>4</string>
    </property>
   </widget>
   <widget class="QToolButton" name="fiveButton" >
    <property name="geometry" >
     <rect>
      <x>110</x>
      <y>150</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>5</string>
    </property>
   </widget>
   <widget class="QToolButton" name="sixButton" >
    <property name="geometry" >
     <rect>
      <x>160</x>
      <y>150</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>6</string>
    </property>
   </widget>
   <widget class="QToolButton" name="oneButton" >
    <property name="geometry" >
     <rect>
      <x>60</x>
      <y>200</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>1</string>
    </property>
   </widget>
   <widget class="QToolButton" name="twoButton" >
    <property name="geometry" >
     <rect>
      <x>110</x>
      <y>200</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>2</string>
    </property>
   </widget>
   <widget class="QToolButton" name="threeButton" >
    <property name="geometry" >
     <rect>
      <x>160</x>
      <y>200</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>3</string>
    </property>
   </widget>
   <widget class="QToolButton" name="zeroButton" >
    <property name="geometry" >
     <rect>
      <x>60</x>
      <y>250</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>0</string>
    </property>
   </widget>
   <widget class="QToolButton" name="pointButton" >
    <property name="geometry" >
     <rect>
      <x>110</x>
      <y>250</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>.</string>
    </property>
   </widget>
   <widget class="QToolButton" name="changeSignButton" >
    <property name="geometry" >
     <rect>
      <x>160</x>
      <y>250</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>+-</string>
    </property>
   </widget>
   <widget class="QToolButton" name="plusButton" >
    <property name="geometry" >
     <rect>
      <x>210</x>
      <y>250</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>+</string>
    </property>
   </widget>
   <widget class="QToolButton" name="divisionButton" >
    <property name="geometry" >
     <rect>
      <x>210</x>
      <y>100</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>/</string>
    </property>
   </widget>
   <widget class="QToolButton" name="timesButton" >
    <property name="geometry" >
     <rect>
      <x>210</x>
      <y>150</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>*</string>
    </property>
   </widget>
   <widget class="QToolButton" name="minusButton" >
    <property name="geometry" >
     <rect>
      <x>210</x>
      <y>200</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>-</string>
    </property>
   </widget>
   <widget class="QToolButton" name="squareRootButton" >
    <property name="geometry" >
     <rect>
      <x>260</x>
      <y>100</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>Sqrt</string>
    </property>
   </widget>
   <widget class="QToolButton" name="powerButton" >
    <property name="geometry" >
     <rect>
      <x>260</x>
      <y>150</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>x^2</string>
    </property>
   </widget>
   <widget class="QToolButton" name="reciprocalButton" >
    <property name="geometry" >
     <rect>
      <x>260</x>
      <y>200</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>1/x</string>
    </property>
   </widget>
   <widget class="QToolButton" name="equalButton" >
    <property name="geometry" >
     <rect>
      <x>260</x>
      <y>250</y>
      <width>41</width>
      <height>41</height>
     </rect>
    </property>
    <property name="text" >
     <string>=</string>
    </property>
   </widget>
   <widget class="QLineEdit" name="display" >
    <property name="geometry" >
     <rect>
      <x>10</x>
      <y>10</y>
      <width>291</width>
      <height>31</height>
     </rect>
    </property>
    <property name="maxLength" >
     <number>15</number>
    </property>
    <property name="alignment" >
     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
    </property>
    <property name="readOnly" >
     <bool>true</bool>
    </property>
   </widget>
  </widget>
  <resources/>
  <connections/>
 </ui>

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 4.6
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web