Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qwttextlabel(3) [debian man page]

QwtTextLabel(3) 						 Qwt User's Guide						   QwtTextLabel(3)

NAME
QwtTextLabel - A Widget which displays a QwtText. SYNOPSIS
#include <qwt_text_label.h> Inherited by QwtLegendItem. Public Slots void clear () void setText (const QString &, QwtText::TextFormat textFormat=QwtText::AutoText) virtual void setText (const QwtText &) Public Member Functions virtual int heightForWidth (int) const int indent () const int margin () const virtual QSize minimumSizeHint () const QwtTextLabel (const QwtText &, QWidget *parent=NULL) QwtTextLabel (QWidget *parent=NULL) void setIndent (int) void setMargin (int) virtual QSize sizeHint () const const QwtText & text () const QRect textRect () const virtual ~QwtTextLabel () Protected Member Functions virtual void drawContents (QPainter *) virtual void drawText (QPainter *, const QRect &) virtual void paintEvent (QPaintEvent *e) Detailed Description A Widget which displays a QwtText. Constructor &; Destructor Documentation QwtTextLabel::QwtTextLabel (QWidget *parent = NULL) [explicit] Constructs an empty label. Parameters: parent Parent widget QwtTextLabel::QwtTextLabel (const QwtText &text, QWidget *parent = NULL) [explicit] Constructs a label that displays the text, text Parameters: parent Parent widget text Text QwtTextLabel::~QwtTextLabel () [virtual] Destructor. Member Function Documentation void QwtTextLabel::clear () [slot] Clear the text and all QwtText attributes. void QwtTextLabel::drawContents (QPainter *painter) [protected, virtual] Redraw the text and focus indicator. void QwtTextLabel::drawText (QPainter *painter, const QRect &textRect) [protected, virtual] Redraw the text. Reimplemented in QwtLegendItem. int QwtTextLabel::heightForWidth (intwidth) const [virtual] Returns the preferred height for this widget, given the width. Parameters: width Width int QwtTextLabel::indent () const Return label's text indent in pixels. int QwtTextLabel::margin () const Return label's text indent in pixels. QSize QwtTextLabel::minimumSizeHint () const [virtual] Return a minimum size hint. void QwtTextLabel::paintEvent (QPaintEvent *event) [protected, virtual] Qt paint event Parameters: event Paint event Reimplemented in QwtLegendItem. void QwtTextLabel::setIndent (intindent) Set label's text indent in pixels Parameters: indent Indentation in pixels void QwtTextLabel::setMargin (intmargin) Set label's margin in pixels Parameters: margin Margin in pixels void QwtTextLabel::setText (const QwtText &text) [virtual, slot] Change the label's text Parameters: text New text Reimplemented in QwtLegendItem. void QwtTextLabel::setText (const QString &text, QwtText::TextFormattextFormat = QwtText::AutoText) [slot] Change the label's text, keeping all other QwtText attributes Parameters: text New text textFormat Format of text See also: QwtText QSize QwtTextLabel::sizeHint () const [virtual] Return label's margin in pixels. Reimplemented in QwtLegendItem. const QwtText & QwtTextLabel::text () const Return the text. QRect QwtTextLabel::textRect () const Calculate the rect for the text in widget coordinates Returns: Text rect Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtTextLabel(3)

Check Out this Related Man Page

QwtArrowButton(3)						 Qwt User's Guide						 QwtArrowButton(3)

NAME
QwtArrowButton - Arrow Button. SYNOPSIS
#include <qwt_arrow_button.h> Public Member Functions Qt::ArrowType arrowType () const virtual QSize minimumSizeHint () const int num () const QwtArrowButton (int num, Qt::ArrowType, QWidget *parent=NULL) virtual QSize sizeHint () const virtual ~QwtArrowButton () Protected Member Functions virtual QSize arrowSize (Qt::ArrowType, const QSize &boundingSize) const virtual void drawArrow (QPainter *, const QRect &, Qt::ArrowType) const virtual void drawButtonLabel (QPainter *p) virtual void keyPressEvent (QKeyEvent *) virtual QRect labelRect () const virtual void paintEvent (QPaintEvent *event) Detailed Description Arrow Button. A push button with one or more filled triangles on its front. An Arrow button can have 1 to 3 arrows in a row, pointing up, down, left or right. Constructor &; Destructor Documentation QwtArrowButton::QwtArrowButton (intnum, Qt::ArrowTypearrowType, QWidget *parent = NULL) [explicit] Parameters: num Number of arrows arrowType see Qt::ArowType in the Qt docs. parent Parent widget QwtArrowButton::~QwtArrowButton () [virtual] Destructor. Member Function Documentation QSize QwtArrowButton::arrowSize (Qt::ArrowTypearrowType, const QSize &boundingSize) const [protected, virtual] Calculate the size for a arrow that fits into a rect of a given size Parameters: arrowType Arrow type boundingSize Bounding size Returns: Size of the arrow Qt::ArrowType QwtArrowButton::arrowType () const The direction of the arrows. void QwtArrowButton::drawArrow (QPainter *painter, const QRect &r, Qt::ArrowTypearrowType) const [protected, virtual] Draw an arrow int a bounding rect Parameters: painter Painter r Rectangle where to paint the arrow arrowType Arrow type void QwtArrowButton::drawButtonLabel (QPainter *painter) [protected, virtual] Draw the button label. Parameters: painter Painter See also: The Qt Manual on QPushButton void QwtArrowButton::keyPressEvent (QKeyEvent *e) [protected, virtual] autoRepeat for the space keys QRect QwtArrowButton::labelRect () const [protected, virtual] Returns: the bounding rect for the label QSize QwtArrowButton::minimumSizeHint () const [virtual] Return a minimum size hint. int QwtArrowButton::num () const The number of arrows. void QwtArrowButton::paintEvent (QPaintEvent *event) [protected, virtual] Paint event handler Parameters: event Paint event QSize QwtArrowButton::sizeHint () const [virtual] Returns: a size hint Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtArrowButton(3)
Man Page