Miam-Player  0.8.0
A nice music player
Reflector Class Reference

The Reflector Class is only designed to help the way one can customize colors. More...

#include <reflector.h>

Inheritance diagram for Reflector:

Public Member Functions

 Reflector (QWidget *parent=nullptr)
 
QColor color () const
 
QPalette::ColorRole colorRole () const
 
void setColor (const QColor &color)
 

Protected Member Functions

virtual void paintEvent (QPaintEvent *) override
 

Detailed Description

The Reflector Class is only designed to help the way one can customize colors.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

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

Member Function Documentation

QColor Reflector::color ( ) const
inline

Getter to the color used in the preview pane in the Customize Theme Dialog.

QPalette::ColorRole Reflector::colorRole ( ) const
void Reflector::paintEvent ( QPaintEvent *  )
overrideprotectedvirtual

Redefined to be able to reflect the color of the elements in the Customize Theme Dialog.

void Reflector::setColor ( const QColor &  color)

Setter to the color used in the preview pane in the Customize Theme Dialog.


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