demos/qmediaplayer/settings.ui
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <ui version="4.0" >
       
     2  <class>settings</class>
       
     3  <widget class="QDialog" name="settings" >
       
     4   <property name="geometry" >
       
     5    <rect>
       
     6     <x>0</x>
       
     7     <y>0</y>
       
     8     <width>360</width>
       
     9     <height>362</height>
       
    10    </rect>
       
    11   </property>
       
    12   <property name="windowTitle" >
       
    13    <string>Settings</string>
       
    14   </property>
       
    15   <layout class="QVBoxLayout" name="verticalLayout_2" >
       
    16    <item>
       
    17     <widget class="QGroupBox" name="groupBox" >
       
    18      <property name="title" >
       
    19       <string>Video options:</string>
       
    20      </property>
       
    21      <property name="flat" >
       
    22       <bool>true</bool>
       
    23      </property>
       
    24      <layout class="QGridLayout" name="gridLayout" >
       
    25       <item row="0" column="0" >
       
    26        <widget class="QLabel" name="label_9" >
       
    27         <property name="text" >
       
    28          <string>Contrast:</string>
       
    29         </property>
       
    30        </widget>
       
    31       </item>
       
    32       <item row="0" column="1" colspan="2" >
       
    33        <widget class="QSlider" name="contrastSlider" >
       
    34         <property name="minimum" >
       
    35          <number>-8</number>
       
    36         </property>
       
    37         <property name="maximum" >
       
    38          <number>8</number>
       
    39         </property>
       
    40         <property name="orientation" >
       
    41          <enum>Qt::Horizontal</enum>
       
    42         </property>
       
    43         <property name="tickPosition" >
       
    44          <enum>QSlider::TicksBelow</enum>
       
    45         </property>
       
    46         <property name="tickInterval" >
       
    47          <number>4</number>
       
    48         </property>
       
    49        </widget>
       
    50       </item>
       
    51       <item row="1" column="0" >
       
    52        <widget class="QLabel" name="label_8" >
       
    53         <property name="text" >
       
    54          <string>Brightness:</string>
       
    55         </property>
       
    56        </widget>
       
    57       </item>
       
    58       <item row="1" column="1" colspan="2" >
       
    59        <widget class="QSlider" name="brightnessSlider" >
       
    60         <property name="minimum" >
       
    61          <number>-8</number>
       
    62         </property>
       
    63         <property name="maximum" >
       
    64          <number>8</number>
       
    65         </property>
       
    66         <property name="orientation" >
       
    67          <enum>Qt::Horizontal</enum>
       
    68         </property>
       
    69         <property name="tickPosition" >
       
    70          <enum>QSlider::TicksBelow</enum>
       
    71         </property>
       
    72         <property name="tickInterval" >
       
    73          <number>4</number>
       
    74         </property>
       
    75        </widget>
       
    76       </item>
       
    77       <item row="2" column="0" >
       
    78        <widget class="QLabel" name="label_7" >
       
    79         <property name="text" >
       
    80          <string>Saturation:</string>
       
    81         </property>
       
    82        </widget>
       
    83       </item>
       
    84       <item row="2" column="1" colspan="2" >
       
    85        <widget class="QSlider" name="saturationSlider" >
       
    86         <property name="minimum" >
       
    87          <number>-8</number>
       
    88         </property>
       
    89         <property name="maximum" >
       
    90          <number>8</number>
       
    91         </property>
       
    92         <property name="orientation" >
       
    93          <enum>Qt::Horizontal</enum>
       
    94         </property>
       
    95         <property name="tickPosition" >
       
    96          <enum>QSlider::TicksBelow</enum>
       
    97         </property>
       
    98         <property name="tickInterval" >
       
    99          <number>4</number>
       
   100         </property>
       
   101        </widget>
       
   102       </item>
       
   103       <item row="3" column="0" >
       
   104        <widget class="QLabel" name="label_2" >
       
   105         <property name="text" >
       
   106          <string>Hue:</string>
       
   107         </property>
       
   108        </widget>
       
   109       </item>
       
   110       <item row="3" column="1" colspan="2" >
       
   111        <widget class="QSlider" name="hueSlider" >
       
   112         <property name="minimum" >
       
   113          <number>-8</number>
       
   114         </property>
       
   115         <property name="maximum" >
       
   116          <number>8</number>
       
   117         </property>
       
   118         <property name="orientation" >
       
   119          <enum>Qt::Horizontal</enum>
       
   120         </property>
       
   121         <property name="tickPosition" >
       
   122          <enum>QSlider::TicksBelow</enum>
       
   123         </property>
       
   124         <property name="tickInterval" >
       
   125          <number>4</number>
       
   126         </property>
       
   127        </widget>
       
   128       </item>
       
   129       <item row="4" column="0" colspan="2" >
       
   130        <widget class="QLabel" name="label_10" >
       
   131         <property name="text" >
       
   132          <string>Aspect ratio:</string>
       
   133         </property>
       
   134        </widget>
       
   135       </item>
       
   136       <item row="4" column="2" >
       
   137        <widget class="QComboBox" name="aspectCombo" >
       
   138         <property name="minimumSize" >
       
   139          <size>
       
   140           <width>180</width>
       
   141           <height>0</height>
       
   142          </size>
       
   143         </property>
       
   144         <item>
       
   145          <property name="text" >
       
   146           <string>Auto</string>
       
   147          </property>
       
   148         </item>
       
   149         <item>
       
   150          <property name="text" >
       
   151           <string>Stretch</string>
       
   152          </property>
       
   153         </item>
       
   154         <item>
       
   155          <property name="text" >
       
   156           <string>4/3</string>
       
   157          </property>
       
   158         </item>
       
   159         <item>
       
   160          <property name="text" >
       
   161           <string>16/9</string>
       
   162          </property>
       
   163         </item>
       
   164        </widget>
       
   165       </item>
       
   166       <item row="5" column="0" colspan="2" >
       
   167        <widget class="QLabel" name="label_11" >
       
   168         <property name="text" >
       
   169          <string>Scale Mode:</string>
       
   170         </property>
       
   171        </widget>
       
   172       </item>
       
   173       <item row="5" column="2" >
       
   174        <widget class="QComboBox" name="scalemodeCombo" >
       
   175         <property name="minimumSize" >
       
   176          <size>
       
   177           <width>180</width>
       
   178           <height>0</height>
       
   179          </size>
       
   180         </property>
       
   181         <item>
       
   182          <property name="text" >
       
   183           <string>Fit in view</string>
       
   184          </property>
       
   185         </item>
       
   186         <item>
       
   187          <property name="text" >
       
   188           <string>Scale and crop</string>
       
   189          </property>
       
   190         </item>
       
   191        </widget>
       
   192       </item>
       
   193      </layout>
       
   194     </widget>
       
   195    </item>
       
   196    <item>
       
   197     <widget class="QGroupBox" name="groupBox_2" >
       
   198      <property name="title" >
       
   199       <string>Audio options:</string>
       
   200      </property>
       
   201      <property name="flat" >
       
   202       <bool>true</bool>
       
   203      </property>
       
   204      <layout class="QVBoxLayout" name="verticalLayout" >
       
   205       <item>
       
   206        <layout class="QHBoxLayout" >
       
   207         <item>
       
   208          <widget class="QLabel" name="label" >
       
   209           <property name="sizePolicy" >
       
   210            <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
       
   211             <horstretch>0</horstretch>
       
   212             <verstretch>0</verstretch>
       
   213            </sizepolicy>
       
   214           </property>
       
   215           <property name="minimumSize" >
       
   216            <size>
       
   217             <width>90</width>
       
   218             <height>0</height>
       
   219            </size>
       
   220           </property>
       
   221           <property name="text" >
       
   222            <string>Audio device:</string>
       
   223           </property>
       
   224           <property name="alignment" >
       
   225            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
       
   226           </property>
       
   227          </widget>
       
   228         </item>
       
   229         <item>
       
   230          <widget class="QComboBox" name="deviceCombo" >
       
   231           <property name="sizePolicy" >
       
   232            <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
       
   233             <horstretch>0</horstretch>
       
   234             <verstretch>0</verstretch>
       
   235            </sizepolicy>
       
   236           </property>
       
   237          </widget>
       
   238         </item>
       
   239        </layout>
       
   240       </item>
       
   241       <item>
       
   242        <layout class="QHBoxLayout" name="horizontalLayout" >
       
   243         <item>
       
   244          <widget class="QLabel" name="label_6" >
       
   245           <property name="sizePolicy" >
       
   246            <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
       
   247             <horstretch>0</horstretch>
       
   248             <verstretch>0</verstretch>
       
   249            </sizepolicy>
       
   250           </property>
       
   251           <property name="minimumSize" >
       
   252            <size>
       
   253             <width>90</width>
       
   254             <height>0</height>
       
   255            </size>
       
   256           </property>
       
   257           <property name="text" >
       
   258            <string>Audio effect:</string>
       
   259           </property>
       
   260           <property name="alignment" >
       
   261            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
       
   262           </property>
       
   263          </widget>
       
   264         </item>
       
   265         <item>
       
   266          <widget class="QComboBox" name="audioEffectsCombo" >
       
   267           <property name="sizePolicy" >
       
   268            <sizepolicy vsizetype="Maximum" hsizetype="Minimum" >
       
   269             <horstretch>0</horstretch>
       
   270             <verstretch>0</verstretch>
       
   271            </sizepolicy>
       
   272           </property>
       
   273          </widget>
       
   274         </item>
       
   275         <item>
       
   276          <widget class="QToolButton" name="effectButton" >
       
   277           <property name="enabled" >
       
   278            <bool>false</bool>
       
   279           </property>
       
   280           <property name="text" >
       
   281            <string>Setup</string>
       
   282           </property>
       
   283          </widget>
       
   284         </item>
       
   285        </layout>
       
   286       </item>
       
   287       <item>
       
   288        <layout class="QHBoxLayout" >
       
   289         <item>
       
   290          <widget class="QLabel" name="crossFadeLabel" >
       
   291           <property name="sizePolicy" >
       
   292            <sizepolicy vsizetype="Preferred" hsizetype="Maximum" >
       
   293             <horstretch>0</horstretch>
       
   294             <verstretch>0</verstretch>
       
   295            </sizepolicy>
       
   296           </property>
       
   297           <property name="minimumSize" >
       
   298            <size>
       
   299             <width>90</width>
       
   300             <height>0</height>
       
   301            </size>
       
   302           </property>
       
   303           <property name="text" >
       
   304            <string>Cross fade:</string>
       
   305           </property>
       
   306           <property name="alignment" >
       
   307            <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
       
   308           </property>
       
   309          </widget>
       
   310         </item>
       
   311         <item>
       
   312          <layout class="QVBoxLayout" >
       
   313           <item>
       
   314            <widget class="QSlider" name="crossFadeSlider" >
       
   315             <property name="sizePolicy" >
       
   316              <sizepolicy vsizetype="Fixed" hsizetype="Minimum" >
       
   317               <horstretch>0</horstretch>
       
   318               <verstretch>0</verstretch>
       
   319              </sizepolicy>
       
   320             </property>
       
   321             <property name="minimum" >
       
   322              <number>-20</number>
       
   323             </property>
       
   324             <property name="maximum" >
       
   325              <number>20</number>
       
   326             </property>
       
   327             <property name="singleStep" >
       
   328              <number>1</number>
       
   329             </property>
       
   330             <property name="pageStep" >
       
   331              <number>2</number>
       
   332             </property>
       
   333             <property name="value" >
       
   334              <number>0</number>
       
   335             </property>
       
   336             <property name="orientation" >
       
   337              <enum>Qt::Horizontal</enum>
       
   338             </property>
       
   339             <property name="tickPosition" >
       
   340              <enum>QSlider::TicksBelow</enum>
       
   341             </property>
       
   342            </widget>
       
   343           </item>
       
   344           <item>
       
   345            <layout class="QHBoxLayout" >
       
   346             <item>
       
   347              <widget class="QLabel" name="crossFadeLabel1" >
       
   348               <property name="font" >
       
   349                <font>
       
   350                 <pointsize>9</pointsize>
       
   351                </font>
       
   352               </property>
       
   353               <property name="text" >
       
   354                <string>-10 Sec</string>
       
   355               </property>
       
   356              </widget>
       
   357             </item>
       
   358             <item>
       
   359              <spacer>
       
   360               <property name="orientation" >
       
   361                <enum>Qt::Horizontal</enum>
       
   362               </property>
       
   363               <property name="sizeHint" stdset="0" >
       
   364                <size>
       
   365                 <width>40</width>
       
   366                 <height>20</height>
       
   367                </size>
       
   368               </property>
       
   369              </spacer>
       
   370             </item>
       
   371             <item>
       
   372              <widget class="QLabel" name="crossFadeLabel2" >
       
   373               <property name="font" >
       
   374                <font>
       
   375                 <pointsize>9</pointsize>
       
   376                </font>
       
   377               </property>
       
   378               <property name="text" >
       
   379                <string>0</string>
       
   380               </property>
       
   381              </widget>
       
   382             </item>
       
   383             <item>
       
   384              <spacer>
       
   385               <property name="orientation" >
       
   386                <enum>Qt::Horizontal</enum>
       
   387               </property>
       
   388               <property name="sizeHint" stdset="0" >
       
   389                <size>
       
   390                 <width>40</width>
       
   391                 <height>20</height>
       
   392                </size>
       
   393               </property>
       
   394              </spacer>
       
   395             </item>
       
   396             <item>
       
   397              <widget class="QLabel" name="crossFadeLabel3" >
       
   398               <property name="font" >
       
   399                <font>
       
   400                 <pointsize>9</pointsize>
       
   401                </font>
       
   402               </property>
       
   403               <property name="text" >
       
   404                <string>10 Sec</string>
       
   405               </property>
       
   406              </widget>
       
   407             </item>
       
   408            </layout>
       
   409           </item>
       
   410          </layout>
       
   411         </item>
       
   412        </layout>
       
   413       </item>
       
   414      </layout>
       
   415     </widget>
       
   416    </item>
       
   417    <item>
       
   418     <widget class="QDialogButtonBox" name="buttonBox" >
       
   419      <property name="orientation" >
       
   420       <enum>Qt::Horizontal</enum>
       
   421      </property>
       
   422      <property name="standardButtons" >
       
   423       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
       
   424      </property>
       
   425     </widget>
       
   426    </item>
       
   427   </layout>
       
   428  </widget>
       
   429  <resources/>
       
   430  <connections>
       
   431   <connection>
       
   432    <sender>buttonBox</sender>
       
   433    <signal>accepted()</signal>
       
   434    <receiver>settings</receiver>
       
   435    <slot>accept()</slot>
       
   436    <hints>
       
   437     <hint type="sourcelabel" >
       
   438      <x>248</x>
       
   439      <y>254</y>
       
   440     </hint>
       
   441     <hint type="destinationlabel" >
       
   442      <x>157</x>
       
   443      <y>274</y>
       
   444     </hint>
       
   445    </hints>
       
   446   </connection>
       
   447   <connection>
       
   448    <sender>buttonBox</sender>
       
   449    <signal>rejected()</signal>
       
   450    <receiver>settings</receiver>
       
   451    <slot>reject()</slot>
       
   452    <hints>
       
   453     <hint type="sourcelabel" >
       
   454      <x>316</x>
       
   455      <y>260</y>
       
   456     </hint>
       
   457     <hint type="destinationlabel" >
       
   458      <x>286</x>
       
   459      <y>274</y>
       
   460     </hint>
       
   461    </hints>
       
   462   </connection>
       
   463  </connections>
       
   464 </ui>