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
- virtual void drawComboButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, bool editable = FALSE, bool enabled = TRUE, const QBrush * fill = 0 )
- virtual QRect comboButtonRect ( int x, int y, int w, int h )
- virtual QRect comboButtonFocusRect ( int x, int y, int w, int h )
- virtual void drawComboButtonMask ( QPainter * p, int x, int y, int w, int h )
- virtual void drawPushButtonLabel ( QPushButton * btn, QPainter * p )
- virtual void getButtonShift ( int & x, int & y )
- virtual int defaultFrameWidth () const
- virtual void tabbarMetrics ( const QTabBar *, int &, int &, int & )
- virtual void drawTab ( QPainter *, const QTabBar *, QTab *, bool selected )
- virtual void drawTabMask ( QPainter *, const QTabBar *, QTab *, bool selected )
- ScrollControl scrollBarPointOver ( const QScrollBar *, int sliderStart, const QPoint & )
- virtual void drawSliderMask ( QPainter * p, int x, int y, int w, int h, Orientation, bool tickAbove, bool tickBelow )
- virtual void drawSliderGrooveMask ( QPainter * p, int x, int y, int w, int h, QCOORD c, Orientation )
- virtual int maximumSliderDragDistance () const
- int popupSubmenuIndicatorWidth ( const QFontMetrics & fm )
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, 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 ) [virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QStyle.
void QCommonStyle::drawTabMask ( QPainter * p, const QTabBar *, QTab * t, bool ) [virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QStyle.
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 )
Reimplemented for internal reasons; the API is not affected.
void QCommonStyle::tabbarMetrics ( const QTabBar * t, int & hframe, int & vframe, int & overlap ) [virtual]
Reimplemented for internal reasons; the API is not affected.
Reimplemented from QStyle.
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit,
copyright © 1995-99
Troll Tech, all rights reserved.
Copyright İ 1999 Troll Tech | Trademarks
| Qt version 2.0.2
|