⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qmotifstyle.3qt

📁 tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件
💻 3QT
字号:
.TH QMotifStyle 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQMotifStyle \- Motif Look and Feel.SH SYNOPSIS.br.PP\fC#include <qmotifstyle.h>\fR.PPInherits QCommonStyle..PPInherited by QCDEStyle..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQMotifStyle\fR ( bool " "useHighlightCols" " = FALSE )".br.ti -1c.BI "void \fBsetUseHighlightColors\fR ( bool )".br.ti -1c.BI "bool \fBuseHighlightColors\fR () const".br.ti -1c.BI "void \fBpolish\fR ( QPalette & )".br.ti -1c.BI "void \fBpolish\fR ( QWidget * )".br.ti -1c.BI "virtual void \fBpolish\fR ( QApplication * )".br.ti -1c.BI "virtual void \fBdrawButton\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", bool " "sunken" " = FALSE, const QBrush * " "fill" " = 0 )".br.ti -1c.BI "virtual void \fBdrawBevelButton\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", bool " "sunken" " = FALSE, const QBrush * " "fill" " = 0 )".br.ti -1c.BI "virtual void \fBdrawFocusRect\fR ( QPainter *, const QRect &, const QColorGroup &, const QColor * =0, bool = FALSE )".br.ti -1c.BI "virtual void \fBdrawPushButton\fR ( QPushButton * " "btn" ", QPainter * p )".br.ti -1c.BI "void \fBdrawArrow\fR ( QPainter * " "p" ", ArrowType " "type" ", bool " "down" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", bool " "enabled" ", const QBrush * " "fill" " = 0 )".br.ti -1c.BI "virtual QSize \fBindicatorSize\fR () const".br.ti -1c.BI "virtual void \fBdrawIndicator\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", int " "state" ", bool " "down" " = FALSE, bool " "enabled" " = TRUE )".br.ti -1c.BI "virtual QSize \fBexclusiveIndicatorSize\fR () const".br.ti -1c.BI "virtual void \fBdrawExclusiveIndicator\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", bool " "on" ", bool " "down" " = FALSE, bool " "enabled" " = TRUE )".br.ti -1c.BI "virtual void \fBdrawExclusiveIndicatorMask\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int, int, bool )".br.ti -1c.BI "virtual void \fBtabbarMetrics\fR ( const QTabBar *, int &, int &, int & )".br.ti -1c.BI "virtual void \fBdrawTab\fR ( QPainter *, const QTabBar *, QTab *, bool selected )".br.ti -1c.BI "virtual void \fBdrawTabMask\fR ( QPainter *, const QTabBar *, QTab *, bool selected )".br.ti -1c.BI "virtual void \fBscrollBarMetrics\fR ( const QScrollBar *, int &, int &, int &, int & )".br.ti -1c.BI "virtual void \fBdrawScrollBarControls\fR ( QPainter *, const QScrollBar *, int " "sliderStart" ", uint " "controls" ", uint activeControl )".br.ti -1c.BI "virtual int \fBsliderLength\fR () const".br.ti -1c.BI "virtual void \fBdrawSlider\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", Orientation, bool " "tickAbove" ", bool tickBelow )".br.ti -1c.BI "virtual void \fBdrawSliderGroove\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", QCOORD " "c" ", Orientation )".br.ti -1c.BI "virtual int \fBsplitterWidth\fR () const".br.ti -1c.BI "virtual void \fBdrawSplitter\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", Orientation )".br.ti -1c.BI "void \fBdrawCheckMark\fR ( QPainter * " "p" ", int " "x" ", int " "y" ", int " "w" ", int " "h" ", const QColorGroup & " "g" ", bool " "act" ", bool dis )".br.ti -1c.BI "void \fBpolishPopupMenu\fR ( QPopupMenu * )".br.ti -1c.BI "virtual int \fBextraPopupMenuItemWidth\fR ( bool " "checkable" ", int " "maxpmw" ", QMenuItem * " "mi" ", const QFontMetrics & fm )".br.ti -1c.BI "int \fBpopupMenuItemHeight\fR ( bool " "checkable" ", QMenuItem * " "mi" ", const QFontMetrics & fm )".br.ti -1c.BI "void \fBdrawPopupMenuItem\fR ( 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 )".br.in -1c.SH DESCRIPTIONMotif Look and Feel.PPThis class implements the Motif look and feel. It almost completely resembles the original Motif look as defined by the Open Group, but also contains minor improvements. The Motif style is Qt's default GUI style on UNIX plattforms..SH MEMBER FUNCTION DOCUMENTATION.SH "QMotifStyle::QMotifStyle ( bool useHighlightCols = FALSE )"Constructs a QMotifStyle..PPIf useHighlightCols is FALSE (default value), then the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color..SH "void QMotifStyle::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..SH "void QMotifStyle::drawBevelButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawButton ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool sunken = FALSE, const QBrush * fill = 0 ) \fC[virtual]\fR"Draws a press-sensitive shape..PPReimplemented from QStyle..SH "void QMotifStyle::drawCheckMark ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool act, bool dis )"Reimplemented for internal reasons; the API is not affected..SH "void QMotifStyle::drawExclusiveIndicator ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, bool on, bool down = FALSE, bool = TRUE ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawExclusiveIndicatorMask ( QPainter * p, int x, int y, int, int, bool ) \fC[virtual]\fR"Draws the mask of a mark indicating the state of an exclusive choice..PPReimplemented from QStyle..SH "void QMotifStyle::drawFocusRect ( QPainter * p, const QRect & r, const QColorGroup & g, const QColor * bg =0, bool atBorder = FALSE ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawIndicator ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, int s, bool down = FALSE, bool = TRUE ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawPushButton ( QPushButton * btn, QPainter * p ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawScrollBarControls ( QPainter * p, const QScrollBar * sb, int sliderStart, uint controls, uint activeControl ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawSlider ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, Orientation orient, bool, bool ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawSliderGroove ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, QCOORD, Orientation ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawSplitter ( QPainter * p, int x, int y, int w, int h, const QColorGroup & g, Orientation orient ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawTab ( QPainter * p, const QTabBar * tb, QTab * t, bool selected ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::drawTabMask ( QPainter * p, const QTabBar * tb, QTab * t, bool selected ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "QSize QMotifStyle::exclusiveIndicatorSize () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "QSize QMotifStyle::indicatorSize () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::polish ( QApplication * a ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::polish ( QPalette & pal )"Reimplemented for internal reasons; the API is not affected..SH "void QMotifStyle::polish ( QWidget * w )"Reimplemented for internal reasons; the API is not affected..SH "void QMotifStyle::polishPopupMenu ( QPopupMenu * p )"Reimplemented for internal reasons; the API is not affected..SH "void QMotifStyle::scrollBarMetrics ( const QScrollBar * sb, int & sliderMin, int & sliderMax, int & sliderLength, int & buttonDim ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::setUseHighlightColors ( bool arg )"If the argument is FALSE, then the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple inversion between the base and the text color..PPThe effect will show up the next time a application palette is set via QApplication::setPalette(). The current color palette of the application remains unchanged..PPSee also: QStyle::polish(, QPalette&, ) and selectionOnlyInverse()..SH "int QMotifStyle::sliderLength () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "int QMotifStyle::splitterWidth () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "void QMotifStyle::tabbarMetrics ( const QTabBar * t, int & hframe, int & vframe, int & overlap ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QStyle..SH "bool QMotifStyle::useHighlightColors () const"Returns whether the style treats the highlight colors of the palette Motif-like, which is a simple inversion between the base and the text color. The default is FALSE..PPSee also:  setSelectionOnlyInverse()..SH "SEE ALSO".BR http://www.troll.no/qt/qmotifstyle.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -