From a6877fb4a3a150a7f131edfeb0eb96c7870808e7 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 31 Jan 2024 23:13:33 +0100 Subject: [PATCH] add the move event in the main --- main.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.cpp b/main.cpp index b16a95d..fd33bb0 100644 --- a/main.cpp +++ b/main.cpp @@ -18,6 +18,11 @@ int main(int argc, char* argv[]) { qInfo() << "deplier"; }); + MainWindow::connect(main, &MainWindow::moveRobot, [=](int x, int y, int theta) + { + qInfo() << "move" << x << y << theta; + }); + main->show(); return QApplication::exec();