1 /* 2 For general Scribus (>=1.3.2) copyright and licensing information please refer 3 to the COPYING file provided with the program. Following this notice may exist 4 a copyright and/or license notice that predates the release of Scribus 1.3.2 5 for which a new license (GPL+exception) is in place. 6 */ 7 8 #ifndef SCCOLORSLIDER_H 9 #define SCCOLORSLIDER_H 10 11 #include <QSlider> 12 #include "scribusapi.h" 13 14 class QPaintEvent; 15 class QWidget; 16 17 class SCRIBUS_API ScColorSlider : public QSlider 18 { 19 Q_OBJECT 20 21 public: 22 ScColorSlider(QWidget* parent = nullptr); 23 24 virtual void paintEvent(QPaintEvent * p); 25 }; 26 27 #endif 28