sendframebox.ui Example File

can/sendframebox.ui
<?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&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&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>&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&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>&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>&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 &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>&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>&Send</string>
         </property>
        </widget>
       </item>
      </layout>
     </item>
    </layout>
   </item>
  </layout>
 </widget>
 <resources/>
 <connections/>
</ui>