diff options
Diffstat (limited to 'examples/serialbus/can/mainwindow.ui')
-rw-r--r-- | examples/serialbus/can/mainwindow.ui | 74 |
1 files changed, 38 insertions, 36 deletions
diff --git a/examples/serialbus/can/mainwindow.ui b/examples/serialbus/can/mainwindow.ui index 3db4218..3f74017 100644 --- a/examples/serialbus/can/mainwindow.ui +++ b/examples/serialbus/can/mainwindow.ui @@ -14,13 +14,13 @@ <string>CAN Example</string> </property> <widget class="QWidget" name="centralWidget"> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="0" column="0"> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> <widget class="QGroupBox" name="sendMessagesBox"> <property name="title"> <string>Send CAN message</string> </property> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> @@ -125,39 +125,41 @@ Otherwise, the standard format with 11 bit idenfier is used.</string> </layout> </widget> </item> - <item row="1" column="0"> - <layout class="QGridLayout" name="gridLayout_2"> - <item row="0" column="0"> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Messages</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Requests</string> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>Errors</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QListWidget" name="receiveList"/> - </item> - <item row="1" column="1"> - <widget class="QListWidget" name="requestList"/> - </item> - <item row="1" column="2"> - <widget class="QListWidget" name="errorList"/> - </item> - </layout> + <item> + <widget class="QGroupBox" name="receivedMessagesBox"> + <property name="title"> + <string>Received CAN messages</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <item> + <widget class="QLabel" name="label_3"> + <property name="font"> + <font> + <family>Courier</family> + </font> + </property> + <property name="text"> + <string>Timestamp CAN-ID DLC Data</string> + </property> + </widget> + </item> + <item> + <widget class="QTextEdit" name="receivedMessagesEdit"> + <property name="font"> + <font> + <family>Courier</family> + </font> + </property> + <property name="undoRedoEnabled"> + <bool>false</bool> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + </item> + </layout> + </widget> </item> </layout> </widget> |