summaryrefslogtreecommitdiffstats
path: root/examples/serialbus/can/mainwindow.ui
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@theqtcompany.com>2015-07-30 15:47:37 +0200
committerAlex Blasche <alexander.blasche@theqtcompany.com>2015-07-31 12:27:28 +0000
commitbfedaa0435d087743478764b571b422e65ea28d3 (patch)
tree52516b1aa0d0c78d85a5bb189377c06348f1bead /examples/serialbus/can/mainwindow.ui
parentf3e8fb5819a11f0c17c9516a48803370456c0ad8 (diff)
Make frame type decision exclusive
The example UI must not create ambiguous situations where the user can select remote and error frame type at the same time. This patch adds a groupbox permitting mutually exclusive selection of the frame type. Change-Id: I7d6202cb6179ba0af9aa29a9bd4d5fd16a89d5b2 Reviewed-by: Janne Heikki Partala <janne.partala@bitfactor.fi> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'examples/serialbus/can/mainwindow.ui')
-rw-r--r--examples/serialbus/can/mainwindow.ui76
1 files changed, 46 insertions, 30 deletions
diff --git a/examples/serialbus/can/mainwindow.ui b/examples/serialbus/can/mainwindow.ui
index adba33a..fe32841 100644
--- a/examples/serialbus/can/mainwindow.ui
+++ b/examples/serialbus/can/mainwindow.ui
@@ -27,7 +27,7 @@
<widget class="QPushButton" name="sendButton">
<property name="geometry">
<rect>
- <x>40</x>
+ <x>190</x>
<y>130</y>
<width>191</width>
<height>61</height>
@@ -86,7 +86,7 @@
<widget class="QCheckBox" name="EFF">
<property name="geometry">
<rect>
- <x>40</x>
+ <x>320</x>
<y>100</y>
<width>97</width>
<height>22</height>
@@ -96,19 +96,6 @@
<string>EFF</string>
</property>
</widget>
- <widget class="QCheckBox" name="RTR">
- <property name="geometry">
- <rect>
- <x>170</x>
- <y>100</y>
- <width>97</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>RTR</string>
- </property>
- </widget>
<widget class="QListWidget" name="requestList">
<property name="geometry">
<rect>
@@ -171,7 +158,7 @@
<widget class="QCheckBox" name="fdBox">
<property name="geometry">
<rect>
- <x>280</x>
+ <x>190</x>
<y>100</y>
<width>161</width>
<height>22</height>
@@ -181,19 +168,6 @@
<string>Flexible Data-Rate</string>
</property>
</widget>
- <widget class="QCheckBox" name="ERR">
- <property name="geometry">
- <rect>
- <x>440</x>
- <y>100</y>
- <width>97</width>
- <height>22</height>
- </rect>
- </property>
- <property name="text">
- <string>ERR</string>
- </property>
- </widget>
<widget class="QPushButton" name="connectButton">
<property name="geometry">
<rect>
@@ -266,6 +240,48 @@
<string>Plugin</string>
</property>
</widget>
+ <widget class="QGroupBox" name="groupBox">
+ <property name="geometry">
+ <rect>
+ <x>40</x>
+ <y>80</y>
+ <width>141</width>
+ <height>111</height>
+ </rect>
+ </property>
+ <property name="title">
+ <string>Frame Type</string>
+ </property>
+ <property name="checkable">
+ <bool>false</bool>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QRadioButton" name="dataFrame">
+ <property name="text">
+ <string>Data</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="remoteFrame">
+ <property name="text">
+ <string>Remote Request</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QRadioButton" name="errorFrame">
+ <property name="text">
+ <string>Error</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
@@ -273,7 +289,7 @@
<x>0</x>
<y>0</y>
<width>1254</width>
- <height>25</height>
+ <height>20</height>
</rect>
</property>
</widget>