<?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>sendframebox.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-can-example.html">CAN Bus example</a></td><td >sendframebox.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">sendframebox.ui Example File</h1> <span class="subtitle">can/sendframebox.ui</span> <!-- $$$can/sendframebox.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>SendFrameBox</class> <widget class="QGroupBox" name="SendFrameBox"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>485</width> <height>206</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <property name="title"> <string/> </property> <layout class="QVBoxLayout" name="verticalLayout_4"> <item> <widget class="QGroupBox" name="frameTypeBox"> <property name="title"> <string>Frame Type</string> </property> <property name="checkable"> <bool>false</bool> </property> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="topMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QRadioButton" name="dataFrame"> <property name="toolTip"> <string>Sends a CAN data frame.</string> </property> <property name="text"> <string>D&amp;ata Frame</string> </property> <property name="checked"> <bool>true</bool> </property> </widget> </item> <item> <widget class="QRadioButton" name="remoteFrame"> <property name="toolTip"> <string>Sends a CAN remote request frame.</string> </property> <property name="text"> <string>Re&amp;mote Request Frame</string> </property> </widget> </item> <item> <widget class="QRadioButton" name="errorFrame"> <property name="toolTip"> <string>Sends an error frame.</string> </property> <property name="text"> <string>&amp;Error Frame</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QGroupBox" name="frameOptionsBox"> <property name="title"> <string>Frame Options</string> </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <property name="topMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QCheckBox" name="extendedFormatBox"> <property name="toolTip"> <string>Allows extended frames with 29 bit identifier.</string> </property> <property name="text"> <string>E&amp;xtended Format</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="flexibleDataRateBox"> <property name="toolTip"> <string>Allows up to 64 byte payload data.</string> </property> <property name="text"> <string>&amp;Flexible Data-Rate</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="bitrateSwitchBox"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Sends payload at higher data rate.</string> </property> <property name="text"> <string>&amp;Bitrate Switch</string> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QLabel" name="frameIdLabel"> <property name="text"> <string>Frame &amp;ID (hex)</string> </property> <property name="buddy"> <cstring>frameIdEdit</cstring> </property> </widget> </item> <item> <widget class="QLineEdit" name="frameIdEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="placeholderText"> <string>123</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QLabel" name="payloadLabel"> <property name="text"> <string>&amp;Payload (hex)</string> </property> <property name="buddy"> <cstring>payloadEdit</cstring> </property> </widget> </item> <item> <widget class="QLineEdit" name="payloadEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>2</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="placeholderText"> <string>12 34 AB CE</string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="sendButton"> <property name="text"> <string>&amp;Send</string> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> <resources/> <connections/> </ui> </pre> </div> <!-- @@@can/sendframebox.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>