wfview/selectradio.h

39 wiersze
733 B
C++

#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);
void audioOutputLevel(quint16 level);
void audioInputLevel(quint16 level);
public slots:
void on_table_cellClicked(int row, int col);
void setInUse(quint8 radio, quint8 busy, QString user, QString ip);
void on_cancelButton_clicked();
signals:
void selectedRadio(quint8 radio);
private:
Ui::selectRadio* ui;
};
#endif // SELECTRADIO_H