summaryrefslogtreecommitdiff
path: root/libqtaux/ocolorbutton.h
Side-by-side diff
Diffstat (limited to 'libqtaux/ocolorbutton.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libqtaux/ocolorbutton.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libqtaux/ocolorbutton.h b/libqtaux/ocolorbutton.h
index ca68f1f..10b77d5 100644
--- a/libqtaux/ocolorbutton.h
+++ b/libqtaux/ocolorbutton.h
@@ -51,12 +51,15 @@ class OColorButton : public QPushButton
Q_OBJECT
public:
OColorButton ( QWidget *parent = 0, const QColor & = black, const char *name = 0 );
virtual ~OColorButton ( );
QColor color ( ) const;
+
+protected:
+ void resizeEvent( QResizeEvent* );
signals:
/**
* emitted when a color gets selected
*/
void colorSelected ( const QColor & );