#include <Plasma/Widgets/SpinBox>
Provides a plasma-themed KIntSpinBox.
Definition at line 40 of file spinbox.h.
◆ SpinBox()
◆ ~SpinBox()
Plasma::SpinBox::~SpinBox |
( |
| ) |
|
◆ changeEvent()
void Plasma::SpinBox::changeEvent |
( |
QEvent * |
event | ) |
|
|
protected |
◆ editingFinished
void Plasma::SpinBox::editingFinished |
( |
| ) |
|
|
signal |
This signal is emitted when editing is finished.
This happens when the spinbox loses focus and when enter is pressed.
◆ focusOutEvent()
void Plasma::SpinBox::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
protected |
◆ hoverEnterEvent()
void Plasma::SpinBox::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protected |
◆ hoverLeaveEvent()
void Plasma::SpinBox::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protected |
◆ maximum()
int Plasma::SpinBox::maximum |
( |
| ) |
const |
◆ minimum()
int Plasma::SpinBox::minimum |
( |
| ) |
const |
◆ mousePressEvent()
void Plasma::SpinBox::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
protected |
◆ nativeWidget()
KIntSpinBox * Plasma::SpinBox::nativeWidget |
( |
| ) |
const |
◆ paint()
◆ resizeEvent()
void Plasma::SpinBox::resizeEvent |
( |
QGraphicsSceneResizeEvent * |
event | ) |
|
|
protected |
◆ setMaximum
void Plasma::SpinBox::setMaximum |
( |
int |
maximum | ) |
|
|
slot |
Sets the maximum value the slider can take.
Definition at line 99 of file spinbox.cpp.
◆ setMinimum
void Plasma::SpinBox::setMinimum |
( |
int |
minimum | ) |
|
|
slot |
Sets the minimum value the slider can take.
Definition at line 109 of file spinbox.cpp.
◆ setRange
void Plasma::SpinBox::setRange |
( |
int |
minimum, |
|
|
int |
maximum |
|
) |
| |
|
slot |
Sets the minimum and maximum values the slider can take.
Definition at line 119 of file spinbox.cpp.
◆ setStyleSheet()
void Plasma::SpinBox::setStyleSheet |
( |
const QString & |
stylesheet | ) |
|
Sets the stylesheet used to control the visual display of this SpinBox.
- Parameters
-
Definition at line 134 of file spinbox.cpp.
◆ setValue
void Plasma::SpinBox::setValue |
( |
int |
value | ) |
|
|
slot |
Sets the value of the slider.
If it is outside the range specified by minimum() and maximum(), it will be adjusted to fit.
Definition at line 124 of file spinbox.cpp.
◆ sliderMoved
void Plasma::SpinBox::sliderMoved |
( |
int |
value | ) |
|
|
signal |
This signal is emitted when the user drags the slider.
In fact, it is emitted whenever the sliderMoved(int) signal of KIntSpinBox would be emitted. See the Qt documentation for more information.
◆ styleSheet()
QString Plasma::SpinBox::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
◆ value()
int Plasma::SpinBox::value |
( |
| ) |
const |
◆ valueChanged
void Plasma::SpinBox::valueChanged |
( |
int |
value | ) |
|
|
signal |
This signal is emitted when the slider value has changed, with the new slider value as argument.
◆ maximum
int Plasma::SpinBox::maximum |
|
readwrite |
◆ minimum
int Plasma::SpinBox::minimum |
|
readwrite |
◆ nativeWidget
KIntSpinBox * Plasma::SpinBox::nativeWidget |
|
read |
◆ parentWidget
◆ styleSheet
QString Plasma::SpinBox::styleSheet |
|
readwrite |
◆ value
int Plasma::SpinBox::value |
|
readwrite |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.