File: selectradio.h

package info (click to toggle)
wfview 2.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,256 kB
  • sloc: cpp: 43,386; ansic: 3,196; sh: 32; xml: 29; makefile: 11
file content (44 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef SELECTRADIO_H
#define SELECTRADIO_H

#include <QDialog>
#include <QList>
#include <QtEndian>
#include <QHostInfo>

#include <qcustomplot.h>

#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);
    void addTimeDifference(qint64 time);

public slots:
    void on_table_cellClicked(int row, int col);
    void setInUse(quint8 radio, bool admin, quint8 busy, QString user, QString ip);
    void on_cancelButton_clicked();
    void spectrumTime(double time);
    void waterfallTime(double time);


signals:
    void selectedRadio(quint8 radio);

private:
    Ui::selectRadio* ui;
};

#endif // SELECTRADIO_H