Plasma
Go to the documentation of this file.
21 #ifndef PLASMA_SPINBOX_H
22 #define PLASMA_SPINBOX_H
24 #include <QtGui/QGraphicsProxyWidget>
45 Q_PROPERTY(
int maximum READ maximum WRITE setMinimum)
46 Q_PROPERTY(
int minimum READ minimum WRITE setMinimum)
47 Q_PROPERTY(
int value READ value WRITE setValue NOTIFY valueChanged)
48 Q_PROPERTY(QString styleSheet READ styleSheet WRITE setStyleSheet)
49 Q_PROPERTY(KIntSpinBox *nativeWidget READ nativeWidget)
75 void setStyleSheet(
const QString &stylesheet);
85 KIntSpinBox *nativeWidget()
const;
88 void changeEvent(QEvent *event);
89 void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
90 void hoverLeaveEvent(QGraphicsSceneHoverEvent *event);
91 void resizeEvent(QGraphicsSceneResizeEvent *event);
93 void mousePressEvent(QGraphicsSceneMouseEvent *event);
94 void focusOutEvent(QFocusEvent *event);
100 void setMaximum(
int maximum);
105 void setMinimum(
int minimum);
110 void setRange(
int minimum,
int maximum);
118 void setValue(
int value);
143 Q_PRIVATE_SLOT(d,
void setPalette())
145 SpinBoxPrivate * const d;
150 #endif // multiple inclusion guard
Provides a plasma-themed KIntSpinBox.
Namespace for everything in libplasma.
void sliderMoved(int value)
This signal is emitted when the user drags the slider.
void valueChanged(int value)
This signal is emitted when the slider value has changed, with the new slider value as argument.
void editingFinished()
This signal is emitted when editing is finished.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.