| Classes - Annotated - Tree - Functions - Home - Structure

# QCommonStyle Class Reference

Encapsulates common Look and Feel of a GUI. More...

`#include <qcommonstyle.h>`

Inherits QStyle.

Inherited by QMotifStyle and QWindowsStyle.

List of all member functions.

## Public Members

- ScrollControl scrollBarPointOver ( const QScrollBar * sb, int sliderStart, const QPoint & p )
- void drawMenuBarItem ( QPainter * p, int x, int y, int w, int h, QMenuItem * mi, QColorGroup & g, bool enabled, bool active )

## Detailed Description

Encapsulates common Look and Feel of a GUI.

This abstract class implements some of the widget's look and feel that is common to all GUI styles provided and shipped as part of Qt.

## Member Function Documentation

### QRect QCommonStyle::comboButtonFocusRect ( int x, int y, int w, int h ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### QRect QCommonStyle::comboButtonRect ( int x, int y, int w, int h ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### int QCommonStyle::defaultFrameWidth () const `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QCommonStyle::drawComboButtonMask ( QPainter * p, int x, int y, int w, int h ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QCommonStyle::drawPushButtonLabel ( QPushButton * btn, QPainter * p ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QCommonStyle::drawSliderGrooveMask ( QPainter * p, int x, int y, int w, int h, QCOORD c, Orientation orient ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QCommonStyle::drawSliderMask ( QPainter * p, int x, int y, int w, int h, Orientation, bool, bool ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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

Reimplemented for internal reasons; the API is not affected.

### void QCommonStyle::drawTabMask ( QPainter * p, const QTabBar *, QTab * t, bool )

Reimplemented for internal reasons; the API is not affected.

### void QCommonStyle::getButtonShift ( int & x, int & y ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### int QCommonStyle::maximumSliderDragDistance () const `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### int QCommonStyle::popupSubmenuIndicatorWidth ( const QFontMetrics & fm ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QCommonStyle::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.