SeekSlider Class Reference(Phonon::SeekSlider)The SeekSlider class provides a slider for seeking to positions in media streams. Далее... #include <Phonon/SeekSlider> Унаследован от: QWidget. Этот класс был введён в Qt 4.4. Свойства
Открытые функции
Открытые слоты
Дополнительные унаследованные члены
Подробное описаниеThe SeekSlider class provides a slider for seeking to positions in media streams. The SeekSlider connects to a MediaObject, and controls the seek position in the object's media stream. The slider will connect to the necessary signals to keep track of the sliders maximum, minimum, and current values. It will also disable itself for non-seekable streams, and update the media object when the current value of the slider changes. Here follows a typical example of SeekSlider usage: Phonon::MediaObject *moo = new Phonon::MediaObject;; Phonon::AudioOutput *device = new Phonon::AudioOutput; Phonon::createPath(moo, device); moo->setCurrentSource(QString("/home/gvatteka/Music/Lumme-Badloop.ogg")); Phonon::SeekSlider *slider = new Phonon::SeekSlider; slider->setMediaObject(moo); slider->show(); moo->play(); See also Phonon::VolumeSlider, Phonon::VideoWidget, Music Player Example, and Phonon Module. Описание свойствiconSize : QSizeThis property holds the icon size used for the mute button/icon. По умолчанию размеры иконки определяются в зависимости от стиля GUI. Функции доступа:
iconVisible : boolThis 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. Функции доступа:
orientation : Qt::OrientationThis property holds the orientation of the slider. The orientation must be Qt::Vertical or Qt::Horizontal (the default). Функции доступа:
pageStep : intThis property holds the page step interval. The larger of two natural steps that a slider provides and typically corresponds to the user pressing PageUp or PageDown. Defaults to 5 seconds. Функции доступа:
singleStep : intThis property holds the single step interval. 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. Функции доступа:
tracking : boolThis 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. Функции доступа:
Описание функций-членовSeekSlider::SeekSlider ( QWidget * parent = 0 )Constructs a seek slider widget with the given parent. SeekSlider::SeekSlider ( MediaObject * media, QWidget * parent = 0 )Constructs a seek slider widget for the specified media with the given parent. SeekSlider::~SeekSlider ()Destroys the seek slider. MediaObject * SeekSlider::mediaObject () constReturn the media object this SeekSlider controls. See also setMediaObject(). void SeekSlider::setMediaObject ( MediaObject * media ) [slot]Sets the media object to be controlled by this slider to the media specified. See also mediaObject(). |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |