Preliminaries for new UDS modes, added code to ensure lower and upper

bounds are respected on UDS window.
This commit is contained in:
Collin Kidder
2017-05-21 17:28:20 -04:00
parent 341df5df2d
commit 72589c7760
3 changed files with 98 additions and 16 deletions
+44 -8
View File
@@ -52,9 +52,18 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="txtStartID">
<property name="text">
<string>0x7E0</string>
<widget class="QSpinBox" name="spinStartID">
<property name="prefix">
<string>0x</string>
</property>
<property name="maximum">
<number>536870911</number>
</property>
<property name="value">
<number>2016</number>
</property>
<property name="displayIntegerBase">
<number>16</number>
</property>
</widget>
</item>
@@ -70,9 +79,18 @@
</widget>
</item>
<item>
<widget class="QLineEdit" name="txtEndID">
<property name="text">
<string>0x7E7</string>
<widget class="QSpinBox" name="spinEndID">
<property name="prefix">
<string>0x</string>
</property>
<property name="maximum">
<number>536870911</number>
</property>
<property name="value">
<number>2024</number>
</property>
<property name="displayIntegerBase">
<number>16</number>
</property>
</widget>
</item>
@@ -123,7 +141,7 @@
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Buses to scan</string>
<string>Bus to scan</string>
</property>
</widget>
</item>
@@ -174,7 +192,7 @@
<item>
<widget class="QCheckBox" name="ckSession">
<property name="text">
<string>Session Control</string>
<string>Session Ctrl</string>
</property>
</widget>
</item>
@@ -192,6 +210,24 @@
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QCheckBox" name="ckReadByID">
<property name="text">
<string>Read By ID</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ckReadByAddr">
<property name="text">
<string>Read By Addr</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="ckWildcard">
<property name="text">