QCDEStyle Class ReferenceThe QCDEStyle class provides a CDE look and feel. More... #include <QCDEStyle> Inherits QMotifStyle. Public Functions
Reimplemented Public Functions
Additional Inherited Members
Detailed DescriptionThe 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 most of the functions provided by QCDEStyle are reimplementations of QStyle functions; see QStyle for their documentation. QCDEStyle provides overloads for drawControl() and drawPrimitive() which are documented here. See also QWindowsXPStyle, QMacStyle, QWindowsStyle, QPlastiqueStyle, and QMotifStyle. Member Function DocumentationQCDEStyle::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. void QCDEStyle::drawControl ( ControlElement element, const QStyleOption * opt, QPainter * p, const QWidget * widget = 0 ) const [virtual]Reimplemented from QStyle::drawControl(). void QCDEStyle::drawPrimitive ( PrimitiveElement pe, const QStyleOption * opt, QPainter * p, const QWidget * widget = 0 ) const [virtual]Reimplemented from QStyle::drawPrimitive(). int QCDEStyle::pixelMetric ( PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0 ) const [virtual]Reimplemented from QStyle::pixelMetric(). QPalette QCDEStyle::standardPalette () const [virtual]Reimplemented from QStyle::standardPalette(). X
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |