Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 814a2b4c48f3ef6444b2ff5bf854d05a > files > 343

qtconnectivity5-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 NFC 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="qtnfc-index.html">Qt NFC</a></td><td ><a href="qtnfc-ndefeditor-example.html">NDEF Editor Example</a></td><td >mainwindow.ui Example File</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtnfc-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">ndefeditor/mainwindow.ui</span>
<!-- $$$ndefeditor/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;553&lt;/width&gt;
      &lt;height&gt;397&lt;/height&gt;
     &lt;/rect&gt;
    &lt;/property&gt;
    &lt;property name=&quot;windowTitle&quot;&gt;
     &lt;string&gt;NDEF Message Editor&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;property name=&quot;leftMargin&quot;&gt;
       &lt;number&gt;0&lt;/number&gt;
      &lt;/property&gt;
      &lt;property name=&quot;rightMargin&quot;&gt;
       &lt;number&gt;0&lt;/number&gt;
      &lt;/property&gt;
      &lt;property name=&quot;bottomMargin&quot;&gt;
       &lt;number&gt;0&lt;/number&gt;
      &lt;/property&gt;
      &lt;item&gt;
       &lt;layout class=&quot;QHBoxLayout&quot; name=&quot;horizontalLayout&quot;&gt;
        &lt;property name=&quot;leftMargin&quot;&gt;
         &lt;number&gt;9&lt;/number&gt;
        &lt;/property&gt;
        &lt;property name=&quot;rightMargin&quot;&gt;
         &lt;number&gt;9&lt;/number&gt;
        &lt;/property&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QWidget&quot; name=&quot;status&quot; native=&quot;true&quot;&gt;
          &lt;property name=&quot;sizePolicy&quot;&gt;
           &lt;sizepolicy hsizetype=&quot;Fixed&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;property name=&quot;minimumSize&quot;&gt;
           &lt;size&gt;
            &lt;width&gt;25&lt;/width&gt;
            &lt;height&gt;25&lt;/height&gt;
           &lt;/size&gt;
          &lt;/property&gt;
          &lt;property name=&quot;maximumSize&quot;&gt;
           &lt;size&gt;
            &lt;width&gt;25&lt;/width&gt;
            &lt;height&gt;25&lt;/height&gt;
           &lt;/size&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;touchRetrieve&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Retrieve&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;touchStore&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Store&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;loadMessage&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Load&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;saveMessage&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Save&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;clearMessage&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Clear&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
        &lt;item&gt;
         &lt;widget class=&quot;QPushButton&quot; name=&quot;addRecord&quot;&gt;
          &lt;property name=&quot;text&quot;&gt;
           &lt;string&gt;Add&lt;/string&gt;
          &lt;/property&gt;
         &lt;/widget&gt;
        &lt;/item&gt;
       &lt;/layout&gt;
      &lt;/item&gt;
      &lt;item&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;frameShadow&quot;&gt;
         &lt;enum&gt;QFrame::Plain&lt;/enum&gt;
        &lt;/property&gt;
        &lt;property name=&quot;verticalScrollBarPolicy&quot;&gt;
         &lt;enum&gt;Qt::ScrollBarAsNeeded&lt;/enum&gt;
        &lt;/property&gt;
        &lt;property name=&quot;horizontalScrollBarPolicy&quot;&gt;
         &lt;enum&gt;Qt::ScrollBarAlwaysOff&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;553&lt;/width&gt;
           &lt;height&gt;335&lt;/height&gt;
          &lt;/rect&gt;
         &lt;/property&gt;
        &lt;/widget&gt;
       &lt;/widget&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;layoutdefault spacing=&quot;6&quot; margin=&quot;11&quot;/&gt;
   &lt;resources/&gt;
   &lt;connections&gt;
    &lt;connection&gt;
     &lt;sender&gt;saveMessage&lt;/sender&gt;
     &lt;signal&gt;clicked()&lt;/signal&gt;
     &lt;receiver&gt;MainWindow&lt;/receiver&gt;
     &lt;slot&gt;saveMessage()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;419&lt;/x&gt;
       &lt;y&gt;47&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;275&lt;/x&gt;
       &lt;y&gt;198&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
    &lt;connection&gt;
     &lt;sender&gt;touchRetrieve&lt;/sender&gt;
     &lt;signal&gt;clicked()&lt;/signal&gt;
     &lt;receiver&gt;MainWindow&lt;/receiver&gt;
     &lt;slot&gt;touchReceive()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;142&lt;/x&gt;
       &lt;y&gt;47&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;275&lt;/x&gt;
       &lt;y&gt;198&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
    &lt;connection&gt;
     &lt;sender&gt;touchStore&lt;/sender&gt;
     &lt;signal&gt;clicked()&lt;/signal&gt;
     &lt;receiver&gt;MainWindow&lt;/receiver&gt;
     &lt;slot&gt;touchStore()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;244&lt;/x&gt;
       &lt;y&gt;47&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;275&lt;/x&gt;
       &lt;y&gt;198&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
    &lt;connection&gt;
     &lt;sender&gt;loadMessage&lt;/sender&gt;
     &lt;signal&gt;clicked()&lt;/signal&gt;
     &lt;receiver&gt;MainWindow&lt;/receiver&gt;
     &lt;slot&gt;loadMessage()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;334&lt;/x&gt;
       &lt;y&gt;47&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;275&lt;/x&gt;
       &lt;y&gt;198&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
    &lt;connection&gt;
     &lt;sender&gt;clearMessage&lt;/sender&gt;
     &lt;signal&gt;clicked()&lt;/signal&gt;
     &lt;receiver&gt;MainWindow&lt;/receiver&gt;
     &lt;slot&gt;clearMessage()&lt;/slot&gt;
     &lt;hints&gt;
      &lt;hint type=&quot;sourcelabel&quot;&gt;
       &lt;x&gt;419&lt;/x&gt;
       &lt;y&gt;22&lt;/y&gt;
      &lt;/hint&gt;
      &lt;hint type=&quot;destinationlabel&quot;&gt;
       &lt;x&gt;275&lt;/x&gt;
       &lt;y&gt;198&lt;/y&gt;
      &lt;/hint&gt;
     &lt;/hints&gt;
    &lt;/connection&gt;
   &lt;/connections&gt;
   &lt;slots&gt;
    &lt;slot&gt;saveMessage()&lt;/slot&gt;
    &lt;slot&gt;loadMessage()&lt;/slot&gt;
    &lt;slot&gt;touchReceive()&lt;/slot&gt;
    &lt;slot&gt;touchStore()&lt;/slot&gt;
    &lt;slot&gt;clearMessage()&lt;/slot&gt;
   &lt;/slots&gt;
  &lt;/ui&gt;

</pre>
</div>
<!-- @@@ndefeditor/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>