Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > 1680fb88efc4e76ac8cb0ebf3578014f > files > 540

qtmultimedia5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>videosettings.ui Example File | Qt Multimedia 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtmultimedia-index.html">Qt Multimedia</a></td><td ><a href="qtmultimedia-multimediawidgets-camera-example.html">Camera Example</a></td><td >videosettings.ui Example File</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtmultimedia-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">videosettings.ui Example File</h1>
<span class="subtitle">multimediawidgets/camera/videosettings.ui</span>
<!-- $$$multimediawidgets/camera/videosettings.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;VideoSettingsUi&lt;/class&gt;
   &lt;widget class=&quot;QDialog&quot; name=&quot;VideoSettingsUi&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;561&lt;/width&gt;
      &lt;height&gt;369&lt;/height&gt;
     &lt;/rect&gt;
    &lt;/property&gt;
    &lt;property name=&quot;windowTitle&quot;&gt;
     &lt;string&gt;Video Settings&lt;/string&gt;
    &lt;/property&gt;
    &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout_4&quot;&gt;
     &lt;item row=&quot;0&quot; column=&quot;0&quot;&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;543&lt;/width&gt;
          &lt;height&gt;250&lt;/height&gt;
         &lt;/rect&gt;
        &lt;/property&gt;
        &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout_3&quot;&gt;
         &lt;item row=&quot;0&quot; column=&quot;0&quot;&gt;
          &lt;widget class=&quot;QGroupBox&quot; name=&quot;groupBox&quot;&gt;
           &lt;property name=&quot;title&quot;&gt;
            &lt;string&gt;Audio&lt;/string&gt;
           &lt;/property&gt;
           &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout&quot;&gt;
            &lt;item row=&quot;0&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QLabel&quot; name=&quot;label_2&quot;&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string&gt;Audio Codec:&lt;/string&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item row=&quot;1&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QComboBox&quot; name=&quot;audioCodecBox&quot;/&gt;
            &lt;/item&gt;
            &lt;item row=&quot;2&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QLabel&quot; name=&quot;label_5&quot;&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string&gt;Sample Rate:&lt;/string&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item row=&quot;3&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QComboBox&quot; name=&quot;audioSampleRateBox&quot;/&gt;
            &lt;/item&gt;
            &lt;item row=&quot;4&quot; column=&quot;0&quot;&gt;
             &lt;widget class=&quot;QLabel&quot; name=&quot;label_3&quot;&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string&gt;Quality:&lt;/string&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item row=&quot;4&quot; column=&quot;1&quot;&gt;
             &lt;widget class=&quot;QSlider&quot; name=&quot;audioQualitySlider&quot;&gt;
              &lt;property name=&quot;maximum&quot;&gt;
               &lt;number&gt;4&lt;/number&gt;
              &lt;/property&gt;
              &lt;property name=&quot;orientation&quot;&gt;
               &lt;enum&gt;Qt::Horizontal&lt;/enum&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
           &lt;/layout&gt;
          &lt;/widget&gt;
         &lt;/item&gt;
         &lt;item row=&quot;0&quot; column=&quot;1&quot; rowspan=&quot;3&quot;&gt;
          &lt;widget class=&quot;QGroupBox&quot; name=&quot;groupBox_2&quot;&gt;
           &lt;property name=&quot;title&quot;&gt;
            &lt;string&gt;Video&lt;/string&gt;
           &lt;/property&gt;
           &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout_2&quot;&gt;
            &lt;item row=&quot;0&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QLabel&quot; name=&quot;label_8&quot;&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string&gt;Resolution:&lt;/string&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item row=&quot;1&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QComboBox&quot; name=&quot;videoResolutionBox&quot;/&gt;
            &lt;/item&gt;
            &lt;item row=&quot;2&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QLabel&quot; name=&quot;label_9&quot;&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string&gt;Framerate:&lt;/string&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item row=&quot;3&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QComboBox&quot; name=&quot;videoFramerateBox&quot;/&gt;
            &lt;/item&gt;
            &lt;item row=&quot;4&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QLabel&quot; name=&quot;label_6&quot;&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string&gt;Video Codec:&lt;/string&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item row=&quot;5&quot; column=&quot;0&quot; colspan=&quot;2&quot;&gt;
             &lt;widget class=&quot;QComboBox&quot; name=&quot;videoCodecBox&quot;/&gt;
            &lt;/item&gt;
            &lt;item row=&quot;6&quot; column=&quot;0&quot;&gt;
             &lt;widget class=&quot;QLabel&quot; name=&quot;label_7&quot;&gt;
              &lt;property name=&quot;text&quot;&gt;
               &lt;string&gt;Quality:&lt;/string&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
            &lt;item row=&quot;6&quot; column=&quot;1&quot;&gt;
             &lt;widget class=&quot;QSlider&quot; name=&quot;videoQualitySlider&quot;&gt;
              &lt;property name=&quot;maximum&quot;&gt;
               &lt;number&gt;4&lt;/number&gt;
              &lt;/property&gt;
              &lt;property name=&quot;orientation&quot;&gt;
               &lt;enum&gt;Qt::Horizontal&lt;/enum&gt;
              &lt;/property&gt;
             &lt;/widget&gt;
            &lt;/item&gt;
           &lt;/layout&gt;
          &lt;/widget&gt;
         &lt;/item&gt;
         &lt;item row=&quot;1&quot; column=&quot;0&quot;&gt;
          &lt;widget class=&quot;QLabel&quot; name=&quot;label_4&quot;&gt;
           &lt;property name=&quot;text&quot;&gt;
            &lt;string&gt;Container Format:&lt;/string&gt;
           &lt;/property&gt;
          &lt;/widget&gt;
         &lt;/item&gt;
         &lt;item row=&quot;2&quot; column=&quot;0&quot;&gt;
          &lt;widget class=&quot;QComboBox&quot; name=&quot;containerFormatBox&quot;/&gt;
         &lt;/item&gt;
        &lt;/layout&gt;
       &lt;/widget&gt;
      &lt;/widget&gt;
     &lt;/item&gt;
     &lt;item row=&quot;1&quot; column=&quot;0&quot;&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;20&lt;/width&gt;
         &lt;height&gt;14&lt;/height&gt;
        &lt;/size&gt;
       &lt;/property&gt;
      &lt;/spacer&gt;
     &lt;/item&gt;
     &lt;item row=&quot;2&quot; column=&quot;0&quot;&gt;
      &lt;widget class=&quot;QDialogButtonBox&quot; name=&quot;buttonBox&quot;&gt;
       &lt;property name=&quot;orientation&quot;&gt;
        &lt;enum&gt;Qt::Horizontal&lt;/enum&gt;
       &lt;/property&gt;
       &lt;property name=&quot;standardButtons&quot;&gt;
        &lt;set&gt;QDialogButtonBox::Cancel|QDialogButtonBox::Ok&lt;/set&gt;
       &lt;/property&gt;
      &lt;/widget&gt;
     &lt;/item&gt;
    &lt;/layout&gt;
   &lt;/widget&gt;
   &lt;resources/&gt;
   &lt;connections&gt;
    &lt;connection&gt;
     &lt;sender&gt;buttonBox&lt;/sender&gt;
     &lt;signal&gt;accepted()&lt;/signal&gt;
     &lt;receiver&gt;VideoSettingsUi&lt;/receiver&gt;
     &lt;slot&gt;accept()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;322&lt;/x&gt;
       &lt;y&gt;272&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;44&lt;/x&gt;
       &lt;y&gt;230&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
    &lt;connection&gt;
     &lt;sender&gt;buttonBox&lt;/sender&gt;
     &lt;signal&gt;rejected()&lt;/signal&gt;
     &lt;receiver&gt;VideoSettingsUi&lt;/receiver&gt;
     &lt;slot&gt;reject()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;405&lt;/x&gt;
       &lt;y&gt;262&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;364&lt;/x&gt;
       &lt;y&gt;227&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
   &lt;/connections&gt;
  &lt;/ui&gt;

</pre>
</div>
<!-- @@@multimediawidgets/camera/videosettings.ui -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed 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.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>