#include <Plasma/Widgets/SpinBox>
Provides a plasma-themed KIntSpinBox.
Definition at line 40 of file spinbox.h.
Plasma::SpinBox::~SpinBox |
( |
| ) |
|
void Plasma::SpinBox::changeEvent |
( |
QEvent * |
event | ) |
|
|
protected |
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.
void Plasma::SpinBox::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
protected |
void Plasma::SpinBox::hoverEnterEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protected |
void Plasma::SpinBox::hoverLeaveEvent |
( |
QGraphicsSceneHoverEvent * |
event | ) |
|
|
protected |
int Plasma::SpinBox::maximum |
( |
| ) |
const |
int Plasma::SpinBox::minimum |
( |
| ) |
const |
void Plasma::SpinBox::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
event | ) |
|
|
protected |
KIntSpinBox* Plasma::SpinBox::nativeWidget |
( |
| ) |
const |
- Returns
- the native widget wrapped by this SpinBox
void Plasma::SpinBox::resizeEvent |
( |
QGraphicsSceneResizeEvent * |
event | ) |
|
|
protected |
void Plasma::SpinBox::setMaximum |
( |
int |
maximum | ) |
|
|
slot |
Sets the maximum value the slider can take.
Definition at line 99 of file spinbox.cpp.
void Plasma::SpinBox::setMinimum |
( |
int |
minimum | ) |
|
|
slot |
Sets the minimum value the slider can take.
Definition at line 109 of file spinbox.cpp.
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.
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.
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.
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.
QString Plasma::SpinBox::styleSheet |
( |
| ) |
|
- Returns
- the stylesheet currently used with this widget
int Plasma::SpinBox::value |
( |
| ) |
const |
void Plasma::SpinBox::valueChanged |
( |
int |
value | ) |
|
|
signal |
This signal is emitted when the slider value has changed, with the new slider value as argument.
int Plasma::SpinBox::maximum |
|
readwrite |
int Plasma::SpinBox::minimum |
|
readwrite |
KIntSpinBox * Plasma::SpinBox::nativeWidget |
|
read |
QString Plasma::SpinBox::styleSheet |
|
readwrite |
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:35 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.