12 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
15 #include <QtWidgets/QWidget>
A widget for selecting a color.
Definition: ColorSelector.h:36
const QColor & getColor()
Returns the selected color.
QSize sizeHint() const override
Qt size hint.
void mousePressEvent(QMouseEvent *e) override
QColor color_
Definition: ColorSelector.h:60
~ColorSelector() override
Destructor.
ColorSelector(QWidget *parent=nullptr)
Constructor.
void setColor(const QColor &)
Sets the selected color.
void paintEvent(QPaintEvent *e) override
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22