The PaintableWidget class is a small class which can react to color change.
More...
#include <paintablewidget.h>
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
- Copyright
- GNU General Public License v3
§ PaintableWidget()
PaintableWidget::PaintableWidget |
( |
QWidget * |
parent | ) |
|
|
inlineexplicit |
§ paintEvent()
virtual void PaintableWidget::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
inlineoverrideprotectedvirtual |
§ setFrameBorder()
void PaintableWidget::setFrameBorder |
( |
bool |
left, |
|
|
bool |
top, |
|
|
bool |
right, |
|
|
bool |
bottom |
|
) |
| |
|
inline |
§ setHalfTopBorder()
void PaintableWidget::setHalfTopBorder |
( |
bool |
b | ) |
|
|
inline |
The documentation for this class was generated from the following file: