<?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>settingsdialog.ui Example File | Qt Serial Bus 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="qtserialbus-index.html">Qt Serial Bus</a></td><td ><a href="qtserialbus-modbus-slave-example.html">Modbus Slave example</a></td><td >settingsdialog.ui Example File</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtserialbus-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">settingsdialog.ui Example File</h1> <span class="subtitle">modbus/slave/settingsdialog.ui</span> <!-- $$$modbus/slave/settingsdialog.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>SettingsDialog</class> <widget class="QDialog" name="SettingsDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>239</width> <height>256</height> </rect> </property> <property name="windowTitle"> <string>Modbus Settings</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="1" column="1"> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>43</height> </size> </property> </spacer> </item> <item row="2" column="1"> <widget class="QPushButton" name="applyButton"> <property name="text"> <string>Apply</string> </property> </widget> </item> <item row="0" column="0" colspan="2"> <widget class="QGroupBox" name="groupBox"> <property name="title"> <string>Serial Parameters</string> </property> <layout class="QGridLayout" name="gridLayout_2"> <item row="0" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Parity:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="parityCombo"> <item> <property name="text"> <string>No</string> </property> </item> <item> <property name="text"> <string>Even</string> </property> </item> <item> <property name="text"> <string>Odd</string> </property> </item> <item> <property name="text"> <string>Space</string> </property> </item> <item> <property name="text"> <string>Mark</string> </property> </item> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Baud Rate:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="baudCombo"> <item> <property name="text"> <string>1200</string> </property> </item> <item> <property name="text"> <string>2400</string> </property> </item> <item> <property name="text"> <string>4800</string> </property> </item> <item> <property name="text"> <string>9600</string> </property> </item> <item> <property name="text"> <string>19200</string> </property> </item> <item> <property name="text"> <string>38400</string> </property> </item> <item> <property name="text"> <string>57600</string> </property> </item> <item> <property name="text"> <string>115200</string> </property> </item> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Data Bits:</string> </property> </widget> </item> <item row="2" column="1"> <widget class="QComboBox" name="dataBitsCombo"> <item> <property name="text"> <string>5</string> </property> </item> <item> <property name="text"> <string>6</string> </property> </item> <item> <property name="text"> <string>7</string> </property> </item> <item> <property name="text"> <string>8</string> </property> </item> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_5"> <property name="text"> <string>Stop Bits:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QComboBox" name="stopBitsCombo"> <item> <property name="text"> <string>1</string> </property> </item> <item> <property name="text"> <string>3</string> </property> </item> <item> <property name="text"> <string>2</string> </property> </item> </widget> </item> </layout> </widget> </item> </layout> </widget> <resources/> <connections/> </ui> </pre> </div> <!-- @@@modbus/slave/settingsdialog.ui --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</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>