Helper class to florid widget.
More...
#include <florid.h>
|
| Florid (QWidget *parent=nullptr) |
|
virtual | ~Florid ()=default |
|
| Visual (QWidget *parent, Qt::WindowFlags f=Qt::WindowFlags()) |
|
virtual | ~Visual () |
|
Helper class to florid widget.
- Author
- Greedysky greed.nosp@m.ysky.nosp@m.@163..nosp@m.com
Definition at line 77 of file florid.h.
Florid::Florid |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
virtual Florid::~Florid |
( |
| ) |
|
|
virtualdefault |
virtual void Florid::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
finaloverrideprotectedvirtual |
virtual void Florid::hideEvent |
( |
QHideEvent * |
event | ) |
|
|
finaloverrideprotectedvirtual |
QWidget's close event. Reimplementation should call base function.
- Parameters
-
event | QCloseEvent insatance. |
Reimplemented from Visual.
void Florid::mediaUrlChanged |
( |
| ) |
|
|
privateslot |
Current media url changed.
virtual void Florid::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotectedvirtual |
virtual void Florid::process |
( |
bool |
state | ) |
|
|
finaloverrideprotectedvirtual |
Process current visual data by state.
Reimplemented from Visual.
void Florid::reRenderImage |
( |
QColor & |
avg, |
|
|
const QImage * |
input |
|
) |
| |
|
protected |
Rerender the image by color burn transform.
void Florid::reRenderLabel |
( |
| ) |
|
|
protected |
Rerender the image label.
void Florid::setImage |
( |
const QImage & |
image | ) |
|
|
slot |
virtual void Florid::showEvent |
( |
QShowEvent * |
event | ) |
|
|
finaloverrideprotectedvirtual |
QWidget's close event. Reimplementation should call base function.
- Parameters
-
event | QCloseEvent insatance. |
Reimplemented from Visual.
virtual void Florid::start |
( |
| ) |
|
|
overridevirtualslot |
virtual void Florid::stop |
( |
| ) |
|
|
overridevirtualslot |
QColor Florid::m_averageColor = QColor(255, 255, 255) |
|
protected |
bool Florid::m_enabledLabel = true |
|
protected |
bool Florid::m_gradientLabel = true |
|
protected |
bool Florid::m_renderLabel = false |
|
protected |
The documentation for this class was generated from the following file: