com.trolltech.qt.gui
Class QCDEStyle
java.lang.Object
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.core.QObject
com.trolltech.qt.gui.QStyle
com.trolltech.qt.gui.QCommonStyle
com.trolltech.qt.gui.QMotifStyle
com.trolltech.qt.gui.QCDEStyle
- All Implemented Interfaces:
- QtJambiInterface
public class QCDEStyle
- extends QMotifStyle
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 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
.
Nested classes/interfaces inherited from class com.trolltech.qt.gui.QStyle |
QStyle.ComplexControl, QStyle.ContentsType, QStyle.ControlElement, QStyle.PixelMetric, QStyle.PrimitiveElement, QStyle.StandardPixmap, QStyle.State, QStyle.StateFlag, QStyle.StyleHint, QStyle.SubControl, QStyle.SubElement |
Methods inherited from class com.trolltech.qt.gui.QStyle |
alignedRect, combinedLayoutSpacing, combinedLayoutSpacing, combinedLayoutSpacing, drawComplexControl, drawComplexControl, drawControl, drawControl, drawItemPixmap, drawItemText, drawItemText, drawPrimitive, drawPrimitive, generatedIconPixmap, hitTestComplexControl, hitTestComplexControl, itemPixmapRect, itemTextRect, layoutSpacing, layoutSpacing, layoutSpacing, layoutSpacingImplementation, layoutSpacingImplementation, layoutSpacingImplementation, pixelMetric, pixelMetric, pixelMetric, polish, polish, polish, sizeFromContents, sizeFromContents, sliderPositionFromValue, sliderPositionFromValue, sliderValueFromPosition, sliderValueFromPosition, standardIcon, standardIcon, standardIcon, standardIconImplementation, standardIconImplementation, standardIconImplementation, standardPalette, styleHint, styleHint, styleHint, styleHint, subControlRect, subControlRect, subElementRect, subElementRect, unpolish, unpolish, visualAlignment, visualAlignment, visualPos, visualRect |
Methods inherited from class com.trolltech.qt.core.QObject |
childEvent, children, connectSlotsByName, customEvent, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, indexOfProperty, installEventFilter, isWidgetType, killTimer, moveToThread, objectName, parent, properties, property, removeEventFilter, setObjectName, setParent, setProperty, startTimer, timerEvent, toString, userProperty |
Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QCDEStyle
public QCDEStyle()
- 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
public QCDEStyle(boolean useHighlightCols)
- 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.
fromNativePointer
public static QCDEStyle fromNativePointer(QNativePointer nativePointer)
- This method returns the QCDEStyle instance pointed to by nativePointer.