1
#ifndef INTERACTIVEBUTTON
2
#define INTERACTIVEBUTTON
6
class InteractiveButton : public QPushButton
10
InteractiveButton(QWidget* parent = 0);
13
virtual void enterEvent(QEvent* event);
14
virtual void leaveEvent(QEvent* event);
17
void mouseOver(bool state);
18
// this one is specific for the VDPRegViewer and depends on the
19
// name of the button also
20
void newBitValue(int reg, int bit, bool state);
23
void highlight(bool state);
24
void mustBeSet(bool state);
27
// this one is specific for the VDPRegViewer
28
void newBitValueSlot(bool);
37
#endif // INTERACTIVEBUTTON