Widget providing a slider for seeking in MediaObject objects.
More...
#include <phonon/SeekSlider>
|
void | setOrientation (Qt::Orientation) |
|
void | setIconVisible (bool) |
|
void | setIconSize (const QSize &size) |
|
void | setMediaObject (MediaObject *) |
|
|
| SeekSlider (QWidget *parent=0) |
|
| SeekSlider (MediaObject *media, QWidget *parent=0) |
|
| ~SeekSlider () |
|
bool | hasTracking () const |
|
void | setTracking (bool tracking) |
|
int | pageStep () const |
|
void | setPageStep (int milliseconds) |
|
int | singleStep () const |
|
void | setSingleStep (int milliseconds) |
|
Qt::Orientation | orientation () const |
|
bool | isIconVisible () const |
|
QSize | iconSize () const |
|
MediaObject * | mediaObject () const |
|
|
SeekSliderPrivate *const | k_ptr |
|
Widget providing a slider for seeking in MediaObject objects.
- Author
- Matthias Kretz kretz.nosp@m.@kde.nosp@m..org
Phonon::SeekSlider::SeekSlider |
( |
QWidget * |
parent = 0 ) | |
|
|
explicit |
Constructs a seek slider widget with the given parent
.
Phonon::SeekSlider::~SeekSlider |
( |
) | |
|
Destroys the seek slider.
void Phonon::SeekSlider::setMediaObject |
( |
MediaObject * |
media) | |
|
|
slot |
Sets the media object to be controlled by this slider.
QSize Phonon::SeekSlider::iconSize |
|
readwrite |
the icon size used for the mute button/icon.
The default size is defined by the GUI style.
bool Phonon::SeekSlider::iconVisible |
|
readwrite |
This property holds whether the icon next to the slider is visible.
By default the icon is visible if the platform provides an icon; else it's hidden.
Qt::Orientation Phonon::SeekSlider::orientation |
|
readwrite |
This property holds the orientation of the slider.
The orientation must be Qt::Vertical or Qt::Horizontal (the default).
int Phonon::SeekSlider::pageStep |
|
readwrite |
This property holds the page step.
The larger of two natural steps that a slider provides and typically corresponds to the user pressing PageUp or PageDown.
Defaults to 5 seconds.
int Phonon::SeekSlider::singleStep |
|
readwrite |
This property holds the single step.
The smaller of two natural steps that a slider provides and typically corresponds to the user pressing an arrow key.
Defaults to 0.5 seconds.
bool Phonon::SeekSlider::tracking |
|
readwrite |
This property holds whether slider tracking is enabled.
If tracking is enabled (the default), the media seeks while the slider is being dragged. If tracking is disabled, the media seeks only when the user releases the slider.
The documentation for this class was generated from the following files:
- /home/me/src/git/p/phonon/phonon/seekslider.h
- /home/me/src/git/p/phonon/phonon/seekslider.cpp