pull/32/head
pvqf6mep3 3 years ago
commit 3fb4b8a161

@ -230,6 +230,14 @@ void MainWindow::connections(){
QObject::connect(ui->btn_ugv, &QPushButton::clicked, this, [=](){
ui->stackedWidget_main->setCurrentIndex(2);
});
QObject::connect(ui->btn_system, &QPushButton::clicked, this, [=](){
ui->stackedWidget_ros_control->setCurrentIndex(1);
});
QObject::connect(ui->btn_keyboard, &QPushButton::clicked, this, [=](){
ui->stackedWidget_ros_control->setCurrentIndex(0);
});
/*
*
*/

@ -54,7 +54,7 @@
</widget>
</widget>
<widget class="QWidget" name="UGVWidget">
<widget class="QWidget" name="">
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>1000</x>
@ -66,6 +66,9 @@
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QStackedWidget" name="stackedWidget_ros_control">
<property name="currentIndex">
<number>1</number>
</property>
<widget class="QWidget" name="keyboard_control">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
@ -552,7 +555,49 @@ QPushButton:pressed{border-image: url(://images/down_2.png);}</string>
</item>
</layout>
</widget>
<widget class="QWidget" name="system_control"/>
<widget class="QWidget" name="system_control">
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QLabel" name="label_3">
<property name="minimumSize">
<size>
<width>0</width>
<height>221</height>
</size>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item>
<widget class="QListView" name="view_logging">
<property name="minimumSize">
<size>
<width>300</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>12312312</width>
<height>12312312</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">QListView{
border-top: 5px solid qlineargradient(y0:0, y1:1,stop: 0 #ececef, stop: 1 white);
border-left: 5px solid qlineargradient(x0:0, x1:1,stop: 0 #ececef, stop: 1 white);
border-bottom: 5px solid qlineargradient(y0:0, y1:1,stop: 0 white, stop: 1 #ececef);
border-right: 5px solid qlineargradient(x0:0, x1:1,stop: 0 white, stop: 1 #ececef);
background-color: rgb(255,255,255);
}
</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
@ -577,7 +622,7 @@ QPushButton:pressed{border-image: url(://images/down_2.png);}</string>
</spacer>
</item>
<item>
<widget class="QPushButton" name="pushButton">
<widget class="QPushButton" name="btn_system">
<property name="minimumSize">
<size>
<width>0</width>
@ -590,7 +635,7 @@ QPushButton:pressed{border-image: url(://images/down_2.png);}</string>
</widget>
</item>
<item>
<widget class="QPushButton" name="pushButton_2">
<widget class="QPushButton" name="btn_keyboard">
<property name="minimumSize">
<size>
<width>0</width>

Loading…
Cancel
Save