Poster of Linux kernelThe best gift for a Linux geek
QwtLegendLabel

QwtLegendLabel

Section: Qwt User's Guide (3) Updated: 16 Nov 2004
Local index Up
 

NAME

QwtLegendLabel -  

SYNOPSIS


Inherits QwtLegendItem.

 

Detailed Description

A legend label.

QwtLegendLabel represents a curve on a legend. It displays an curve identifier with an explaining text. The identifier might be a combination of curve symbol and line.

See also:

QwtLegend, QwtCurve

Definition at line 128 of file qwt_legend.h.  

Public Member Functions


QwtLegendLabel (QWidget *parent=0, const char *name=0)

QwtLegendLabel (const QwtSymbol &, const QPen &, const QString &, QWidget *parent=0, const char *name=0)

virtual void setTitle (const QString &)

virtual QString title () const
 

Protected Member Functions


virtual QwtText * titleText () const

virtual void drawContents (QPainter *)

virtual void updateItem ()
 

Constructor & Destructor Documentation

 

QwtLegendLabel::QwtLegendLabel (QWidget * parent = 0, const char * name = 0)

Parameters:

parent Parent widget
name Widget name

Definition at line 305 of file qwt_legend.cpp.  

QwtLegendLabel::QwtLegendLabel (const QwtSymbol & symbol, const QPen & curvePen, const QString & text, QWidget * parent = 0, const char * name = 0)

Parameters:

symbol Curve symbol
curvePen Curve pen
text Label text
parent Parent widget
name Widget name

Definition at line 318 of file qwt_legend.cpp.  

Member Function Documentation

 

void QwtLegendLabel::drawContents (QPainter * painter) [protected, virtual]

Parameters:

painter Painter

Definition at line 368 of file qwt_legend.cpp.

References QwtLegendItem::drawIdentifier().  

void QwtLegendLabel::setTitle (const QString & title) [virtual]

Set the title of the label

Parameters:

title New title

See also:

QwtLegendLabel::title

Implements QwtLegendItem.

Definition at line 341 of file qwt_legend.cpp.  

QString QwtLegendLabel::title () const [virtual]

Returns:

The label title

See also:

QwtLegendLabel::setTitle.

Implements QwtLegendItem.

Definition at line 350 of file qwt_legend.cpp.  

QwtText * QwtLegendLabel::titleText () const [protected, virtual]

Returns:

The item title

See also:

QwtLegendLabel::setTitle.

Implements QwtLegendItem.

Definition at line 359 of file qwt_legend.cpp.

References QwtText::makeText().  

void QwtLegendLabel::updateItem () [protected, virtual]

Update the item.

Reimplemented from QwtLegendItem.

Definition at line 379 of file qwt_legend.cpp.

 

Author

Generated automatically by Doxygen for Qwt User's Guide from the source code.


 

Index

NAME
SYNOPSIS
Detailed Description
Public Member Functions
Protected Member Functions
Constructor & Destructor Documentation
QwtLegendLabel::QwtLegendLabel (QWidget * parent = 0, const char * name = 0)
QwtLegendLabel::QwtLegendLabel (const QwtSymbol & symbol, const QPen & curvePen, const QString & text, QWidget * parent = 0, const char * name = 0)
Member Function Documentation
void QwtLegendLabel::drawContents (QPainter * painter) [protected, virtual]
void QwtLegendLabel::setTitle (const QString & title) [virtual]
QString QwtLegendLabel::title () const [virtual]
QwtText * QwtLegendLabel::titleText () const [protected, virtual]
void QwtLegendLabel::updateItem () [protected, virtual]
Author

This document was created by man2html, using the manual pages.
Time: 21:53:52 GMT, April 16, 2011