Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates > by-pkgid > b05d34811e5ebd1b826b651e0318e68b > files > 22

qtspeech5-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>mainwindow.ui Example File | Qt Speech 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="qtspeech-index.html">Qt Speech</a></td><td ><a href="qtspeech-hello-speak-example.html">Hello Speak Example</a></td><td >mainwindow.ui Example File</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtspeech-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">mainwindow.ui Example File</h1>
<span class="subtitle">hello_speak/mainwindow.ui</span>
<!-- $$$hello_speak/mainwindow.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;MainWindow&lt;/class&gt;
   &lt;widget class=&quot;QMainWindow&quot; name=&quot;MainWindow&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;551&lt;/width&gt;
      &lt;height&gt;448&lt;/height&gt;
     &lt;/rect&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&quot;&gt;
      &lt;item&gt;
       &lt;widget class=&quot;QPlainTextEdit&quot; name=&quot;plainTextEdit&quot;&gt;
        &lt;property name=&quot;sizePolicy&quot;&gt;
         &lt;sizepolicy hsizetype=&quot;Expanding&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;plainText&quot;&gt;
         &lt;string&gt;Hello QtTextToSpeech,
  this is an example text in English.

  QtSpeech is a library that makes text to speech easy with Qt.
  Done, over and out.&lt;/string&gt;
        &lt;/property&gt;
       &lt;/widget&gt;
      &lt;/item&gt;
      &lt;item&gt;
       &lt;layout class=&quot;QGridLayout&quot; name=&quot;gridLayout&quot;&gt;
        &lt;item row=&quot;4&quot; column=&quot;0&quot;&gt;
         &lt;widget class=&quot;QLabel&quot; name=&quot;label_5&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Minimum&quot; vsizetype=&quot;Preferred&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;text&quot;&gt;
           &lt;string&gt;Engine&lt;/string&gt;
          &lt;/property&gt;
          &lt;property name=&quot;alignment&quot;&gt;
           &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item row=&quot;3&quot; column=&quot;0&quot;&gt;
         &lt;widget class=&quot;QLabel&quot; name=&quot;label_3&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Minimum&quot; vsizetype=&quot;Preferred&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;text&quot;&gt;
           &lt;string&gt;Pitch:&lt;/string&gt;
          &lt;/property&gt;
          &lt;property name=&quot;alignment&quot;&gt;
           &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item row=&quot;5&quot; column=&quot;0&quot;&gt;
         &lt;widget class=&quot;QLabel&quot; name=&quot;label_4&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Minimum&quot; vsizetype=&quot;Preferred&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;text&quot;&gt;
           &lt;string&gt;&amp;amp;Language:&lt;/string&gt;
          &lt;/property&gt;
          &lt;property name=&quot;alignment&quot;&gt;
           &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
          &lt;/property&gt;
          &lt;property name=&quot;buddy&quot;&gt;
           &lt;cstring&gt;language&lt;/cstring&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item row=&quot;3&quot; column=&quot;2&quot;&gt;
         &lt;widget class=&quot;QSlider&quot; name=&quot;pitch&quot;&gt;
          &lt;property name=&quot;minimum&quot;&gt;
           &lt;number&gt;-10&lt;/number&gt;
          &lt;/property&gt;
          &lt;property name=&quot;maximum&quot;&gt;
           &lt;number&gt;10&lt;/number&gt;
          &lt;/property&gt;
          &lt;property name=&quot;singleStep&quot;&gt;
           &lt;number&gt;1&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;item row=&quot;6&quot; column=&quot;0&quot;&gt;
         &lt;widget class=&quot;QLabel&quot; name=&quot;label_6&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Voice name:&lt;/string&gt;
          &lt;/property&gt;
          &lt;property name=&quot;alignment&quot;&gt;
           &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item row=&quot;1&quot; column=&quot;2&quot;&gt;
         &lt;widget class=&quot;QSlider&quot; name=&quot;volume&quot;&gt;
          &lt;property name=&quot;maximum&quot;&gt;
           &lt;number&gt;100&lt;/number&gt;
          &lt;/property&gt;
          &lt;property name=&quot;singleStep&quot;&gt;
           &lt;number&gt;5&lt;/number&gt;
          &lt;/property&gt;
          &lt;property name=&quot;pageStep&quot;&gt;
           &lt;number&gt;20&lt;/number&gt;
          &lt;/property&gt;
          &lt;property name=&quot;value&quot;&gt;
           &lt;number&gt;70&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;item row=&quot;5&quot; column=&quot;2&quot;&gt;
         &lt;widget class=&quot;QComboBox&quot; name=&quot;language&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Expanding&quot; vsizetype=&quot;Fixed&quot;&gt;
            &lt;horstretch&gt;0&lt;/horstretch&gt;
            &lt;verstretch&gt;0&lt;/verstretch&gt;
           &lt;/sizepolicy&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item row=&quot;6&quot; column=&quot;2&quot;&gt;
         &lt;widget class=&quot;QComboBox&quot; name=&quot;voice&quot;/&gt;
        &lt;/item&gt;
        &lt;item row=&quot;2&quot; column=&quot;0&quot;&gt;
         &lt;widget class=&quot;QLabel&quot; name=&quot;label&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Minimum&quot; vsizetype=&quot;Preferred&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;text&quot;&gt;
           &lt;string&gt;Rate:&lt;/string&gt;
          &lt;/property&gt;
          &lt;property name=&quot;alignment&quot;&gt;
           &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
          &lt;/property&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_2&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Minimum&quot; vsizetype=&quot;Preferred&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;text&quot;&gt;
           &lt;string&gt;Volume:&lt;/string&gt;
          &lt;/property&gt;
          &lt;property name=&quot;alignment&quot;&gt;
           &lt;set&gt;Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter&lt;/set&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item row=&quot;2&quot; column=&quot;2&quot;&gt;
         &lt;widget class=&quot;QSlider&quot; name=&quot;rate&quot;&gt;
          &lt;property name=&quot;minimum&quot;&gt;
           &lt;number&gt;-10&lt;/number&gt;
          &lt;/property&gt;
          &lt;property name=&quot;maximum&quot;&gt;
           &lt;number&gt;10&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;item row=&quot;4&quot; column=&quot;2&quot;&gt;
         &lt;widget class=&quot;QComboBox&quot; name=&quot;engine&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Expanding&quot; vsizetype=&quot;Fixed&quot;&gt;
            &lt;horstretch&gt;0&lt;/horstretch&gt;
            &lt;verstretch&gt;0&lt;/verstretch&gt;
           &lt;/sizepolicy&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
       &lt;/layout&gt;
      &lt;/item&gt;
      &lt;item&gt;
       &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout&quot;&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;speakButton&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Speak&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;pauseButton&quot;&gt;
          &lt;property name=&quot;enabled&quot;&gt;
           &lt;bool&gt;false&lt;/bool&gt;
          &lt;/property&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Pause&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;resumeButton&quot;&gt;
          &lt;property name=&quot;enabled&quot;&gt;
           &lt;bool&gt;false&lt;/bool&gt;
          &lt;/property&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Resume&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;stopButton&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;/layout&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;20&lt;/width&gt;
          &lt;height&gt;40&lt;/height&gt;
         &lt;/size&gt;
        &lt;/property&gt;
       &lt;/spacer&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;tabstops&gt;
    &lt;tabstop&gt;plainTextEdit&lt;/tabstop&gt;
    &lt;tabstop&gt;speakButton&lt;/tabstop&gt;
    &lt;tabstop&gt;pauseButton&lt;/tabstop&gt;
    &lt;tabstop&gt;resumeButton&lt;/tabstop&gt;
    &lt;tabstop&gt;stopButton&lt;/tabstop&gt;
   &lt;/tabstops&gt;
   &lt;resources/&gt;
   &lt;connections/&gt;
  &lt;/ui&gt;

</pre>
</div>
<!-- @@@hello_speak/mainwindow.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>