Classes - Annotated - Tree - Functions - Home - Structure

QWindowsStyle Class Reference

The QWindowsStyle class provides Microsoft Windows look and feel. More...

#include <qwindowsstyle.h>

Inherits QCommonStyle.

Inherited by QPlatinumStyle.

List of all member functions.

Public Members

Protected Members


Detailed Description

The QWindowsStyle class provides Microsoft Windows look and feel.

This class implements the look and feel known from the Windows platform. Naturally it is also Qt's default GUI style on Windows.


Member Function Documentation

QWindowsStyle::QWindowsStyle ()

Constructs a QWindowsStyle

void QWindowsStyle::drawWinShades ( QPainter * p, int x, int y, int w, int h, const QColor & c1, const QColor & c2, const QColor & c3, const QColor & c4, const QBrush * fill ) [protected]

This function draws a rectangle with two-pixel line width. It is called from qDrawWinButton() and qDrawWinPanel().

c1..c4 and fill are used:

1 1 1 1 1 2 1 3 3 3 4 2 1 3 F F 4 2 1 3 F F 4 2 1 4 4 4 4 2 2 2 2 2 2 2

int QWindowsStyle::menuBarFrameWidth () const [virtual]

\reimpl

Reimplemented from QCommonStyle.


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.


Copyright © 2001 TrolltechTrademarks
Qt version 3.0.0-beta1-beta1