Phonon  4.7.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Public Slots | Public Member Functions | Protected Attributes | Properties | List of all members
Phonon::SeekSlider Class Reference

Widget providing a slider for seeking in MediaObject objects. More...

#include <phonon/SeekSlider>

Inheritance diagram for Phonon::SeekSlider:

Public Slots

void setOrientation (Qt::Orientation)
 
void setIconVisible (bool)
 
void setIconSize (const QSize &size)
 
void setMediaObject (MediaObject *)
 

Public Member Functions

 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
 
MediaObjectmediaObject () const
 

Protected Attributes

SeekSliderPrivate *const k_ptr
 

Properties

bool iconVisible
 
bool tracking
 
int pageStep
 
int singleStep
 
Qt::Orientation orientation
 
QSize iconSize
 the icon size used for the mute button/icon. More...
 

Detailed Description

Widget providing a slider for seeking in MediaObject objects.

Author
Matthias Kretz kretz.nosp@m.@kde.nosp@m..org

Constructor & Destructor Documentation

Phonon::SeekSlider::SeekSlider ( QWidget *  parent = 0)
explicit

Constructs a seek slider widget with the given parent.

Phonon::SeekSlider::~SeekSlider ( )

Destroys the seek slider.

Member Function Documentation

void Phonon::SeekSlider::setMediaObject ( MediaObject media)
slot

Sets the media object to be controlled by this slider.

Property Documentation

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: