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

📄 qwtthermo.3

📁 This a framework to test new ideas in transmission technology. Actual development is a LDPC-coder in
💻 3
字号:
.TH "QwtThermo" 3 "4 Nov 2003" "Qwt User's Guide" \" -*- nroff -*-.ad l.nh.SH NAMEQwtThermo \- .SH SYNOPSIS.br.PPInherits \fBQwtScaleIf\fP..PP.SH "Detailed Description".PP The Thermometer Widget. .SS "Public Types".in +1c.ti -1c.RI "enum \fBScalePos\fP { \fBNone\fP, \fBLeft\fP, \fBRight\fP, \fBTop\fP, \fBBottom\fP }".br.in -1c.SS "Public Member Functions".in +1c.ti -1c.RI "\fBQwtThermo\fP (QWidget *parent=0, const  char *name=0)".br.ti -1c.RI "virtual \fB~QwtThermo\fP ()".br.ti -1c.RI "void \fBsetOrientation\fP (Qt::Orientation o, \fBScalePos\fP s)".br.ti -1c.RI "void \fBsetBorderWidth\fP (int w)".br.ti -1c.RI "void \fBsetFillColor\fP (const  QColor &c)".br.ti -1c.RI "void \fBsetAlarmColor\fP (const  QColor &c)".br.ti -1c.RI "void \fBsetAlarmLevel\fP (double v)".br.ti -1c.RI "void \fBsetAlarmEnabled\fP (int tf)".br.ti -1c.RI "void \fBsetPipeWidth\fP (int w)".br.ti -1c.RI "void \fBsetRange\fP (double vmin, double vmax)".br.ti -1c.RI "void \fBsetMargin\fP (int m)".br.ti -1c.RI "double \fBmaxValue\fP ()".br.ti -1c.RI "double \fBminValue\fP ()".br.ti -1c.RI "double \fBvalue\fP ()".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.ti -1c.RI "void \fBsetValue\fP (double val)".br.in -1c.SS "Protected Member Functions".in +1c.ti -1c.RI "void \fBdraw\fP (QPainter *p, const  QRect &update_rect)".br.ti -1c.RI "void \fBdrawThermo\fP (QPainter *p)".br.ti -1c.RI "void \fBlayoutThermo\fP (bool update=TRUE)".br.ti -1c.RI "virtual void \fBscaleChange\fP ()".br.ti -1c.RI "virtual void \fBfontChange\fP (const  QFont &oldFont)".br.ti -1c.RI "virtual void \fBpaintEvent\fP (QPaintEvent *e)".br.ti -1c.RI "virtual void \fBresizeEvent\fP (QResizeEvent *e)".br.in -1c.SH "Member Enumeration Documentation".PP .SS "enum \fBQwtThermo::ScalePos\fP".PPPosition of the scale .PP\fBSee also:\fP.RS 4QwtThermo;;QwtThermo .RE.PP.SH "Constructor & Destructor Documentation".PP .SS "QwtThermo::QwtThermo (QWidget * parent = 0, const char * name = 0)".PPConstructor. .SS "QwtThermo::~\fBQwtThermo\fP ()\fC [virtual]\fP".PPDestructor. .SH "Member Function Documentation".PP .SS "void QwtThermo::draw (QPainter * p, const QRect & update_rect)\fC [protected]\fP".PPredraw the thermo .SS "void QwtThermo::drawThermo (QPainter * p)\fC [protected]\fP".PPRedraw the thermometer. .SS "void QwtThermo::fontChange (const QFont & oldFont)\fC [protected, virtual]\fP".PPnotify changed font .SS "void QwtThermo::layoutThermo (bool update = TRUE)\fC [protected]\fP".PPRecalculate the thermo's geometry and layout based on. .SS "double QwtThermo::maxValue ()".PPReturn max value. .SS "QSize QwtThermo::minimumSizeHint () const\fC [virtual]\fP".PPReturn a minimum size hint. \fBWarning:\fP.RS 4The return value depends on the font and the scale. .RE.PP\fBSee also:\fP.RS 4\fBQwtThermo::sizeHint\fP .RE.PP.SS "double QwtThermo::minValue ()".PPReturn min value. .SS "void QwtThermo::paintEvent (QPaintEvent * e)\fC [protected, virtual]\fP".PPQt paint event. .SS "void QwtThermo::resizeEvent (QResizeEvent * e)\fC [protected, virtual]\fP".PPQt resize event handler. .SS "void QwtThermo::scaleChange ()\fC [protected, virtual]\fP".PPnotify changed scale Implements \fBQwtScaleIf\fP..SS "void QwtThermo::setAlarmColor (const QColor & c)".PPSpecify liquid color above the alarm threshold. \fBParameters:\fP.RS 4\fIc\fP New color. The default is white. .RE.PP.SS "void QwtThermo::setAlarmEnabled (int tf)".PPEnable or disable alarm threshold. \fBParameters:\fP.RS 4\fItf\fP \fCZERO\fP (disabled) or non-zero (enabled) .RE.PP.SS "void QwtThermo::setAlarmLevel (double v)".PPSpecify the alarm threshold. .SS "void QwtThermo::setBorderWidth (int w)".PPSet the border width of the pipe. .SS "void QwtThermo::setFillColor (const QColor & c)".PPChange the color of the liquid. \fBParameters:\fP.RS 4\fIc\fP New color. The default color is black. .RE.PP.SS "void QwtThermo::setMargin (int m)".PPSpecify the distance between the pipe's endpoints and the widget's border. The margin is used to leave some space for the scale labels. If a large font is used, it is advisable to adjust the margins. .PP\fBParameters:\fP.RS 4\fIm\fP New Margin. The default values are 10 for horizontal orientation and 20 for vertical orientation. .RE.PP\fBWarning:\fP.RS 4The margin has no effect if the scale is disabled. .PPThis function is a NOOP because margins are determined automatically. .RE.PP.SS "void QwtThermo::setOrientation (Qt::Orientation o, \fBScalePos\fP s)".PPChange the thermometer's orientation. The scale position None disables the scale. .PP\fBParameters:\fP.RS 4\fIo\fP orientation. Possible values are Qt::Horizontal and Qt::Vertical. The default value is Qt::Vertical. .br\fIs\fP Position of the scale. For a horizontal orientation, the scale position can be Top, Bottom or None. A vertical thermometer may have the scale positions Left, Right or None. The default is None. .RE.PP.SS "void QwtThermo::setPipeWidth (int w)".PPChange the width of the pipe. .SS "void QwtThermo::setRange (double vmin, double vmax)".PPSet the range. \fBParameters:\fP.RS 4\fIvmin\fP Value corresponding lower or left end of the thermometer .br\fIvmax\fP Value corresponding to the upper or right end of the thermometer .RE.PP.SS "void QwtThermo::setValue (double val)".PPSet the current value. .SS "QSize QwtThermo::sizeHint () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4the minimum size hint .RE.PP\fBSee also:\fP.RS 4\fBQwtThermo::minimumSizeHint\fP .RE.PP.SS "QSizePolicy QwtThermo::sizePolicy () const\fC [virtual]\fP".PP\fBReturns:\fP.RS 4Fixed/MinimumExpanding for vertical, MinimumExpanding/Fixed for horizontal thermos. .RE.PP.SS "double QwtThermo::value ()".PPReturn value. .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 + -