Miam-Player  0.8.0
A nice music player
MediaButton Class Reference

The MediaButton class is useful for buttons like "Play", "Stop", etc. More...

#include <mediabutton.h>

Inheritance diagram for MediaButton:
PlaybackModeButton PlayButton StopButton

Public Slots

virtual void setIconFromTheme (const QString &)
 
void setSize (int)
 

Public Member Functions

 MediaButton (QWidget *parent=nullptr)
 
virtual ~MediaButton ()
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *) override
 

Detailed Description

The MediaButton class is useful for buttons like "Play", "Stop", etc.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

§ MediaButton()

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

§ ~MediaButton()

MediaButton::~MediaButton ( )
virtual

Member Function Documentation

§ paintEvent()

void MediaButton::paintEvent ( QPaintEvent *  )
overrideprotectedvirtual

§ setIconFromTheme

void MediaButton::setIconFromTheme ( const QString &  theme)
virtualslot

Load an icon from a chosen theme in options.

§ setSize

void MediaButton::setSize ( int  s)
slot

Change the size of icons from the options.


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