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

# QMotifPlusStyle Class Reference

More sophisticated Motif-ish look and feel More...

`#include <qmotifplusstyle.h>`

Inherits QMotifStyle.

List of all member functions.

## Public Members

- QMotifPlusStyle ( bool hoveringHighlight = FALSE )
- virtual ~QMotifPlusStyle ()

## Detailed Description

More sophisticated Motif-ish look and feel

This class implements a Motif-ish look and feel with more sophisticated bevelling as used by the GIMP Toolkit (GTK+) for Unix/X11.

## Member Function Documentation

### QMotifPlusStyle::QMotifPlusStyle ( bool hoveringHighlight = FALSE )

Constructs a QMotifPlusStyle

If hoveringHighlight is FALSE (default value), then the style will not highlight push buttons, checkboxes, radiobuttons, comboboxes, scrollbars and sliders.

### QMotifPlusStyle::~QMotifPlusStyle () `[virtual]`

Destructs the style.

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

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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

Reimplemented for internal reasons; the API is not affected.

### void QMotifPlusStyle::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 QMotifPlusStyle::drawButton ( 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 QMotifPlusStyle::drawComboButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, bool editable = FALSE, bool = TRUE, const QBrush * fill = 0 ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::drawIndicator ( QPainter * p, int x, int y,int w, int h, const QColorGroup & g, int state, bool = FALSE, bool = TRUE ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::drawMenuBarItem ( QPainter * p, int x, int y, int w, int h, QMenuItem * mi, QColorGroup & g, bool enabled, bool activated )

Reimplemented for internal reasons; the API is not affected.

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

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::drawPopupMenuItem ( QPainter * p, bool checkable, int maxpmw, int tab, QMenuItem * mi, const QPalette & pl, 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 QMotifPlusStyle::drawPushButton ( QPushButton * button, QPainter * p ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::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 QMotifPlusStyle::drawSlider ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, Orientation orientation, bool, bool ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::drawSliderGroove ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, QCOORD, Orientation ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::drawTab ( QPainter * p, const QTabBar * tabbar, QTab * tab, bool selected )

Reimplemented for internal reasons; the API is not affected.

### bool QMotifPlusStyle::eventFilter ( QObject * object, QEvent * event ) `[virtual protected]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QObject.

### QSize QMotifPlusStyle::exclusiveIndicatorSize () const `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### QSize QMotifPlusStyle::indicatorSize () const `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::polish ( QApplication * )

Reimplemented for internal reasons; the API is not affected.

### void QMotifPlusStyle::polish ( QPalette & pal )

Reimplemented for internal reasons; the API is not affected.

### void QMotifPlusStyle::polish ( QWidget * widget ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::polishPopupMenu ( QPopupMenu * menu ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::scrollBarMetrics ( const QScrollBar * scrollbar, int & sliderMin, int & sliderMax, int & sliderLength, int & buttonDim ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

### void QMotifPlusStyle::unPolish ( QApplication * app )

Reimplemented for internal reasons; the API is not affected.

### void QMotifPlusStyle::unPolish ( QWidget * widget ) `[virtual]`

Reimplemented for internal reasons; the API is not affected.

Reimplemented from QStyle.

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.