Changeset - 5bd0f2144dff
[Not reviewed]
default
0 1 0
Hasan Yavuz ÖZDERYA - 11 years ago 2015-04-04 09:31:01
hy@ozderya.net
default states for advanced port options selected
1 file changed with 12 insertions and 0 deletions:
0 comments (0 inline, 0 general)
mainwindow.ui
Show inline comments
 
@@ -83,203 +83,215 @@
 
               <set>Qt::ImhPreferNumbers</set>
 
              </property>
 
              <property name="editable">
 
               <bool>true</bool>
 
              </property>
 
             </widget>
 
            </item>
 
            <item row="1" column="0">
 
             <widget class="QLabel" name="label_2">
 
              <property name="text">
 
               <string>Baud Rate:</string>
 
              </property>
 
             </widget>
 
            </item>
 
            <item row="0" column="2">
 
             <widget class="QPushButton" name="pbReloadPorts">
 
              <property name="sizePolicy">
 
               <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
 
                <horstretch>0</horstretch>
 
                <verstretch>0</verstretch>
 
               </sizepolicy>
 
              </property>
 
              <property name="maximumSize">
 
               <size>
 
                <width>30</width>
 
                <height>16777215</height>
 
               </size>
 
              </property>
 
              <property name="text">
 
               <string>🔄</string>
 
              </property>
 
             </widget>
 
            </item>
 
           </layout>
 
          </item>
 
          <item>
 
           <layout class="QHBoxLayout" name="horizontalLayout_2">
 
            <item>
 
             <widget class="QFrame" name="frame">
 
              <property name="frameShape">
 
               <enum>QFrame::NoFrame</enum>
 
              </property>
 
              <layout class="QVBoxLayout" name="verticalLayout_5">
 
               <item>
 
                <widget class="QRadioButton" name="rbNoParity">
 
                 <property name="text">
 
                  <string>No Parity</string>
 
                 </property>
 
                 <property name="checked">
 
                  <bool>true</bool>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rbOddParity">
 
                 <property name="text">
 
                  <string>Odd Parity</string>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rbEvenParity">
 
                 <property name="text">
 
                  <string>Even Parity</string>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <spacer name="verticalSpacer_2">
 
                 <property name="orientation">
 
                  <enum>Qt::Vertical</enum>
 
                 </property>
 
                 <property name="sizeHint" stdset="0">
 
                  <size>
 
                   <width>20</width>
 
                   <height>2</height>
 
                  </size>
 
                 </property>
 
                </spacer>
 
               </item>
 
              </layout>
 
             </widget>
 
            </item>
 
            <item>
 
             <widget class="QFrame" name="frame_3">
 
              <layout class="QVBoxLayout" name="verticalLayout_7">
 
               <item>
 
                <widget class="QRadioButton" name="rb8Bits">
 
                 <property name="text">
 
                  <string>8 bits</string>
 
                 </property>
 
                 <property name="checked">
 
                  <bool>true</bool>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rb7Bits">
 
                 <property name="text">
 
                  <string>7 bits</string>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rb6Bits">
 
                 <property name="text">
 
                  <string>6 bits</string>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rb5Bits">
 
                 <property name="text">
 
                  <string>5 bits</string>
 
                 </property>
 
                </widget>
 
               </item>
 
              </layout>
 
             </widget>
 
            </item>
 
            <item>
 
             <widget class="QFrame" name="frame_4">
 
              <layout class="QVBoxLayout" name="verticalLayout">
 
               <item>
 
                <widget class="QRadioButton" name="rb1StopBit">
 
                 <property name="text">
 
                  <string>1 Stop Bit</string>
 
                 </property>
 
                 <property name="checked">
 
                  <bool>true</bool>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rb2StopBit">
 
                 <property name="text">
 
                  <string>2 Stop Bit</string>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <spacer name="verticalSpacer_4">
 
                 <property name="orientation">
 
                  <enum>Qt::Vertical</enum>
 
                 </property>
 
                 <property name="sizeHint" stdset="0">
 
                  <size>
 
                   <width>20</width>
 
                   <height>2</height>
 
                  </size>
 
                 </property>
 
                </spacer>
 
               </item>
 
              </layout>
 
             </widget>
 
            </item>
 
            <item>
 
             <widget class="QFrame" name="frame_2">
 
              <layout class="QVBoxLayout" name="verticalLayout_6">
 
               <item>
 
                <widget class="QRadioButton" name="rbNoFlowControl">
 
                 <property name="text">
 
                  <string>No Flow Control</string>
 
                 </property>
 
                 <property name="checked">
 
                  <bool>true</bool>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rbHardwareControl">
 
                 <property name="text">
 
                  <string>Hardware Control</string>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <widget class="QRadioButton" name="rbSoftwareControl">
 
                 <property name="text">
 
                  <string>Software Control</string>
 
                 </property>
 
                </widget>
 
               </item>
 
               <item>
 
                <spacer name="verticalSpacer_5">
 
                 <property name="orientation">
 
                  <enum>Qt::Vertical</enum>
 
                 </property>
 
                 <property name="sizeHint" stdset="0">
 
                  <size>
 
                   <width>20</width>
 
                   <height>2</height>
 
                  </size>
 
                 </property>
 
                </spacer>
 
               </item>
 
              </layout>
 
             </widget>
 
            </item>
 
           </layout>
 
          </item>
 
         </layout>
 
        </item>
 
        <item>
 
         <spacer name="horizontalSpacer">
 
          <property name="orientation">
 
           <enum>Qt::Horizontal</enum>
 
          </property>
 
          <property name="sizeHint" stdset="0">
 
           <size>
 
            <width>10000</width>
 
            <height>20</height>
 
           </size>
 
          </property>
 
         </spacer>
0 comments (0 inline, 0 general)