22 #ifndef SCROLLPOPUPBUTTON_H
23 #define SCROLLPOPUPBUTTON_H
25 #include <QtGui/QPushButton>
26 #include <tulip/tulipconf.h>
29 class TLP_QT_SCOPE ScrollPopupButton :
public QPushButton {
31 Q_PROPERTY(
int value READ value WRITE setValue)
32 Q_PROPERTY(
int minimum READ minimum WRITE setMinimum)
33 Q_PROPERTY(
int maximum READ maximum WRITE setMaximum)
38 explicit ScrollPopupButton(QWidget *parent = 0);
44 virtual void showPopup();
45 virtual void hidePopup();
46 void setPopupVisible(
bool);
52 void valueChanged(
int);
55 bool eventFilter(QObject *, QEvent *);
58 #endif // SCROLLPOPUPBUTTON_H