Faith::Label Class Reference

#include <faith/label.h>

Inheritance diagram for Faith::Label:

Faith::Widget Faith::Object Faith::PaintDevice List of all members.

Public Slots

void setText (const Faith::String &)

Public Member Functions

 Label (Widget *parent, const char *name=0)
 Label (const String &text, Widget *parent, const char *name=0)
String text () const
virtual Size sizeHint () const

Protected Member Functions

void paintEvent (Faith::PaintEvent *e)

Constructor & Destructor Documentation

Faith::Label::Label ( Widget parent,
const char *  name = 0 
)

Faith::Label::Label ( const String text,
Widget parent,
const char *  name = 0 
)


Member Function Documentation

void Faith::Label::paintEvent ( Faith::PaintEvent e  )  [protected, virtual]

Reimplemented from Faith::Widget.

void Faith::Label::setText ( const Faith::String  )  [slot]

virtual Size Faith::Label::sizeHint (  )  const [virtual]

Returns:
this Widget's recommended size.
If this widget doesn't want to make a recommendation, the size will be invalid Faith::Size::isInvalid()

Reimplemented from Faith::Widget.

String Faith::Label::text (  )  const [inline]


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 00:23:09 2006 for Faith by  doxygen 1.4.7