38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
41 #include <QtWidgets/QWidget>
A widget for selecting a color.
Definition: ColorSelector.h:62
const QColor & getColor()
Returns the selected color.
QSize sizeHint() const override
Qt size hint.
void mousePressEvent(QMouseEvent *e) override
QColor color_
Definition: ColorSelector.h:86
~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:48