2014-05-18 11:52:39 -04:00
|
|
|
#ifndef INCLUDE_BASICCHANNELSETTINGSWIDGET_H
|
|
|
|
#define INCLUDE_BASICCHANNELSETTINGSWIDGET_H
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
#include "util/export.h"
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class BasicChannelSettingsWidget;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ChannelMarker;
|
|
|
|
|
2015-08-29 19:26:51 -04:00
|
|
|
class SDRANGEL_API BasicChannelSettingsWidget : public QWidget {
|
2014-05-18 11:52:39 -04:00
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit BasicChannelSettingsWidget(ChannelMarker* marker, QWidget* parent = NULL);
|
|
|
|
~BasicChannelSettingsWidget();
|
2017-08-23 17:43:11 -04:00
|
|
|
void setUDPDialogVisible(bool visible);
|
2014-05-18 11:52:39 -04:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_title_textChanged(const QString& text);
|
|
|
|
void on_colorBtn_clicked();
|
2017-08-23 17:43:11 -04:00
|
|
|
void on_address_textEdited(const QString& arg1);
|
|
|
|
void on_port_textEdited(const QString& arg1);
|
2014-05-18 11:52:39 -04:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::BasicChannelSettingsWidget* ui;
|
|
|
|
ChannelMarker* m_channelMarker;
|
|
|
|
|
|
|
|
void paintColor();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INCLUDE_BASICCHANNELSETTINGSWIDGET_H
|