You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
775 B
34 lines
775 B
#ifndef INCLUDE_BASICCHANNELSETTINGSWIDGET_H |
|
#define INCLUDE_BASICCHANNELSETTINGSWIDGET_H |
|
|
|
#include <QWidget> |
|
#include "util/export.h" |
|
|
|
namespace Ui { |
|
class BasicChannelSettingsWidget; |
|
} |
|
|
|
class ChannelMarker; |
|
|
|
class SDRANGEL_API 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
|
|
|