• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Phonon

Phonon::VolumeSlider

VolumeSlider Class Reference
[Widgets]

#include <Phonon/VolumeSlider>

Inheritance diagram for VolumeSlider:

Inheritance graph
[legend]

List of all members.


Detailed Description

Widget providing a slider to control the volume of an AudioOutput.

Author:
Matthias Kretz <kretz@kde.org>

Public Slots

void setAudioOutput (AudioOutput *)

Public Member Functions

 VolumeSlider (QWidget *parent=0)

Properties

qreal maximumVolume
Qt::Orientation orientation
bool tracking
int pageStep
int singleStep
bool muteVisible
QSize iconSize

Constructor & Destructor Documentation

VolumeSlider ( QWidget *  parent = 0  )  [explicit]

Constructs a new volume slider with a parent.


Member Function Documentation

void setAudioOutput ( AudioOutput *   )  [slot]

Sets the audio output object to be controlled by this slider.


Property Documentation

qreal maximumVolume [read, write]

This property holds the maximum volume that can be set with this slider.

By default the maximum value is 1.0 (100%).

Qt::Orientation orientation [read, write]

This property holds the orientation of the slider.

The orientation must be Qt::Vertical (the default) or Qt::Horizontal.

bool tracking [read, write]

This property holds whether slider tracking is enabled.

If tracking is enabled (the default), the volume changes while the slider is being dragged. If tracking is disabled, the volume changes only when the user releases the slider.

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 (5% of the voltage).

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 1 (1% of the voltage).

bool muteVisible [read, write]

This property holds whether the mute button/icon next to the slider is visible.

By default the mute button/icon is visible.

QSize iconSize [read, write]

the icon size used for the mute button/icon.

The default size is defined by the GUI style.


The documentation for this class was generated from the following file:
  • volumeslider.h

Phonon

Skip menu "Phonon"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   WTF
  • KJSEmbed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  •   core
  • Phonon
  •   Backend
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal