The MediaButton class is useful for buttons like "Play", "Stop", etc.
More...
#include <mediabutton.h>
The MediaButton class is useful for buttons like "Play", "Stop", etc.
- Author
- Matthieu Bachelier
- Copyright
- GNU General Public License v3
◆ MediaButton()
MediaButton::MediaButton |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~MediaButton()
MediaButton::~MediaButton |
( |
| ) |
|
|
virtual |
◆ 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: