DAS_2023_1/alexandrov_dmitrii_lab_4/publisher_app/mainwindow.h

32 lines
491 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QTimer>
#include "clientRBcpp/client_cpp.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private:
Ui::MainWindow *ui;
Sender *sender;
ProduceMessage pm;
QTimer *tm;
int counter;
private slots:
void send_msg();
};
#endif // MAINWINDOW_H