Miam-Player  0.8.0
A nice music player
PaintableWidget Class Reference

The PaintableWidget class is a small class which can react to color change. More...

#include <paintablewidget.h>

Inheritance diagram for PaintableWidget:

Public Member Functions

 PaintableWidget (QWidget *parent)
 
void setFrameBorder (bool left, bool top, bool right, bool bottom)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *) override
 

Detailed Description

The PaintableWidget class is a small class which can react to color change.

When one is updating colors in options, this class dynamically repaints itself by adapting the background color.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

PaintableWidget::PaintableWidget ( QWidget *  parent)
inlineexplicit

Member Function Documentation

virtual void PaintableWidget::paintEvent ( QPaintEvent *  )
inlineoverrideprotectedvirtual
void PaintableWidget::setFrameBorder ( bool  left,
bool  top,
bool  right,
bool  bottom 
)
inline

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