KPlayerSlider Class Reference
KPlayer's slider widget. More...
#include <kplayerslideraction.h>
Signals | |
| void | changed (int) |
| Emitted when the slider value changes. | |
Public Member Functions | |
| KPlayerSlider (Qt::Orientation, QWidget *parent=0, const char *name=0) | |
| The KPlayerSlider constructor. | |
| virtual | ~KPlayerSlider () |
| The KPlayerSlider destructor. | |
| virtual QSize | sizeHint () const |
| The size hint. | |
| virtual QSize | minimumSizeHint () const |
| The minimum size hint. | |
| int | minValue (void) const |
| The minimum value. | |
| void | setMinValue (int) |
| Sets the minimum value. | |
| int | maxValue (void) const |
| The maximum value. | |
| void | setMaxValue (int) |
| Sets the maximum value. | |
| int | lineStep (void) const |
| The line step. | |
| void | setLineStep (int) |
| Sets the line step. | |
| int | pageStep (void) const |
| The page step. | |
| void | setPageStep (int) |
| Sets the page step. | |
| int | value (void) const |
| The current value. | |
| void | setValue (int, int=0) |
| Sets the current value. | |
| void | setup (int minValue, int maxValue, int value, int pageStep, int lineStep=1) |
| Sets up the slider by setting five options in one go. | |
| virtual void | setOrientation (Qt::Orientation) |
| Sets the slider orientation. | |
Protected Slots | |
| void | sliderValueChanged (int) |
| Receives the valueChanged signal from QSlider. | |
Protected Attributes | |
| bool | m_changing_orientation |
Friends | |
| class | KPlayerSliderAction |
| class | KPlayerPopupSliderAction |
Detailed Description
KPlayer's slider widget.Works around the Qt upside-down slider bug. Taken from kplayer CVS 2003-09-21 (kplayer > 0.3.1) by Jonathan Riddell
- Author:
- kiriuja
Definition at line 26 of file kplayerslideraction.h.
Constructor & Destructor Documentation
|
||||||||||||||||
|
The KPlayerSlider constructor. Parameters are passed on to QSlider. Definition at line 267 of file kplayerslideraction.cpp. References sliderValueChanged(). |
|
|
The KPlayerSlider destructor. Does nothing. Definition at line 276 of file kplayerslideraction.cpp. |
Member Function Documentation
|
|
The size hint.
Definition at line 281 of file kplayerslideraction.cpp. |
|
|
The minimum size hint.
Definition at line 299 of file kplayerslideraction.cpp. |
|
|
The minimum value.
Definition at line 333 of file kplayerslideraction.cpp. Referenced by setOrientation(). |
|
|
Sets the minimum value.
Definition at line 340 of file kplayerslideraction.cpp. Referenced by setup(). |
|
|
The maximum value.
Definition at line 348 of file kplayerslideraction.cpp. Referenced by setOrientation(). |
|
|
Sets the maximum value.
Definition at line 355 of file kplayerslideraction.cpp. Referenced by setup(). |
|
|
The line step.
Definition at line 363 of file kplayerslideraction.cpp. |
|
|
Sets the line step.
Definition at line 368 of file kplayerslideraction.cpp. Referenced by setup(). |
|
|
The page step.
Definition at line 373 of file kplayerslideraction.cpp. |
|
|
Sets the page step.
Definition at line 378 of file kplayerslideraction.cpp. Referenced by setup(). |
|
|
The current value.
Definition at line 384 of file kplayerslideraction.cpp. Referenced by setOrientation(), and sliderValueChanged(). |
|
||||||||||||
|
Sets the current value. The extra parameter prevents overriding of the virtual QSlider::setValue. Definition at line 391 of file kplayerslideraction.cpp. Referenced by setup(). |
|
||||||||||||||||||||||||
|
Sets up the slider by setting five options in one go.
Definition at line 399 of file kplayerslideraction.cpp. References setLineStep(), setMaxValue(), setMinValue(), setPageStep(), and setValue(). |
|
|
Sets the slider orientation.
Definition at line 318 of file kplayerslideraction.cpp. References maxValue(), minValue(), and value(). |
|
|
Emitted when the slider value changes.
Referenced by sliderValueChanged(). |
|
|
Receives the valueChanged signal from QSlider.
Definition at line 408 of file kplayerslideraction.cpp. References changed(), and value(). Referenced by KPlayerSlider(). |
The documentation for this class was generated from the following files:
