Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QCDEStyle class provides a CDE look and feel. More...
#include <QCDEStyle>
Inherits 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.
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.
Destroys the style.
The control element to be drawn is specified by element. It is drawn on painter p. The widget may be given and may be useful for drawing the element. The rectangle in which the drawing must take place is r, and the palette to use is pal. The style flags are given by how, and the style options by opt.
The primitive element to be drawn is specified by pe. It is drawn on the painter p. The rectangle in which the primitive is to be drawn is given by r, the palette by pal, the style flags by flags, and the options by opt.
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp1 |