Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

QMotifStyle Class Reference
[QtGui module]

The QMotifStyle class provides Motif look and feel. More...

 #include <QMotifStyle>

Inherits QCommonStyle.

Inherited by QCDEStyle.

Public Functions

Additional Inherited Members


Detailed Description

The QMotifStyle class provides Motif look and feel.

This class implements the Motif look and feel. It closely resembles the original Motif look as defined by the Open Group, but with some minor improvements. The Motif style is Qt's default GUI style on Unix platforms.

See also QWindowsXPStyle, QMacStyle, QWindowsStyle, QPlastiqueStyle, and QCDEStyle.


Member Function Documentation

QMotifStyle::QMotifStyle ( bool useHighlightCols = false )

Constructs a QMotifStyle.

If useHighlightCols is false (the default), 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.

QMotifStyle::~QMotifStyle ()   [virtual]

Destroys the style.

void QMotifStyle::setUseHighlightColors ( bool arg )

If arg is false, 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.

The effect will show up the next time an application palette is set via QApplication::setPalette(). The current color palette of the application remains unchanged.

See also useHighlightColors() and QStyle::polish().

bool QMotifStyle::useHighlightColors () const

Returns true if the style treats the highlight colors of the palette in a Motif-like manner, which is a simple inversion between the base and the text color; otherwise returns false. The default is false.

See also setUseHighlightColors().


Copyright © 2008 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt 4.4.3