- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Slots | Public Member Functions | Protected Attributes | Properties

# SeekSlider Class Reference

Search for all occurrences

## Detailed Description

Widget providing a slider for seeking in MediaObject objects.

Author:
  Matthias Kretz <kretz@kde.org>

Definition at line 48 of file seekslider.h.

`#include <Phonon/SeekSlider>`

Inheritance diagram for SeekSlider:
[legend]

List of all members.

## 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.

## Constructor & Destructor Documentation

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.

## Member Function Documentation

bool hasTracking | ( |  | ) | const

Search for all occurrences

void setTracking | ( | bool | tracking | ) |

Search for all occurrences

int pageStep | ( |  | ) | const

Search for all occurrences

void setPageStep | ( | int | milliseconds | ) |

Search for all occurrences

int singleStep | ( |  | ) | const

Search for all occurrences

void setSingleStep | ( | int | milliseconds | ) |

Search for all occurrences

Qt::Orientation orientation | ( |  | ) | const

Search for all occurrences

bool isIconVisible | ( |  | ) | const

Search for all occurrences

QSize iconSize | ( |  | ) | const

Search for all occurrences

MediaObject* mediaObject | ( |  | ) | const

Search for all occurrences

void setOrientation | ( | Qt::Orientation |  | ) | `[slot]`

Search for all occurrences

void setIconVisible | ( | bool |  | ) | `[slot]`

Search for all occurrences

void setIconSize | ( | const QSize & | size | ) | `[slot]`

Search for all occurrences

void setMediaObject | ( | MediaObject * |  | ) | `[slot]`

Search for all occurrences

Sets the media object to be controlled by this slider.

## Member Data Documentation

SeekSliderPrivate* const k_ptr `[protected]`

Search for all occurrences

Definition at line 138 of file seekslider.h.

## Property Documentation

bool iconVisible `[read, write]`

Search for all occurrences

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]`

Search for all occurrences

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]`

Search for all occurrences

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]`

Search for all occurrences

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]`

Search for all occurrences

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]`

Search for all occurrences

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.

The documentation for this class was generated from the following file:

- phonon/seekslider.h

SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider
SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider SeekSlider