Seek widget. More...
#include <VLCQtWidgets/WidgetSeek.h>
Public Member Functions | |
VlcWidgetSeek (VlcMediaPlayer *player, QWidget *slider=0, bool connectSlider=true, QWidget *parent=0) | |
VlcWidgetSeek constructor. More... | |
VlcWidgetSeek (QWidget *slider, bool connectSlider, QWidget *parent=0) | |
VlcWidgetSeek constructor. More... | |
VlcWidgetSeek (QWidget *parent=0) | |
VlcWidgetSeek constructor. More... | |
~VlcWidgetSeek () | |
VlcWidgetSeek destructor. | |
bool | autoHide () const |
Get auto-hide option. More... | |
void | setAutoHide (bool autoHide) |
Set auto-hide option. More... | |
virtual void | setMediaPlayer (VlcMediaPlayer *player) |
Set media player if initialised without it. More... | |
virtual void | setSliderWidget (QWidget *slider, bool updateSlider=true) |
Set slider widget. More... | |
Protected Slots | |
virtual void | updateCurrentTime (int time) |
Update turrent time callback. More... | |
virtual void | updateFullTime (int time) |
Update full time callback. More... | |
Protected Attributes | |
VlcMediaPlayer * | _vlcMediaPlayer |
Media player. | |
QProgressBar * | _progress |
Progress bar. | |
Seek widget.
This is one of VLC-Qt GUI classes. It provides a display of elapsed time and full time of the media.
|
explicit |
VlcWidgetSeek constructor.
player | media player |
slider | widget to be used as slider |
connectSlider | connect the slider to relevant sigals, set to false if you want to handle everything yourself |
parent | seek widget's parent GUI widget |
|
explicit |
VlcWidgetSeek constructor.
slider | widget to be used as slider |
connectSlider | connect the slider to relevant sigals, set to false if you want to handle everything yourself |
parent | seek widget's parent GUI widget |
|
explicit |
VlcWidgetSeek constructor.
parent | seek widget's parent GUI widget |
|
inline |
Get auto-hide option.
void VlcWidgetSeek::setAutoHide | ( | bool | autoHide | ) |
Set auto-hide option.
This option will automatically hide seek widget, if enabled.
autoHide | new auto-hide option |
|
virtual |
Set media player if initialised without it.
player | media player |
|
virtual |
Set slider widget.
slider | widget to be used as slider |
updateSlider | connect the slider to relevant sigals, set to false if you want to handle everything yourself |
|
protectedvirtualslot |
Update turrent time callback.
time | current time |
|
protectedvirtualslot |
Update full time callback.
time | full time |