HP Views Designer Assistant: D:/Documentos/ViewDesignerAssistant/animatedtbutton.h Source File

| HP Views Designer Assistant 1.0.0 TFG - Alberto Gutierrez Perez - Universidad de Valladolid |

animatedtbutton.h
1 #ifndef ANIMATEDTBUTTON_H
2 #define ANIMATEDTBUTTON_H
3
4 #include <QEvent>
5 #include <QPushButton>
6 #include <QObject>
7
8
12 class AnimatedtButton : public QPushButton
13 {
14 Q_OBJECT
15 public:
20 AnimatedtButton(QWidget * parent = 0);
21
22 protected:
23
28 void enterEvent(QEvent *e);
29
34 void leaveEvent(QEvent *e);
35
36 private slots:
37
41 void resetStyle();
42
43 signals:
44
48 void backExit();
49
50 };
51 #endif // ANIMATEDTBUTTON_H
AnimatedtButton::backExit
void backExit()
backExit Signal emited when the cursor leaves the button.
AnimatedtButton::AnimatedtButton
AnimatedtButton(QWidget *parent=0)
AnimatedtButton constructor.
Definition: animatedtbutton.cpp:4
AnimatedtButton
The AnimatedtButton class.
Definition: animatedtbutton.h:12
AnimatedtButton::resetStyle
void resetStyle()
resetStyle Restore the default button stylesheet.
Definition: animatedtbutton.cpp:39
AnimatedtButton::leaveEvent
void leaveEvent(QEvent *e)
leaveEvent Mouse leave button event.
Definition: animatedtbutton.cpp:25
AnimatedtButton::enterEvent
void enterEvent(QEvent *e)
enterEvent Mouse enter button event.
Definition: animatedtbutton.cpp:10