Public Member Functions | Public Attributes | Friends

QxtLabelPrivate Class Reference

Inheritance diagram for QxtLabelPrivate:
Inheritance graph
[legend]
Collaboration diagram for QxtLabelPrivate:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void init (const QString &txt=QString())
void updateLabel ()

Public Attributes

QTime time
QString text
Qt::Alignment align
Qt::TextElideMode mode
Qxt::Rotation rot

Friends

class QxtLabel

Detailed Description

Definition at line 37 of file qxtlabel.cpp.


Member Function Documentation

void QxtLabelPrivate::init ( const QString &  txt = QString() )

Definition at line 52 of file qxtlabel.cpp.

References align, mode, Qxt::NoRotation, rot, and text.

{
    text = txt;
    align = Qt::AlignCenter;
    mode = Qt::ElideMiddle;
    rot = Qxt::NoRotation;
}
void QxtLabelPrivate::updateLabel (  )

Definition at line 60 of file qxtlabel.cpp.

References QxtPrivate< QxtLabel >::qxt_p().

{
    qxt_p().updateGeometry();
    qxt_p().update();
}

Friends And Related Function Documentation

friend class QxtLabel [friend]

Definition at line 40 of file qxtlabel.cpp.


Member Data Documentation

Qt::Alignment QxtLabelPrivate::align

Definition at line 47 of file qxtlabel.cpp.

Referenced by init().

Qt::TextElideMode QxtLabelPrivate::mode

Definition at line 48 of file qxtlabel.cpp.

Referenced by init().

Definition at line 49 of file qxtlabel.cpp.

Referenced by init().

Definition at line 46 of file qxtlabel.cpp.

Referenced by init().

Definition at line 45 of file qxtlabel.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines