#include <QWidget>
#include <QFrame>
-class QSpinBox;
class QFrame;
#ifdef Q_WS_X11
#include <X11/Xlib.h>
public:
/** @brief Sets up the widget. */
- ColorPickerWidget(QWidget *parent = 0);
+ explicit ColorPickerWidget(QWidget *parent = 0);
/** @brief Makes sure the event filter is removed. */
virtual ~ColorPickerWidget();
void slotGetAverageColor();
signals:
- void colorPicked(QColor);
+ void colorPicked(const QColor&);
void displayMessage(const QString&, int);
/** @brief When user wants to pick a color, it's better to disable filter so we get proper color values. */
void disableCurrentFilter(bool);