#include <Plasma/Widgets/SpinBox>
List of all members.
Detailed Description
Provides a plasma-themed KIntSpinBox.
Definition at line 40 of file spinbox.h.
Constructor & Destructor Documentation
Plasma::SpinBox::~SpinBox |
( |
| ) |
|
Member Function Documentation
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 |
- Returns:
- the maximum value
int Plasma::SpinBox::minimum |
( |
| ) |
const |
- Returns:
- the minimum value
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 |
- Returns:
- the current value
void Plasma::SpinBox::valueChanged |
( |
int |
value | ) |
|
|
signal |
This signal is emitted when the slider value has changed, with the new slider value as argument.
Property Documentation
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-2013 The KDE developers.
Generated on Sat Jun 1 2013 12:06:12 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.