<?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 Serial Port 5.9</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.9</td><td ><a href="qtserialport-index.html">Qt Serial Port</a></td><td ><a href="qtserialport-terminal-example.html">Terminal Example</a></td><td >mainwindow.ui Example File</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</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">terminal/mainwindow.ui</span> <!-- $$$terminal/mainwindow.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>300</height> </rect> </property> <property name="windowTitle"> <string>Simple Terminal</string> </property> <widget class="QWidget" name="centralWidget"> <layout class="QVBoxLayout" name="verticalLayout"/> </widget> <widget class="QMenuBar" name="menuBar"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>400</width> <height>19</height> </rect> </property> <widget class="QMenu" name="menuCalls"> <property name="title"> <string>Calls</string> </property> <addaction name="actionConnect"/> <addaction name="actionDisconnect"/> <addaction name="separator"/> <addaction name="actionQuit"/> </widget> <widget class="QMenu" name="menuTools"> <property name="title"> <string>Tools</string> </property> <addaction name="actionConfigure"/> <addaction name="actionClear"/> </widget> <widget class="QMenu" name="menuHelp"> <property name="title"> <string>Help</string> </property> <addaction name="actionAbout"/> <addaction name="actionAboutQt"/> </widget> <addaction name="menuCalls"/> <addaction name="menuTools"/> <addaction name="menuHelp"/> </widget> <widget class="QToolBar" name="mainToolBar"> <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> <attribute name="toolBarBreak"> <bool>false</bool> </attribute> <addaction name="actionConnect"/> <addaction name="actionDisconnect"/> <addaction name="actionConfigure"/> <addaction name="actionClear"/> </widget> <widget class="QStatusBar" name="statusBar"/> <action name="actionAbout"> <property name="text"> <string>&amp;About</string> </property> <property name="toolTip"> <string>About program</string> </property> <property name="shortcut"> <string>Alt+A</string> </property> </action> <action name="actionAboutQt"> <property name="text"> <string>About Qt</string> </property> </action> <action name="actionConnect"> <property name="icon"> <iconset resource="terminal.qrc"> <normaloff>:/images/connect.png</normaloff>:/images/connect.png</iconset> </property> <property name="text"> <string>C&amp;onnect</string> </property> <property name="toolTip"> <string>Connect to serial port</string> </property> <property name="shortcut"> <string>Ctrl+O</string> </property> </action> <action name="actionDisconnect"> <property name="icon"> <iconset resource="terminal.qrc"> <normaloff>:/images/disconnect.png</normaloff>:/images/disconnect.png</iconset> </property> <property name="text"> <string>&amp;Disconnect</string> </property> <property name="toolTip"> <string>Disconnect from serial port</string> </property> <property name="shortcut"> <string>Ctrl+D</string> </property> </action> <action name="actionConfigure"> <property name="icon"> <iconset resource="terminal.qrc"> <normaloff>:/images/settings.png</normaloff>:/images/settings.png</iconset> </property> <property name="text"> <string>&amp;Configure</string> </property> <property name="toolTip"> <string>Configure serial port</string> </property> <property name="shortcut"> <string>Alt+C</string> </property> </action> <action name="actionClear"> <property name="icon"> <iconset resource="terminal.qrc"> <normaloff>:/images/clear.png</normaloff>:/images/clear.png</iconset> </property> <property name="text"> <string>C&amp;lear</string> </property> <property name="toolTip"> <string>Clear data</string> </property> <property name="shortcut"> <string>Alt+L</string> </property> </action> <action name="actionQuit"> <property name="icon"> <iconset resource="terminal.qrc"> <normaloff>:/images/application-exit.png</normaloff>:/images/application-exit.png</iconset> </property> <property name="text"> <string>&amp;Quit</string> </property> <property name="shortcut"> <string>Ctrl+Q</string> </property> </action> </widget> <layoutdefault spacing="6" margin="11"/> <resources> <include location="terminal.qrc"/> </resources> <connections/> </ui> </pre> </div> <!-- @@@terminal/mainwindow.ui --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 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>