VlcWidgetSeekProgress Class Reference

Seek widget. More...

#include <VLCQtWidgets/WidgetSeekProgress.h>

Public Member Functions

 VlcWidgetSeekProgress (VlcMediaPlayer *player, QWidget *parent=0)
 VlcWidgetSeekProgress constructor. More...
 
 VlcWidgetSeekProgress (QWidget *parent=0)
 VlcWidgetSeekProgress constructor. More...
 
 ~VlcWidgetSeekProgress ()
 VlcWidgetSeekProgress destructor.
 
- Public Member Functions inherited from VlcWidgetSeek
 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...
 

Protected Member Functions

void mouseMoveEvent (QMouseEvent *event)
 Mouse move event override. More...
 
void mousePressEvent (QMouseEvent *event)
 Mouse press event override. More...
 
void mouseReleaseEvent (QMouseEvent *event)
 Mouse release event override. More...
 
void wheelEvent (QWheelEvent *event)
 Mouse wheel event override. More...
 

Additional Inherited Members

- Protected Slots inherited from VlcWidgetSeek
virtual void updateCurrentTime (int time)
 Update turrent time callback. More...
 
virtual void updateFullTime (int time)
 Update full time callback. More...
 
- Protected Attributes inherited from VlcWidgetSeek
VlcMediaPlayer_vlcMediaPlayer
 Media player.
 
QProgressBar * _progress
 Progress bar.
 

Detailed Description

Seek widget.

This is one of VLC-Qt GUI classes. It provides a display of elapsed time and full time of the media using a progress bar.

Constructor & Destructor Documentation

VlcWidgetSeekProgress::VlcWidgetSeekProgress ( VlcMediaPlayer player,
QWidget *  parent = 0 
)
explicit

VlcWidgetSeekProgress constructor.

Parameters
playermedia player
parentseek widget's parent GUI widget
VlcWidgetSeekProgress::VlcWidgetSeekProgress ( QWidget *  parent = 0)
explicit

VlcWidgetSeekProgress constructor.

Parameters
parentseek widget's parent GUI widget

Member Function Documentation

void VlcWidgetSeekProgress::mouseMoveEvent ( QMouseEvent *  event)
protected

Mouse move event override.

Parameters
eventmouse event
void VlcWidgetSeekProgress::mousePressEvent ( QMouseEvent *  event)
protected

Mouse press event override.

Parameters
eventmouse event
void VlcWidgetSeekProgress::mouseReleaseEvent ( QMouseEvent *  event)
protected

Mouse release event override.

Parameters
eventmouse event
void VlcWidgetSeekProgress::wheelEvent ( QWheelEvent *  event)
protected

Mouse wheel event override.

Parameters
eventmouse event

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