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)
 
void setMediaPlayer (MediaPlayer *mediaPlayer)
 
- Public Member Functions inherited from MediaButton
 MediaButton (QWidget *parent=nullptr)
 
virtual ~MediaButton ()
 

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
virtual void setIconFromTheme (const QString &)
 
void setSize (int)
 

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)

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