#include <textfield.h>
Public Member Functions | |
TextField (const TextField &) | |
TextField & | operator= (const TextField &) |
void | setFontSize (int) |
void | setColor (TQColor clr) |
void | setBGColor (TQColor clr) |
void | setFont (const TQString &) |
void | setAlignment (int) |
void | setAlignment (const TQString &) |
void | setFixedPitch (bool) |
void | setShadow (int) |
int | getFontSize () const |
TQColor | getColor () const |
TQColor | getBGColor () const |
TQString | getFont () const |
int | getAlignment () const |
TQString | getAlignmentAsString () const |
bool | getFixedPitch () const |
int | getShadow () const |
int | getLineHeight () const |
Protected Attributes | |
int | alignment |
TQFont | font |
TQColor | color |
TQColor | bgColor |
int | shadow |
int | lineHeight |
Detailed Description
Constructor & Destructor Documentation
◆ TextField() [1/2]
TextField::TextField | ( | ) |
Definition at line 15 of file textfield.cpp.
◆ TextField() [2/2]
TextField::TextField | ( | const TextField & | def | ) |
Definition at line 30 of file textfield.cpp.
◆ ~TextField()
TextField::~TextField | ( | ) |
Definition at line 26 of file textfield.cpp.
Member Function Documentation
◆ getAlignment()
int TextField::getAlignment | ( | ) | const |
Definition at line 121 of file textfield.cpp.
◆ getAlignmentAsString()
TQString TextField::getAlignmentAsString | ( | ) | const |
Definition at line 126 of file textfield.cpp.
◆ getBGColor()
TQColor TextField::getBGColor | ( | ) | const |
Definition at line 76 of file textfield.cpp.
◆ getColor()
TQColor TextField::getColor | ( | ) | const |
Definition at line 66 of file textfield.cpp.
◆ getFixedPitch()
bool TextField::getFixedPitch | ( | ) | const |
Definition at line 141 of file textfield.cpp.
◆ getFont()
TQString TextField::getFont | ( | ) | const |
Definition at line 89 of file textfield.cpp.
◆ getFontSize()
int TextField::getFontSize | ( | ) | const |
Definition at line 100 of file textfield.cpp.
◆ getLineHeight()
int TextField::getLineHeight | ( | ) | const |
Definition at line 156 of file textfield.cpp.
◆ getShadow()
int TextField::getShadow | ( | ) | const |
Definition at line 151 of file textfield.cpp.
◆ operator=()
Definition at line 43 of file textfield.cpp.
◆ setAlignment() [1/2]
void TextField::setAlignment | ( | const TQString & | align | ) |
Definition at line 105 of file textfield.cpp.
◆ setAlignment() [2/2]
void TextField::setAlignment | ( | int | af | ) |
Definition at line 116 of file textfield.cpp.
◆ setBGColor()
void TextField::setBGColor | ( | TQColor | clr | ) |
Definition at line 71 of file textfield.cpp.
◆ setColor()
void TextField::setColor | ( | TQColor | clr | ) |
Definition at line 61 of file textfield.cpp.
◆ setFixedPitch()
void TextField::setFixedPitch | ( | bool | fp | ) |
Definition at line 136 of file textfield.cpp.
◆ setFont()
void TextField::setFont | ( | const TQString & | f | ) |
Definition at line 82 of file textfield.cpp.
◆ setFontSize()
void TextField::setFontSize | ( | int | size | ) |
Definition at line 94 of file textfield.cpp.
◆ setShadow()
void TextField::setShadow | ( | int | s | ) |
Definition at line 146 of file textfield.cpp.
Member Data Documentation
◆ alignment
|
protected |
Definition at line 50 of file textfield.h.
◆ bgColor
|
protected |
Definition at line 53 of file textfield.h.
◆ color
|
protected |
Definition at line 52 of file textfield.h.
◆ font
|
protected |
Definition at line 51 of file textfield.h.
◆ lineHeight
|
protected |
Definition at line 55 of file textfield.h.
◆ shadow
|
protected |
Definition at line 54 of file textfield.h.
The documentation for this class was generated from the following files: