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

The QCDEStyle class provides a CDE look and feel. Más...

#include <qcdestyle.h>

Diagrama de herencias de QCDEStyle
QMotifStyle QMotifStyle QCommonStyle QCommonStyle QCommonStyle QCommonStyle QStyle QStyle QStyle QStyle QStyle QStyle QStyle QStyle

Lista de todos los miembros.

Métodos públicos

 QCDEStyle (bool useHighlightCols=FALSE)
virtual ~QCDEStyle ()
int pixelMetric (PixelMetric metric, const QWidget *widget=0) 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 drawPrimitive (PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &=QStyleOption::Default) const
 QCDEStyle (bool useHighlightCols=FALSE)
virtual ~QCDEStyle ()
int pixelMetric (PixelMetric metric, const QWidget *widget=0) 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 drawPrimitive (PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &=QStyleOption::Default) const

Descripción detallada

The QCDEStyle class provides a CDE look and feel.

This style provides a slightly improved Motif look similar to some versions of the Common Desktop Environment (CDE). The main differences are thinner frames and more modern radio buttons and checkboxes. Together with a dark background and a bright text/foreground color, the style looks quite attractive (at least for Motif fans).

Note that the functions provided by QCDEStyle are reimplementations of QStyle functions; see QStyle for their documentation.


Documentación del constructor y destructor

QCDEStyle::QCDEStyle ( bool  useHighlightCols = FALSE)

Constructs a QCDEStyle.

If useHighlightCols is FALSE (the default), then the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color.

QCDEStyle::~QCDEStyle ( ) [virtual]

Destroys the style.

QCDEStyle::QCDEStyle ( bool  useHighlightCols = FALSE)
virtual QCDEStyle::~QCDEStyle ( ) [virtual]

Documentación de las funciones miembro

void QCDEStyle::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 QMotifStyle.

void QCDEStyle::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 QMotifStyle.

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

Reimplementado de QMotifStyle.

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

Reimplementado de QMotifStyle.

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

Reimplementado de QMotifStyle.

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

Reimplementado de QMotifStyle.


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'