📄 qwtarrowbutton.3
字号:
.TH "QwtArrowButton" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtArrowButton \- .SH SYNOPSIS.br.PP.SH "Detailed Description".PP Arrow Button. A push button with one or more filled triangles on its front. An Arrow button can have 1 to 3 arrows in a row, pointing up, down, left or right. .PPDefinition at line 23 of file qwt_arrbtn.h..SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtArrowButton\fP (int num, Qt::ArrowType, QWidget *parent, const char *name=0)".br.ti -1c.RI "Qt::ArrowType \fBarrowType\fP () const".br.ti -1c.RI "int \fBnum\fP () const".br.ti -1c.RI "virtual QSize \fBsizeHint\fP () const".br.ti -1c.RI "virtual QSize \fBminimumSizeHint\fP () const".br.ti -1c.RI "virtual QSizePolicy \fBsizePolicy\fP () const".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "virtual void \fBdrawButtonLabel\fP (QPainter *p)".br.ti -1c.RI "virtual void \fBdrawArrow\fP (QPainter *, const QRect &, Qt::ArrowType) const".br.ti -1c.RI "virtual QRect \fBlabelRect\fP () const".br.ti -1c.RI "virtual QSize \fBarrowSize\fP (Qt::ArrowType, const QSize &boundingSize) const".br.ti -1c.RI "virtual void \fBkeyPressEvent\fP (QKeyEvent *)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtArrowButton::QwtArrowButton (int num, Qt::ArrowType arrowType, QWidget * parent, const char * name = \fC0\fP)".PP\fBParameters:\fP.RS 4\fInum\fP Number of arrows .br\fIarrowType\fP see Qt::ArowType in the Qt docs. .br\fIparent\fP Parent widget .br\fIname\fP Object name .RE.PPDefinition at line 28 of file qwt_arrbtn.cpp..PPReferences qwtLim()..SH "Member Function Documentation".PP .SS "QSize QwtArrowButton::arrowSize (Qt::ArrowType arrowType, const QSize & boundingSize) const\fC [protected, virtual]\fP".PPCalculate the size for a arrow that fits into a rect of a given size.PP\fBParameters:\fP.RS 4\fIarrowType\fP Arrow type .br\fIboundingSize\fP Bounding size .RE.PP\fBReturns:\fP.RS 4Size of the arrow .RE.PPDefinition at line 248 of file qwt_arrbtn.cpp..PPReferenced by drawButtonLabel(), and minimumSizeHint()..SS "Qt::ArrowType QwtArrowButton::arrowType () const".PPThe direction of the arrows. .PPDefinition at line 46 of file qwt_arrbtn.cpp..SS "void QwtArrowButton::drawArrow (QPainter * p, const QRect & r, Qt::ArrowType arrowType) const\fC [protected, virtual]\fP".PPDraw an arrow int a bounding rect.PP\fBParameters:\fP.RS 4\fIp\fP Painter .br\fIr\fP Rectangle where to paint the arrow .br\fIarrowType\fP Arrow type .RE.PPDefinition at line 160 of file qwt_arrbtn.cpp..PPReferenced by drawButtonLabel()..SS "void QwtArrowButton::drawButtonLabel (QPainter * p)\fC [protected, virtual]\fP".PPDraw the button label. .PP\fBSee also:\fP.RS 4The Qt Manual on QPushButton .RE.PPDefinition at line 96 of file qwt_arrbtn.cpp..PPReferences arrowSize(), drawArrow(), and labelRect()..SS "void QwtArrowButton::keyPressEvent (QKeyEvent * e)\fC [protected, virtual]\fP".PPautoRepeat for the space keys .PPDefinition at line 278 of file qwt_arrbtn.cpp..SS "QRect QwtArrowButton::labelRect () const\fC [protected, virtual]\fP".PP\fBReturns:\fP.RS 4the bounding rect for the label .RE.PPDefinition at line 62 of file qwt_arrbtn.cpp..PPReferenced by drawButtonLabel()..SS "QSize QwtArrowButton::minimumSizeHint () const\fC [virtual]\fP".PPReturn a minimum size hint. .PPDefinition at line 220 of file qwt_arrbtn.cpp..PPReferences arrowSize()..PPReferenced by sizeHint()..SS "int QwtArrowButton::num () const".PPThe number of arrows. .PPDefinition at line 54 of file qwt_arrbtn.cpp..SS "QSize QwtArrowButton::sizeHint () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4a size hint .RE.PPDefinition at line 212 of file qwt_arrbtn.cpp..PPReferences minimumSizeHint()..SS "QSizePolicy QwtArrowButton::sizePolicy () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4Fixed/Expanding for Left/Right, Expanding/Fixed for Up/Down .RE.PPDefinition at line 198 of file qwt_arrbtn.cpp..SH "Author".PP Generated automatically by Doxygen for Qwt User's Guide from the source code.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -