2017-08-23 20:05:48 -04:00
|
|
|
#ifndef BASICCHANNELSETTINGSDIALOG_H
|
|
|
|
#define BASICCHANNELSETTINGSDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class BasicChannelSettingsDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class ChannelMarker;
|
|
|
|
|
|
|
|
class BasicChannelSettingsDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit BasicChannelSettingsDialog(ChannelMarker* marker, QWidget *parent = 0);
|
|
|
|
~BasicChannelSettingsDialog();
|
2017-10-21 04:34:00 -04:00
|
|
|
bool hasChanged() const { return m_hasChanged; }
|
2017-08-23 20:05:48 -04:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_colorBtn_clicked();
|
|
|
|
void accept();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::BasicChannelSettingsDialog *ui;
|
|
|
|
ChannelMarker* m_channelMarker;
|
|
|
|
QColor m_color;
|
2017-10-21 04:34:00 -04:00
|
|
|
bool m_hasChanged;
|
2017-08-23 20:05:48 -04:00
|
|
|
|
|
|
|
void paintColor();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // BASICCHANNELSETTINGSDIALOG_H
|