mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
Client doxygen
Add documentation to the client
This commit is contained in:
@@ -56,8 +56,9 @@ MainWindow::~MainWindow()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void MainWindow::setup_cb(void)
|
||||
void MainWindow::showEvent(QShowEvent *event)
|
||||
{
|
||||
QWidget::showEvent(event);
|
||||
connect(m_web_socket.get(), &Web_socket_wrapper::on_command_cb, this, [=, this](json &j) { on_cmd_cb(j); });
|
||||
connect(m_web_socket.get(), &Web_socket_wrapper::on_connected, this,
|
||||
[=, this] { m_web_socket->send_command(Web_socket_wrapper::Command::get_simulators); });
|
||||
@@ -67,12 +68,6 @@ void MainWindow::setup_cb(void)
|
||||
});
|
||||
}
|
||||
|
||||
void MainWindow::showEvent(QShowEvent *event)
|
||||
{
|
||||
QWidget::showEvent(event);
|
||||
setup_cb();
|
||||
}
|
||||
|
||||
void MainWindow::hideEvent(QHideEvent *event)
|
||||
{
|
||||
QWidget::hideEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user