#include <label.h>
Inherits Wt::Frame.
Public Member Functions | |
Label (Widget *parent=0, const std::string &name="Label::anon", int wflags=0) | |
Label (const std::string &text, Widget *parent=0, const std::string &name="Label::anon", int wflags=0) | |
const std::string | text () const |
const Pixmap & | pixmap () const |
virtual void | setText (const std::string &text) |
virtual void | setPixmap (const Pixmap &pixmap) |
virtual void | setNum (int num) |
virtual void | setNum (double num) |
void | clear () |
Public Attributes | |
WVar< int > | alignment |
WVar< int > | indent |
WVar< bool > | scaledContents |
Protected Member Functions | |
int | effectiveIndent () const |
virtual void | drawContents (Painter *p) |
void | update () |
virtual void | fontChange (const Font &old_font) |
Wt::Label::Label | ( | Widget * | parent = 0 , |
|
const std::string & | name = "Label::anon" , |
|||
int | wflags = 0 | |||
) |
Wt::Label::Label | ( | const std::string & | text, | |
Widget * | parent = 0 , |
|||
const std::string & | name = "Label::anon" , |
|||
int | wflags = 0 | |||
) |
void Wt::Label::clear | ( | ) |
int Wt::Label::effectiveIndent | ( | ) | const [protected] |
void Wt::Label::fontChange | ( | const Font & | old_font | ) | [protected, virtual] |
Reimplemented from Wt::Widget.
const Pixmap& Wt::Label::pixmap | ( | ) | const [inline] |
void Wt::Label::setNum | ( | double | num | ) | [virtual] |
void Wt::Label::setNum | ( | int | num | ) | [virtual] |
void Wt::Label::setPixmap | ( | const Pixmap & | pixmap | ) | [virtual] |
void Wt::Label::setText | ( | const std::string & | text | ) | [virtual] |
const std::string Wt::Label::text | ( | ) | const [inline] |
void Wt::Label::update | ( | ) | [protected] |
Reimplemented from Wt::Widget.
WVar<int> Wt::Label::alignment |
Reimplemented from Wt::LayoutItem.
WVar<int> Wt::Label::indent |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.