QwtTextLabel
A Widget which displays a QwtText.
- Provided by: libqwt-doc (Version: 6.0.0-1.2)
- Source: qwt
- Report a bug
A Widget which displays a QwtText.
#include <qwt_text_label.h>
Inherited by QwtLegendItem.
void setText (const QString &,
QwtText::TextFormat textFormat=QwtText::AutoText)
virtual void setText (const QwtText &)
void clear ()
QwtTextLabel (QWidget *parent=NULL)
QwtTextLabel (const QwtText &, QWidget *parent=NULL)
virtual ~QwtTextLabel ()
const QwtText & text () const
int indent () const
void setIndent (int)
int margin () const
void setMargin (int)
virtual QSize sizeHint () const
virtual QSize minimumSizeHint () const
virtual int heightForWidth (int) const
QRect textRect () const
virtual void paintEvent (QPaintEvent *e)
virtual void drawContents (QPainter *)
virtual void drawText (QPainter *, const QRect &)
A Widget which displays a QwtText.
Parameters:
Parameters:
Destructor.
Clear the text and all QwtText attributes.
Redraw the text and focus indicator.
Redraw the text.
Parameters:
Return label's text indent in pixels.
Return label's text indent in pixels.
Return a minimum size hint.
Parameters:
Reimplemented in QwtLegendItem.
Parameters:
Parameters:
Parameters:
Reimplemented in QwtLegendItem.
Parameters:
See also:
Return label's margin in pixels.
Reimplemented in QwtLegendItem.
Return the text.
Returns:
Generated automatically by Doxygen for Qwt User's Guide from the source code.