1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-08 17:46:03 -05:00
sdrangel/sdrgui/gui/basicchannelsettingswidget.h

37 lines
869 B
C
Raw Normal View History

#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 {
Q_OBJECT
public:
explicit BasicChannelSettingsWidget(ChannelMarker* marker, QWidget* parent = NULL);
~BasicChannelSettingsWidget();
void setUDPDialogVisible(bool visible);
2017-10-20 15:19:42 -04:00
bool getHasChanged() const { return m_hasChanged; }
private slots:
void on_title_textChanged(const QString& text);
void on_colorBtn_clicked();
void on_address_textEdited(const QString& arg1);
void on_port_textEdited(const QString& arg1);
private:
Ui::BasicChannelSettingsWidget* ui;
ChannelMarker* m_channelMarker;
2017-10-20 15:19:42 -04:00
bool m_hasChanged;
void paintColor();
};
#endif // INCLUDE_BASICCHANNELSETTINGSWIDGET_H