summaryrefslogtreecommitdiffstats
path: root/include/gui/basicchannelsettingswidget.h
blob: 072cda108020d7f2462025d815c9ab22d74cb352 (plain)
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
#ifndef INCLUDE_BASICCHANNELSETTINGSWIDGET_H
#define INCLUDE_BASICCHANNELSETTINGSWIDGET_H

#include <QWidget>

namespace Ui {
	class BasicChannelSettingsWidget;
}

class ChannelMarker;

class BasicChannelSettingsWidget : public QWidget {
	Q_OBJECT

public:
	explicit BasicChannelSettingsWidget(ChannelMarker* marker, QWidget* parent = NULL);
	~BasicChannelSettingsWidget();

private slots:
	void on_title_textChanged(const QString& text);
	void on_colorBtn_clicked();
	void on_red_valueChanged(int value);
	void on_green_valueChanged(int value);
	void on_blue_valueChanged(int value);

private:
	Ui::BasicChannelSettingsWidget* ui;
	ChannelMarker* m_channelMarker;

	void paintColor();
};

#endif // INCLUDE_BASICCHANNELSETTINGSWIDGET_H