Widget providing a slider for seeking in MediaObject objects.
Definition at line 48 of file seekslider.h.
#include <Phonon/SeekSlider>

Public Slots |
|
| void | setOrientation (Qt::Orientation) |
| void | setIconVisible (bool) |
| void | setIconSize (const QSize &size) |
| void | setMediaObject (MediaObject *) |
| Sets the media object to be controlled by
this slider. |
|
Public Member Functions |
|
| SeekSlider (QWidget *parent=0) | |
Constructs a seek slider widget with the
given parent. |
|
| SeekSlider (MediaObject *media, QWidget *parent=0) | |
| ~SeekSlider () | |
| Destroys the seek slider. |
|
| 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 |
Protected Attributes |
|
| SeekSliderPrivate *const | k_ptr |
Properties |
|
| bool | iconVisible |
| This property holds whether the icon next to
the slider is visible. |
|
| bool | tracking |
| This property holds whether slider tracking
is enabled. |
|
| int | pageStep |
| This property holds the page step. |
|
| int | singleStep |
| This property holds the single step.
|
|
| Qt::Orientation | orientation |
| This property holds the orientation of the
slider. |
|
| QSize | iconSize |
| the icon size used for the mute button/icon.
|
|
| SeekSlider | ( | QWidget * | parent = 0 |
) | [explicit] |
Constructs a seek slider widget with the given
parent.
| SeekSlider | ( | MediaObject * | media, |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
| ~SeekSlider | ( | ) |
Destroys the seek slider.
| 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 |
| void setOrientation | ( | Qt::Orientation | ) | [slot] |
| void setIconVisible | ( | bool | ) | [slot] |
| void setIconSize | ( | const QSize & | size | ) | [slot] |
| void setMediaObject | ( | MediaObject * | ) | [slot] |
Sets the media object to be controlled by this slider.
SeekSliderPrivate* const
k_ptr [protected] |
Definition at line 138 of file seekslider.h.
bool iconVisible [read,
write] |
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.
Definition at line 58 of file seekslider.h.
bool tracking [read, write] |
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.
Definition at line 68 of file seekslider.h.
int pageStep [read, write] |
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.
Definition at line 78 of file seekslider.h.
int singleStep [read, write] |
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.
Definition at line 88 of file seekslider.h.
Qt::Orientation
orientation [read, write] |
This property holds the orientation of the slider.
The orientation must be Qt::Vertical or Qt::Horizontal (the default).
Definition at line 95 of file seekslider.h.
QSize iconSize [read,
write] |
the icon size used for the mute button/icon.
The default size is defined by the GUI style.
Definition at line 102 of file seekslider.h.