1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-23 16:38:37 -05:00
sdrangel/sdrgui/gui/basicchannelsettingsdialog.h

37 lines
720 B
C
Raw Normal View History

#ifndef BASICCHANNELSETTINGSDIALOG_H
#define BASICCHANNELSETTINGSDIALOG_H
#include <QDialog>
2018-03-03 14:23:38 -05:00
#include "util/export.h"
namespace Ui {
class BasicChannelSettingsDialog;
}
class ChannelMarker;
2018-03-03 14:23:38 -05:00
class SDRGUI_API BasicChannelSettingsDialog : public QDialog
{
Q_OBJECT
public:
explicit BasicChannelSettingsDialog(ChannelMarker* marker, QWidget *parent = 0);
~BasicChannelSettingsDialog();
bool hasChanged() const { return m_hasChanged; }
private slots:
void on_colorBtn_clicked();
void accept();
private:
Ui::BasicChannelSettingsDialog *ui;
ChannelMarker* m_channelMarker;
QColor m_color;
bool m_hasChanged;
void paintColor();
};
#endif // BASICCHANNELSETTINGSDIALOG_H