Коммит b2a2716a создал по автору Коул Милена Ричардовна's avatar Коул Милена Ричардовна
Просмотр файлов

add Stop button to bluetooth mode

владелец 20f630cf
......@@ -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);
......
......@@ -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.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать