2022-01-21 19:23:32 +00:00
|
|
|
#ifndef SELECTRADIO_H
|
|
|
|
#define SELECTRADIO_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include <QList>
|
|
|
|
#include <QtEndian>
|
|
|
|
#include <QHostInfo>
|
|
|
|
#include "packettypes.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class selectRadio;
|
|
|
|
}
|
|
|
|
|
|
|
|
class selectRadio : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit selectRadio(QWidget* parent = 0);
|
|
|
|
~selectRadio();
|
|
|
|
void populate(QList<radio_cap_packet> radios);
|
2022-01-22 15:12:36 +00:00
|
|
|
void audioOutputLevel(quint16 level);
|
|
|
|
void audioInputLevel(quint16 level);
|
2022-01-21 19:23:32 +00:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
void on_table_cellClicked(int row, int col);
|
2023-12-18 15:48:17 +00:00
|
|
|
void setInUse(quint8 radio, bool admin, quint8 busy, QString user, QString ip);
|
2022-01-21 23:58:18 +00:00
|
|
|
void on_cancelButton_clicked();
|
2022-01-21 19:23:32 +00:00
|
|
|
|
|
|
|
signals:
|
2022-01-23 17:54:40 +00:00
|
|
|
void selectedRadio(quint8 radio);
|
2022-01-21 19:23:32 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::selectRadio* ui;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SELECTRADIO_H
|