Plasma
spinbox.cpp
Go to the documentation of this file.
89 QRect controlrect = nativeWidget()->style()->subControlRect(QStyle::CC_SpinBox, &spinOpt, QStyle::SC_SpinBoxFrame, nativeWidget());
172 QRect controlrect = nativeWidget()->style()->subControlRect(QStyle::CC_SpinBox, &spinOpt, QStyle::SC_SpinBoxFrame, nativeWidget());
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: spinbox.cpp:167
void setStyleSheet(const QString &stylesheet)
Sets the stylesheet used to control the visual display of this SpinBox.
Definition: spinbox.cpp:134
QGraphicsWidget * parentWidget() const
void setStyleSheet(const QString &styleSheet)
int minimum() const
QString styleSheet()
int maximum() const
QGraphicsScene * scene() const
void update(const QRectF &rect)
void initFrom(const QWidget *widget)
virtual void resizeEvent(QGraphicsSceneResizeEvent *event)
virtual void changeEvent(QEvent *event)
void setRange(int minimum, int maximum)
Sets the minimum and maximum values the slider can take.
Definition: spinbox.cpp:119
void editingFinished()
This signal is emitted when editing is finished.
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: spinbox.cpp:187
bool sendEvent(QObject *receiver, QEvent *event)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition: spinbox.cpp:179
KIntSpinBox * nativeWidget() const
virtual void closeEvent(QCloseEvent *event)
virtual void focusOutEvent(QFocusEvent *event)
QWidget * widget() const
void valueChanged(int value)
This signal is emitted when the slider value has changed, with the new slider value as argument...
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
Definition: spinbox.cpp:161
virtual void mousePressEvent(QGraphicsSceneMouseEvent *event)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int value() const
void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: spinbox.cpp:155
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.