Miam-Player  0.8.0
A nice music player
PlayButton Class Reference

The PlayButton class can change its icon automatically when the status of the player has changed. More...

#include <playbutton.h>

Inheritance diagram for PlayButton:
MediaButton

Public Member Functions

 PlayButton (QWidget *parent=nullptr)
 
void setMediaPlayer (MediaPlayer *mediaPlayer)
 
- Public Member Functions inherited from MediaButton
 MediaButton (QWidget *parent=nullptr)
 
virtual ~MediaButton ()
 

Additional Inherited Members

- Public Slots inherited from MediaButton
virtual void setIconFromTheme (const QString &)
 
void setSize (int)
 
- Protected Member Functions inherited from MediaButton
virtual void paintEvent (QPaintEvent *) override
 

Detailed Description

The PlayButton class can change its icon automatically when the status of the player has changed.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

◆ PlayButton()

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

Member Function Documentation

◆ setMediaPlayer()

void PlayButton::setMediaPlayer ( MediaPlayer mediaPlayer)

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