rename the value changed signal to ui_changed
This commit is contained in:
2026-02-14 14:31:06 +01:00
parent 24f7aa981e
commit 59c2303ce0
12 changed files with 38 additions and 38 deletions
+4 -4
View File
@@ -27,7 +27,7 @@ void UI_can::add_send_message(QCanBusFrame msg)
CanFrame frame(msg.frameId(), (uint8_t)msg.payload().size(),
ByteArrayToStdArray<std::array<uint8_t, 8>>(msg.payload()));
m_can_send_messages.push_back(frame);
emit value_changed();
emit ui_changed();
}
void UI_can::add_received_message(QCanBusFrame msg)
@@ -35,19 +35,19 @@ void UI_can::add_received_message(QCanBusFrame msg)
CanFrame frame(msg.frameId(), (uint8_t)msg.payload().size(),
ByteArrayToStdArray<std::array<uint8_t, 8>>(msg.payload()));
m_can_received_messages.push_back(frame);
emit value_changed();
emit ui_changed();
}
void UI_can::clear_send_buffer()
{
m_can_send_messages.clear();
emit value_changed();
emit ui_changed();
}
void UI_can::clear_receive_buffer()
{
m_can_received_messages.clear();
emit value_changed();
emit ui_changed();
}
void UI_can::can_clear()