Открыть боковую панель
МОС
Исходные коды
devel
smartcar
Коммиты
b2a2716a
Коммит
b2a2716a
создал
Май 29, 2025
по автору
Коул Милена Ричардовна
Просмотр файлов
add Stop button to bluetooth mode
владелец
20f630cf
Изменения
2
Скрыть пробелы
Построчно
Рядом
forms/bluetoothmode.cpp
Просмотр файла @
b2a2716a
...
...
@@ -25,6 +25,7 @@ BluetoothMode::BluetoothMode(Vench *vench, QWidget *parent) :
connect
(
ui
->
BRight
,
&
QPushButton
::
released
,
m_vench
,
&
Vench
::
SendCommStop_ave_BT
);
connect
(
ui
->
BDown
,
&
QPushButton
::
pressed
,
m_vench
,
&
Vench
::
on_BDown_B_pressed
);
connect
(
ui
->
BDown
,
&
QPushButton
::
released
,
m_vench
,
&
Vench
::
SendCommStop_ave_BT
);
connect
(
ui
->
BStop
,
&
QPushButton
::
pressed
,
m_vench
,
&
Vench
::
SendCommStop_ave_BT
);
connect
(
ui
->
CommTextEdit
,
&
QLineEdit
::
returnPressed
,
this
,
&
BluetoothMode
::
RuchnCommClicked
);
connect
(
ui
->
BRuchnComm
,
&
QPushButton
::
clicked
,
this
,
&
BluetoothMode
::
RuchnCommClicked
);
...
...
forms/bluetoothmode.ui
Просмотр файла @
b2a2716a
...
...
@@ -312,6 +312,25 @@
</property>
</widget>
</item>
<item
row=
"1"
column=
"2"
>
<widget
class=
"QPushButton"
name=
"BStop"
>
<property
name=
"sizePolicy"
>
<sizepolicy
hsizetype=
"Fixed"
vsizetype=
"Fixed"
>
<horstretch>
0
</horstretch>
<verstretch>
0
</verstretch>
</sizepolicy>
</property>
<property
name=
"minimumSize"
>
<size>
<width>
100
</width>
<height>
100
</height>
</size>
</property>
<property
name=
"text"
>
<string>
Стоп
</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать