Eneboo - Documentación para desarrolladores
Métodos públicos | Métodos protegidos
Referencia de la Clase QPlatinumStyle

The QPlatinumStyle class provides Mac/Platinum look and feel. Más...

#include <qplatinumstyle.h>

Diagrama de herencias de QPlatinumStyle
QWindowsStyle QWindowsStyle QCommonStyle QCommonStyle QCommonStyle QCommonStyle QStyle QStyle QStyle QStyle QStyle QStyle QStyle QStyle

Lista de todos los miembros.

Métodos públicos

 QPlatinumStyle ()
virtual ~QPlatinumStyle ()
void drawPrimitive (PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &=QStyleOption::Default) const
void drawControl (ControlElement element, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags how=Style_Default, const QStyleOption &=QStyleOption::Default) const
void drawComplexControl (ComplexControl control, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags how=Style_Default, SCFlags sub=(uint) SC_All, SCFlags subActive=SC_None, const QStyleOption &=QStyleOption::Default) const
QRect querySubControlMetrics (ComplexControl control, const QWidget *widget, SubControl sc, const QStyleOption &=QStyleOption::Default) const
int pixelMetric (PixelMetric metric, const QWidget *widget=0) const
QRect subRect (SubRect r, const QWidget *widget) const
 QPlatinumStyle ()
virtual ~QPlatinumStyle ()
void drawPrimitive (PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &=QStyleOption::Default) const
void drawControl (ControlElement element, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags how=Style_Default, const QStyleOption &=QStyleOption::Default) const
void drawComplexControl (ComplexControl control, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags how=Style_Default, SCFlags sub=(uint) SC_All, SCFlags subActive=SC_None, const QStyleOption &=QStyleOption::Default) const
QRect querySubControlMetrics (ComplexControl control, const QWidget *widget, SubControl sc, const QStyleOption &=QStyleOption::Default) const
int pixelMetric (PixelMetric metric, const QWidget *widget=0) const
QRect subRect (SubRect r, const QWidget *widget) const

Métodos protegidos

QColor mixedColor (const QColor &, const QColor &) const
void drawRiffles (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool horizontal) const
QColor mixedColor (const QColor &, const QColor &) const
void drawRiffles (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool horizontal) const

Descripción detallada

The QPlatinumStyle class provides Mac/Platinum look and feel.

This class implements the Platinum look and feel. It's an experimental class that tries to resemble a Macinosh-like GUI style with the QStyle system. The emulation is currently far from perfect.

Ver también:
QAquaStyle

Documentación del constructor y destructor

QPlatinumStyle::QPlatinumStyle ( )

Constructs a QPlatinumStyle

QPlatinumStyle::~QPlatinumStyle ( ) [virtual]
QPlatinumStyle::QPlatinumStyle ( )
virtual QPlatinumStyle::~QPlatinumStyle ( ) [virtual]

Documentación de las funciones miembro

void QPlatinumStyle::drawComplexControl ( ComplexControl  control,
QPainter p,
const QWidget widget,
const QRect r,
const QColorGroup cg,
SFlags  how = Style_Default,
SCFlags  sub = (uint)SC_All,
SCFlags  subActive = SC_None,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QWindowsStyle.

void QPlatinumStyle::drawComplexControl ( ComplexControl  ctrl,
QPainter p,
const QWidget widget,
const QRect r,
const QColorGroup cg,
SFlags  flags = Style_Default,
SCFlags  sub = (uint)SC_All,
SCFlags  subActive = SC_None,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QWindowsStyle.

void QPlatinumStyle::drawControl ( ControlElement  element,
QPainter p,
const QWidget widget,
const QRect r,
const QColorGroup cg,
SFlags  flags = Style_Default,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QWindowsStyle.

void QPlatinumStyle::drawControl ( ControlElement  element,
QPainter p,
const QWidget widget,
const QRect r,
const QColorGroup cg,
SFlags  how = Style_Default,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QWindowsStyle.

void QPlatinumStyle::drawPrimitive ( PrimitiveElement  pe,
QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags = Style_Default,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QWindowsStyle.

void QPlatinumStyle::drawPrimitive ( PrimitiveElement  pe,
QPainter p,
const QRect r,
const QColorGroup cg,
SFlags  flags = Style_Default,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QWindowsStyle.

void QPlatinumStyle::drawRiffles ( QPainter p,
int  x,
int  y,
int  w,
int  h,
const QColorGroup g,
bool  horizontal 
) const [protected]
void QPlatinumStyle::drawRiffles ( QPainter p,
int  x,
int  y,
int  w,
int  h,
const QColorGroup g,
bool  horizontal 
) const [protected]

Draws the nifty Macintosh decoration used on sliders using painter p and colorgroup g. x, y, w, h and horizontal specify the geometry and orientation of the riffles.

QColor QPlatinumStyle::mixedColor ( const QColor ,
const QColor  
) const [protected]
QColor QPlatinumStyle::mixedColor ( const QColor c1,
const QColor c2 
) const [protected]

Mixes two colors c1 and c2 to a new color.

int QPlatinumStyle::pixelMetric ( PixelMetric  metric,
const QWidget widget = 0 
) const [virtual]

Reimplementado de QWindowsStyle.

int QPlatinumStyle::pixelMetric ( PixelMetric  metric,
const QWidget widget = 0 
) const [virtual]

Reimplementado de QWindowsStyle.

QRect QPlatinumStyle::querySubControlMetrics ( ComplexControl  control,
const QWidget widget,
SubControl  sc,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QCommonStyle.

QRect QPlatinumStyle::querySubControlMetrics ( ComplexControl  control,
const QWidget widget,
SubControl  sc,
const QStyleOption opt = QStyleOption::Default 
) const [virtual]

Reimplementado de QCommonStyle.

QRect QPlatinumStyle::subRect ( SubRect  r,
const QWidget widget 
) const [virtual]

Reimplementado de QWindowsStyle.

QRect QPlatinumStyle::subRect ( SubRect  r,
const QWidget widget 
) const [virtual]

Reimplementado de QWindowsStyle.


La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'