#include <QtWidgets>
-class RefineSearchButton : public QPushButton
-{
+class RefineSearchButton : public QPushButton {
Q_OBJECT
public:
RefineSearchButton(QWidget *parent = 0);
void paintEvent(QPaintEvent *);
void enterEvent(QEvent *);
void leaveEvent(QEvent *);
-
+
private:
- void paintBackground() const;
bool hovered;
-
};
#endif // REFINESEARCHBUTTON_H