Mercurial > hg > svgui
diff widgets/LEDButton.h @ 189:5b7472db612b
* Add large chunks of context help in the optional status bar
* Add an extra overlay mode in which even the centre frame is disabled
* Fixes to FTP retrieval
author | Chris Cannam |
---|---|
date | Fri, 19 Jan 2007 13:13:14 +0000 |
parents | 705f05ab42e3 |
children | f4960f8ce798 |
line wrap: on
line diff
--- a/widgets/LEDButton.h Fri Jan 12 21:52:56 2007 +0000 +++ b/widgets/LEDButton.h Fri Jan 19 13:13:14 2007 +0000 @@ -54,6 +54,9 @@ signals: void stateChanged(bool); + void mouseEntered(); + void mouseLeft(); + public slots: void toggle(); void on(); @@ -67,12 +70,12 @@ protected: void paintEvent(QPaintEvent *); void mousePressEvent(QMouseEvent *); + void enterEvent(QEvent *); + void leaveEvent(QEvent *); -private: bool led_state; QColor led_color; -private: class LEDButtonPrivate; LEDButtonPrivate *d; };