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

📄 qwtpushbutton.3

📁 软件无线电的平台
💻 3
字号:
.TH "QwtPushButton" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtPushButton \- .SH SYNOPSIS.br.PPInherited by \fBQwtLegendButton\fP..PP.SH "Detailed Description".PP A push button that allows alignment of button labels, and use of rich texts, as provided by QLabel. .SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtPushButton\fP (QWidget *=NULL, const  char *name=NULL)".br.ti -1c.RI "\fBQwtPushButton\fP (const  QString &text, QWidget *=NULL, const  char *name=NULL)".br.ti -1c.RI "\fBQwtPushButton\fP (const  QIconSet &, const  QString &, QWidget *=NULL, const  char *name=NULL)".br.ti -1c.RI "TextFormat \fBtextFormat\fP () const ".br.ti -1c.RI "void \fBsetTextFormat\fP (TextFormat)".br.ti -1c.RI "virtual Qt::TextFormat \fBusedTextFormat\fP () const ".br.ti -1c.RI "int \fBalignment\fP () const ".br.ti -1c.RI "virtual void \fBsetAlignment\fP (int alignment)".br.ti -1c.RI "void \fBsetIndent\fP (int)".br.ti -1c.RI "int \fBindent\fP () const ".br.ti -1c.RI "virtual QSize \fBsizeHint\fP () const ".br.ti -1c.RI "virtual int \fBheightForWidth\fP (int) const ".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "virtual void \fBdrawButtonLabel\fP (QPainter *)".br.in -1c.SH "Constructor & Destructor Documentation".PP .SS "QwtPushButton::QwtPushButton (QWidget * parent = NULL, const char * name = NULL)".PPConstructs a push button with no text. .SS "QwtPushButton::QwtPushButton (const QString & text, QWidget * parent = NULL, const char * name = NULL)".PPConstructs a push button called name with the parent parent and the text text. .SS "QwtPushButton::QwtPushButton (const QIconSet & iconSet, const QString & text, QWidget * parent = NULL, const char * name = NULL)".PPConstructs a push button with an icon and a text. .SH "Member Function Documentation".PP .SS "int QwtPushButton::alignment () const".PP\fBReturns:\fP.RS 4Alignment of the button label's contents. .RE.PP\fBSee also:\fP.RS 4\fBQwtPushButton::setAlignment\fP .RE.PP.SS "void QwtPushButton::drawButtonLabel (QPainter *)\fC [protected, virtual]\fP".PPDraws the button text or pixmap. .SS "int QwtPushButton::heightForWidth (int width) const\fC [virtual]\fP".PPFind the preferred height, given the width w..PP\fBParameters:\fP.RS 4\fIwidth\fP Width .RE.PP\fBReturns:\fP.RS 4preferred height .RE.PP.SS "int QwtPushButton::indent () const".PP\fBReturns:\fP.RS 4Indent of the button label's contents. .RE.PP\fBSee also:\fP.RS 4\fBQwtPushButton::setIndent\fP .RE.PP.SS "void QwtPushButton::setAlignment (int alignment)\fC [virtual]\fP".PPSets the alignment of the button label磗 contents. The default format is Qt::AlignCenter | Qt::ExpandTabs | Qt::WordBreak..PP\fBParameters:\fP.RS 4\fIalignment\fP Bitwise OR of Qt::AlignmentFlags and Qt::TextFlags values..RE.PP\fBSee also:\fP.RS 4\fBQwtPushButton::alignment()\fP .RE.PP.SS "void QwtPushButton::setIndent (int indent)".PPSets the button label's contents indent in pixels. The default value is 4 pixels..PP\fBParameters:\fP.RS 4\fIindent\fP Indent.RE.PP\fBSee also:\fP.RS 4\fBQwtPushButton::indent()\fP .RE.PP.SS "void QwtPushButton::setTextFormat (TextFormat textFormat)".PPSets the button label's text format. The default format is AutoText. \fBParameters:\fP.RS 4\fItextFormat\fP Text format for the button label text.RE.PP\fBSee also:\fP.RS 4\fBQwtPushButton::textFormat()\fP .RE.PP.SS "QSize QwtPushButton::sizeHint () const\fC [virtual]\fP".PPReturn sizeHint. .SS "Qt::TextFormat QwtPushButton::textFormat () const".PP\fBReturns:\fP.RS 4The button label's text format .RE.PP\fBSee also:\fP.RS 4\fBQwtPushButton::setTextFormat\fP .RE.PP.SS "Qt::TextFormat QwtPushButton::usedTextFormat () const\fC [virtual]\fP".PPFind the text format that is used for painting the button label. In case of Qt::AutoText the format is found by evaluating text(), otherwise it is \fBtextFormat()\fP.PP\fBReturns:\fP.RS 4Text format that is used for painting .RE.PP\fBSee also:\fP.RS 4\fBtextFormat()\fP, \fBsetTextFormat()\fP, QStyleSheet::mightBeRichText() .RE.PP.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 + -