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

📄 qwtlegenditem.3

📁 linux下qt的第三方的一个类
💻 3
字号:
.TH "QwtLegendItem" 3 "16 Nov 2004" "Version 4.2.0" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtLegendItem \- .SH SYNOPSIS.br.PPInherited by \fBQwtLegendButton\fP, and \fBQwtLegendLabel\fP..PP.SH "Detailed Description".PP A legend item .PP\fBSee also:\fP.RS 4\fBQwtLegend\fP, \fBQwtCurve\fP .RE.PP.PPDefinition at line 41 of file qwt_legend.h..SS "Public Types".in +1c.ti -1c.RI "enum \fBIdentifierMode\fP { \fBNoIdentifier\fP =  0, \fBShowLine\fP =  1, \fBShowSymbol\fP =  2, \fBShowText\fP =  4 }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtLegendItem\fP ()".br.ti -1c.RI "\fBQwtLegendItem\fP (const \fBQwtSymbol\fP &, const QPen &)".br.ti -1c.RI "virtual \fB~QwtLegendItem\fP ()".br.ti -1c.RI "void \fBsetIdentifierMode\fP (int)".br.ti -1c.RI "int \fBidentifierMode\fP () const".br.ti -1c.RI "void \fBsetSymbol\fP (const \fBQwtSymbol\fP &)".br.ti -1c.RI "const \fBQwtSymbol\fP & \fBsymbol\fP () const".br.ti -1c.RI "void \fBsetCurvePen\fP (const QPen &)".br.ti -1c.RI "const QPen & \fBcurvePen\fP () const".br.ti -1c.RI "virtual void \fBdrawIdentifier\fP (QPainter *, const QRect &) const".br.ti -1c.RI "virtual void \fBdrawItem\fP (QPainter *p, const QRect &) const".br.ti -1c.RI "virtual void \fBsetTitle\fP (const QString &)=0".br.ti -1c.RI "virtual QString \fBtitle\fP () const =0".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "virtual \fBQwtText\fP * \fBtitleText\fP () const =0".br.ti -1c.RI "virtual void \fBupdateItem\fP ()".br.in -1c.SH "Member Enumeration Documentation".PP .SS "enum \fBQwtLegendItem::IdentifierMode\fP".PPIdentifier mode. .PPDefault is ShowLine | ShowText .PP\fBSee also:\fP.RS 4\fBQwtLegendItem::identifierMode\fP, \fBQwtLegendItem::setIdentifierMode\fP .RE.PPDefinition at line 51 of file qwt_legend.h..SH "Constructor & Destructor Documentation".PP .SS "QwtLegendItem::QwtLegendItem ()".PPCreate an item with mode = ShowLine|ShowText and no pen. .PPDefinition at line 25 of file qwt_legend.cpp..SS "QwtLegendItem::QwtLegendItem (const \fBQwtSymbol\fP & symbol, const QPen & curvePen)".PPConstructor with mode = ShowLine|ShowText .PP\fBParameters:\fP.RS 4\fIsymbol\fP Symbol .br\fIcurvePen\fP Curve pen .RE.PPDefinition at line 36 of file qwt_legend.cpp..SS "QwtLegendItem::~\fBQwtLegendItem\fP ()\fC [virtual]\fP".PPDestructor. .PPDefinition at line 44 of file qwt_legend.cpp..SH "Member Function Documentation".PP .SS "const QPen & QwtLegendItem::curvePen () const".PP\fBReturns:\fP.RS 4The curve pen. .RE.PP\fBSee also:\fP.RS 4\fBQwtLegendButton::setCurvePen()\fP .RE.PPDefinition at line 117 of file qwt_legend.cpp..PPReferenced by QwtPlotPrintFilter::apply(), and QwtPlotPrintFilter::reset()..SS "void QwtLegendItem::drawIdentifier (QPainter * painter, const QRect & rect) const\fC [virtual]\fP".PPPaint the identifier to a given rect. .PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIrect\fP Rect where to paint .RE.PPDefinition at line 132 of file qwt_legend.cpp..PPReferences QwtSymbol::brush(), QwtSymbol::draw(), QwtPainter::drawLine(), QwtPainter::metricsMap(), QwtSymbol::pen(), QwtSymbol::size(), and QwtSymbol::style()..PPReferenced by QwtLegendLabel::drawContents(), drawItem(), and QwtLegendButton::updateIconset()..SS "void QwtLegendItem::drawItem (QPainter * painter, const QRect & rect) const\fC [virtual]\fP".PPDraw the legend item to a given rect. .PP\fBParameters:\fP.RS 4\fIpainter\fP Painter .br\fIrect\fP Rect where to paint the button .RE.PPDefinition at line 188 of file qwt_legend.cpp..PPReferences QwtText::draw(), drawIdentifier(), and QwtPainter::metricsMap()..PPReferenced by QwtPlot::printLegendItem()..SS "int QwtLegendItem::identifierMode () const".PPOr'd values of IdentifierMode. .PP\fBSee also:\fP.RS 4\fBQwtLegendButton::setIdentifierMode()\fP, \fBQwtLegendItem::IdentifierMode\fP .RE.PPDefinition at line 68 of file qwt_legend.cpp..SS "void QwtLegendItem::setCurvePen (const QPen & pen)".PPSet curve pen. .PP\fBParameters:\fP.RS 4\fIpen\fP Curve pen.RE.PP\fBSee also:\fP.RS 4\fBQwtLegendItem::curvePen()\fP .RE.PPDefinition at line 104 of file qwt_legend.cpp..PPReferences updateItem()..PPReferenced by QwtPlotPrintFilter::apply(), QwtPlotPrintFilter::reset(), and QwtPlot::updateLegendItem()..SS "void QwtLegendItem::setIdentifierMode (int mode)".PPSet identifier mode. Default is ShowLine | ShowText. .PP\fBParameters:\fP.RS 4\fImode\fP Or'd values of IdentifierMode.RE.PP\fBSee also:\fP.RS 4\fBQwtLegendItem::identifierMode()\fP .RE.PPDefinition at line 55 of file qwt_legend.cpp..PPReferences updateItem()..PPReferenced by QwtPlot::updateLegendItem()..SS "void QwtLegendItem::setSymbol (const \fBQwtSymbol\fP & symbol)".PPSet curve symbol. .PP\fBParameters:\fP.RS 4\fIsymbol\fP Symbol.RE.PP\fBSee also:\fP.RS 4\fBQwtLegendItem::symbol()\fP .RE.PPDefinition at line 79 of file qwt_legend.cpp..PPReferences updateItem()..PPReferenced by QwtPlotPrintFilter::apply(), QwtPlotPrintFilter::reset(), and QwtPlot::updateLegendItem()..SS "const \fBQwtSymbol\fP & QwtLegendItem::symbol () const".PP\fBReturns:\fP.RS 4The curve symbol. .RE.PP\fBSee also:\fP.RS 4\fBQwtLegendButton::setSymbol()\fP .RE.PPDefinition at line 92 of file qwt_legend.cpp..PPReferenced by QwtPlotPrintFilter::apply(), and QwtPlotPrintFilter::reset()..SS "void QwtLegendItem::updateItem ()\fC [protected, virtual]\fP".PPUpdate the item. .PPReimplemented in \fBQwtLegendButton\fP, and \fBQwtLegendLabel\fP..PPDefinition at line 123 of file qwt_legend.cpp..PPReferenced by setCurvePen(), setIdentifierMode(), and setSymbol()..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 + -