HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

QWindowsStyle Class Reference


Windows Look and Feel More...

#include <qwindowsstyle.h>

Inherits QCommonStyle.

Inherited by QPlatinumStyle.

List of all member functions.

Public Members

Protected Members


Detailed Description

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.

QWindowsStyle::~QWindowsStyle () [virtual]

Destructs the style.

QRect QWindowsStyle::comboButtonFocusRect ( int x, int y, int w, int h ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

QRect QWindowsStyle::comboButtonRect ( int x, int y, int w, int h ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawArrow ( QPainter * p, ArrowType type, bool down, int x, int y, int w, int h, const QColorGroup & g, bool enabled, const QBrush * fill = 0 )

Reimplemented for internal reasons; the API is not affected.

void QWindowsStyle::drawBevelButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 ) [virtual]

Draws a press-sensitive shape.

Reimplemented from QStyle.

void QWindowsStyle::drawCheckMark ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool act, bool dis ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawComboButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, bool = FALSE, bool enabled = TRUE, const QBrush * fill = 0 ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawExclusiveIndicator ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool on, bool down = FALSE, bool = TRUE ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawExclusiveIndicatorMask ( QPainter * p, int x, int y, int w, int h, bool ) [virtual]

Draws the mask of a mark indicating the state of an exclusive choice.

Reimplemented from QStyle.

void QWindowsStyle::drawFocusRect ( QPainter * p, const QRect & r, const QColorGroup &, const QColor * bg =0, bool = FALSE ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawIndicator ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, int s, bool down = FALSE, bool enabled = TRUE ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawPanel ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken=FALSE, int lineWidth = 1, const QBrush * fill = 0 ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawPopupMenuItem ( QPainter * p, bool checkable, int maxpmw, int tab, QMenuItem * mi, const QPalette & pal, bool act, bool enabled, int x, int y, int w, int h ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawPopupPanel ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, int = 2, const QBrush * fill = 0 ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawPushButton ( QPushButton * btn, QPainter * p ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawScrollBarControls ( QPainter * p, const QScrollBar * sb, int sliderStart, uint controls, uint activeControl ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawSlider ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, Orientation orient, bool tickAbove, bool tickBelow ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawSliderGroove ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, QCOORD c, Orientation orient ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawSliderMask ( QPainter * p, int x, int y, int w, int h, Orientation orient, bool tickAbove, bool tickBelow ) [virtual]

Draws the mask of a slider.

Reimplemented from QStyle.

void QWindowsStyle::drawSplitter ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, Orientation ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::drawTab ( QPainter * p, const QTabBar * tb, QTab * t, bool selected )

Reimplemented for internal reasons; the API is not affected.

void QWindowsStyle::drawTabMask ( QPainter * p, const QTabBar * tb, QTab * t, bool selected )

Reimplemented for internal reasons; the API is not affected.

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.

QSize QWindowsStyle::exclusiveIndicatorSize () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QWindowsStyle::extraPopupMenuItemWidth ( bool checkable, int maxpmw, QMenuItem * mi, const QFontMetrics & ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::getButtonShift ( int & x, int & y ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

QSize QWindowsStyle::indicatorSize () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QWindowsStyle::maximumSliderDragDistance () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::polishPopupMenu ( QPopupMenu * p ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QWindowsStyle::popupMenuItemHeight ( bool, QMenuItem * mi, const QFontMetrics & fm ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::scrollBarMetrics ( const QScrollBar * sb, int & sliderMin, int & sliderMax, int & sliderLength, int & buttonDim ) [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QWindowsStyle::sliderLength () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

int QWindowsStyle::splitterWidth () const [virtual]

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

void QWindowsStyle::tabbarMetrics ( const QTabBar * t, int & hframe, int & vframe, int & overlap )

Reimplemented for internal reasons; the API is not affected.


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


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


Copyright © 2000 TrolltechTrademarks
Qt version 2.2.1