settings.ui Example Filedemos/qmediaplayer/settings.ui<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>settings</class> <widget class="QDialog" name="settings"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>175</width> <height>397</height> </rect> </property> <property name="windowTitle"> <string>Settings</string> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Video options:</string> </property> <property name="flat"> <bool>true</bool> </property> <layout class="QGridLayout" name="gridLayout"> <item row="5" column="2"> <widget class="QComboBox" name="scalemodeCombo"> <property name="sizeAdjustPolicy"> <enum>QComboBox::AdjustToContentsOnFirstShow</enum> </property> <item> <property name="text"> <string>Fit in view</string> </property> </item> <item> <property name="text"> <string>Scale and crop</string> </property> </item> </widget> </item> <item row="0" column="0"> <widget class="QLabel" name="label_9"> <property name="text"> <string>Contrast:</string> </property> </widget> </item> <item row="0" column="1" colspan="2"> <widget class="QSlider" name="contrastSlider"> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> <property name="minimum"> <number>-8</number> </property> <property name="maximum"> <number>8</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TicksBelow</enum> </property> <property name="tickInterval"> <number>4</number> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_8"> <property name="text"> <string>Brightness:</string> </property> </widget> </item> <item row="1" column="1" colspan="2"> <widget class="QSlider" name="brightnessSlider"> <property name="minimum"> <number>-8</number> </property> <property name="maximum"> <number>8</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TicksBelow</enum> </property> <property name="tickInterval"> <number>4</number> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_7"> <property name="text"> <string>Saturation:</string> </property> </widget> </item> <item row="2" column="1" colspan="2"> <widget class="QSlider" name="saturationSlider"> <property name="minimum"> <number>-8</number> </property> <property name="maximum"> <number>8</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TicksBelow</enum> </property> <property name="tickInterval"> <number>4</number> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Hue:</string> </property> </widget> </item> <item row="3" column="1" colspan="2"> <widget class="QSlider" name="hueSlider"> <property name="minimum"> <number>-8</number> </property> <property name="maximum"> <number>8</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TicksBelow</enum> </property> <property name="tickInterval"> <number>4</number> </property> </widget> </item> <item row="4" column="0" colspan="2"> <widget class="QLabel" name="label_10"> <property name="text"> <string>Aspect ratio:</string> </property> </widget> </item> <item row="4" column="2"> <widget class="QComboBox" name="aspectCombo"> <property name="sizeAdjustPolicy"> <enum>QComboBox::AdjustToContentsOnFirstShow</enum> </property> <item> <property name="text"> <string>Auto</string> </property> </item> <item> <property name="text"> <string>Stretch</string> </property> </item> <item> <property name="text"> <string>4/3</string> </property> </item> <item> <property name="text"> <string>16/9</string> </property> </item> </widget> </item> <item row="5" column="0" colspan="2"> <widget class="QLabel" name="label_11"> <property name="text"> <string>Scale Mode:</string> </property> </widget> </item> </layout> <zorder>scalemodeCombo</zorder> <zorder>label_9</zorder> <zorder>contrastSlider</zorder> <zorder>label_8</zorder> <zorder>brightnessSlider</zorder> <zorder>label_7</zorder> <zorder>saturationSlider</zorder> <zorder>label_2</zorder> <zorder>hueSlider</zorder> <zorder>label_10</zorder> <zorder>aspectCombo</zorder> <zorder>label_11</zorder> </widget> </item> <item> <widget class="QGroupBox" name="groupBox_2"> <property name="title"> <string>Audio options:</string> </property> <property name="flat"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QHBoxLayout"> <item> <widget class="QLabel" name="label"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>10</width> <height>0</height> </size> </property> <property name="text"> <string>Audio device:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item> <widget class="QComboBox" name="deviceCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>10</width> <height>0</height> </size> </property> <property name="sizeAdjustPolicy"> <enum>QComboBox::AdjustToMinimumContentsLength</enum> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QLabel" name="label_6"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>10</width> <height>0</height> </size> </property> <property name="text"> <string>Audio effect:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item> <widget class="QComboBox" name="audioEffectsCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>10</width> <height>0</height> </size> </property> <property name="sizeAdjustPolicy"> <enum>QComboBox::AdjustToMinimumContentsLength</enum> </property> </widget> </item> <item> <widget class="QToolButton" name="effectButton"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>Setup</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout"> <item> <widget class="QLabel" name="crossFadeLabel"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>10</width> <height>0</height> </size> </property> <property name="text"> <string>Cross fade:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item> <layout class="QVBoxLayout"> <item> <widget class="QSlider" name="crossFadeSlider"> <property name="sizePolicy"> <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimum"> <number>-20</number> </property> <property name="maximum"> <number>20</number> </property> <property name="singleStep"> <number>1</number> </property> <property name="pageStep"> <number>2</number> </property> <property name="value"> <number>0</number> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="tickPosition"> <enum>QSlider::TicksBelow</enum> </property> </widget> </item> <item> <layout class="QHBoxLayout"> <item> <widget class="QLabel" name="crossFadeLabel1"> <property name="font"> <font> <pointsize>9</pointsize> </font> </property> <property name="text"> <string>-10 Sec</string> </property> </widget> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>0</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="crossFadeLabel2"> <property name="font"> <font> <pointsize>9</pointsize> </font> </property> <property name="text"> <string>0</string> </property> </widget> </item> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>0</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QLabel" name="crossFadeLabel3"> <property name="font"> <font> <pointsize>9</pointsize> </font> </property> <property name="text"> <string>10 Sec </string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </item> </layout> </widget> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>settings</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>settings</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </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.8 | |
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 ! |
Copyright © 2000-2012 - www.developpez.com