Miam-Player  0.8.0
A nice music player
StopButton Class Reference

The StopButton class is a custom class for the Stop button only. More...

#include <stopbutton.h>

Inheritance diagram for StopButton:
MediaButton

Public Member Functions

 StopButton (QWidget *parent=nullptr)
 
virtual void setMediaPlayer (MediaPlayer *mediaPlayer) override
 
- Public Member Functions inherited from MediaButton
 MediaButton (QWidget *parent=nullptr)
 
void setIcon (const QIcon &)
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *) override
 
- Protected Member Functions inherited from MediaButton
virtual void paintEvent (QPaintEvent *) override
 

Additional Inherited Members

- Public Slots inherited from MediaButton
void setIconFromTheme (const QString &)
 
void setSize (const int &)
 
- Signals inherited from MediaButton
void mediaButtonChanged ()
 
- Public Attributes inherited from MediaButton
MediaPlayer_mediaPlayer
 

Detailed Description

The StopButton class is a custom class for the Stop button only.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

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

Member Function Documentation

void StopButton::contextMenuEvent ( QContextMenuEvent *  e)
overrideprotectedvirtual
void StopButton::setMediaPlayer ( MediaPlayer mediaPlayer)
overridevirtual

Reimplemented from MediaButton.


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