LMMS
Loading...
Searching...
No Matches
lmms::gui::LmmsStyle Class Reference

#include <LmmsStyle.h>

Inheritance diagram for lmms::gui::LmmsStyle:

Public Member Functions

 LmmsStyle ()
 ~LmmsStyle () override=default
QPalette standardPalette () const override
void drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const override
void drawPrimitive (PrimitiveElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget=0) const override
int pixelMetric (PixelMetric metric, const QStyleOption *option=0, const QWidget *widget=0) const override

Static Public Attributes

static QPalette * s_palette = nullptr

Private Member Functions

QImage colorizeXpm (const char *const *xpm, const QBrush &fill) const
void hoverColors (bool sunken, bool hover, bool active, QColor &color, QColor &blend) const

Private Attributes

QFileSystemWatcher m_styleReloader

Constructor & Destructor Documentation

◆ LmmsStyle()

lmms::gui::LmmsStyle::LmmsStyle ( )

◆ ~LmmsStyle()

lmms::gui::LmmsStyle::~LmmsStyle ( )
overridedefault

Member Function Documentation

◆ colorizeXpm()

QImage lmms::gui::LmmsStyle::colorizeXpm ( const char *const * xpm,
const QBrush & fill ) const
private

◆ drawComplexControl()

void lmms::gui::LmmsStyle::drawComplexControl ( ComplexControl control,
const QStyleOptionComplex * option,
QPainter * painter,
const QWidget * widget ) const
override

◆ drawPrimitive()

void lmms::gui::LmmsStyle::drawPrimitive ( PrimitiveElement element,
const QStyleOption * option,
QPainter * painter,
const QWidget * widget = 0 ) const
override

◆ hoverColors()

void lmms::gui::LmmsStyle::hoverColors ( bool sunken,
bool hover,
bool active,
QColor & color,
QColor & blend ) const
private

◆ pixelMetric()

int lmms::gui::LmmsStyle::pixelMetric ( PixelMetric metric,
const QStyleOption * option = 0,
const QWidget * widget = 0 ) const
override

◆ standardPalette()

QPalette lmms::gui::LmmsStyle::standardPalette ( ) const
override

Member Data Documentation

◆ m_styleReloader

QFileSystemWatcher lmms::gui::LmmsStyle::m_styleReloader
private

◆ s_palette

QPalette * lmms::gui::LmmsStyle::s_palette = nullptr
static

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