Miam-Player  0.8.0
A nice music player
TimeLabel Class Reference

Display up to three modes for the length of a track. More...

#include <timelabel.h>

Inheritance diagram for TimeLabel:

Signals

void timeChanged ()
 

Public Member Functions

 TimeLabel (QWidget *parent=nullptr)
 
bool eventFilter (QObject *obj, QEvent *event)
 
QSize minimumSizeHint () const
 
void setTime (qint64 time, qint64 total)
 

Detailed Description

Display up to three modes for the length of a track.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

TimeLabel::TimeLabel ( QWidget *  parent = nullptr)
explicit

Default constructor.

Member Function Documentation

bool TimeLabel::eventFilter ( QObject *  obj,
QEvent *  event 
)

Redefined to filter mouse press event.

QSize TimeLabel::minimumSizeHint ( ) const
void TimeLabel::setTime ( qint64  time,
qint64  total 
)

Setter.

void TimeLabel::timeChanged ( )
signal

Sent when time has changed to update the label.


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