CCIMXDesktop
Loading...
Searching...
No Matches
ColorSelectWidget.h
1
#ifndef COLORSELECTWIDGET_H
2
#define COLORSELECTWIDGET_H
3
9
#include <QWidget>
10
#include <QColor>
11
12
namespace
Ui {
16
class
ColorSelectWidget
;
17
}
18
25
class
ColorSelectWidget
:
public
QWidget {
26
Q_OBJECT
27
28
public
:
33
explicit
ColorSelectWidget
(QWidget* parent =
nullptr
);
34
38
~ColorSelectWidget
();
39
40
signals:
45
void
colorSelected
(
const
QColor& color);
46
47
protected
:
52
void
processSelectedColor
(
const
QColor& color);
53
54
private
:
58
Ui::ColorSelectWidget* ui;
59
63
QColor selectedColor;
64
};
65
66
#endif
// COLORSELECTWIDGET_H
ColorSelectWidget
A widget that allows users to select a color.
Definition
ColorSelectWidget.h:25
ColorSelectWidget::colorSelected
void colorSelected(const QColor &color)
Emitted when the user selects a color.
ColorSelectWidget::processSelectedColor
void processSelectedColor(const QColor &color)
Processes the selected color internally.
Definition
ColorSelectWidget.cpp:24
ColorSelectWidget::~ColorSelectWidget
~ColorSelectWidget()
Destructor.
Definition
ColorSelectWidget.cpp:20
builtin
ui
ColorSelectWidget.h
Generated by
1.9.8