KoFontChooser Class Reference
The embeddable font chooser widget. More...
#include <koFontDia.h>
Inheritance diagram for KoFontChooser:


Public Member Functions | |
KoFontChooser (QWidget *parent, const char *name=0, bool _withSubSuperScript=true, uint fontListCriteria=0) | |
void | setFormat (const KoTextFormat &format) |
KoTextFormat | newFormat () const |
int | changedFlags () const |
Protected Slots | |
void | slotSuperScriptClicked () |
void | slotSubScriptClicked () |
void | slotStrikeOutTypeChanged (int) |
void | slotFontChanged (const QFont &) |
void | slotChangeColor () |
void | slotChangeBackGroundColor () |
void | slotUnderlineColor () |
void | slotChangeUnderlineType (int) |
void | slotChangeUnderlining (int) |
void | slotChangeStrikeOutType (int) |
void | slotShadowChanged () |
void | slotRelativeSizeChanged (int) |
void | slotOffsetFromBaseLineChanged (int) |
void | slotChangeAttributeFont (int) |
void | slotWordByWordClicked () |
void | slotChangeLanguage (int) |
void | slotHyphenationClicked () |
Protected Member Functions | |
void | setFont (const QFont &_font, bool _subscript, bool _superscript) |
void | setColor (const QColor &col) |
void | setBackGroundColor (const QColor &col) |
bool | superScript () const |
bool | subScript () const |
KoTextFormat::VerticalAlignment | vAlign () const |
QFont | newFont () const |
QColor | color () const |
QColor | backGroundColor () const |
QColor | underlineColor () const |
void | setUnderlineColor (const QColor &col) |
KoTextFormat::UnderlineType | underlineType () const |
KoTextFormat::UnderlineStyle | underlineStyle () const |
KoTextFormat::StrikeOutType | strikeOutType () const |
KoTextFormat::StrikeOutStyle | strikeOutStyle () const |
void | setUnderlineType (KoTextFormat::UnderlineType nb) |
void | setStrikeOutlineType (KoTextFormat::StrikeOutType nb) |
void | setUnderlineStyle (KoTextFormat::UnderlineStyle _t) |
void | setStrikeOutStyle (KoTextFormat::StrikeOutStyle _t) |
void | setShadow (double shadowDistanceX, double shadowDistanceY, const QColor &shadowColor) |
double | shadowDistanceX () const |
double | shadowDistanceY () const |
QColor | shadowColor () const |
bool | wordByWord () const |
void | setWordByWord (bool _b) |
bool | hyphenation () const |
void | setHyphenation (bool _b) |
QString | language () const |
void | setLanguage (const QString &) |
KoTextFormat::AttributeStyle | fontAttribute () const |
void | setFontAttribute (KoTextFormat::AttributeStyle _att) |
double | relativeTextSize () const |
void | setRelativeTextSize (double _size) |
int | offsetFromBaseLine () const |
void | setOffsetFromBaseLine (int _offset) |
void | setupTab1 (uint fontListCriteria) |
void | setupTab2 (bool _withSubSuperScript) |
void | updatePositionButton () |
Detailed Description
The embeddable font chooser widget.
Definition at line 38 of file koFontDia.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 352 of file koFontDia.cc. |
Member Function Documentation
|
Set the text format to be displayed. This contains all the attributes - no need to use setFont etc. Definition at line 1079 of file koFontDia.cc. References KoTextFormat::attributeFont(), KoTextFormat::color(), KoTextFormat::font(), KoTextFormat::hyphenation(), KoTextFormat::language(), KoTextFormat::offsetFromBaseLine(), KoTextFormat::relativeTextSize(), KoTextFormat::shadowColor(), KoTextFormat::shadowDistanceX(), KoTextFormat::shadowDistanceY(), KoTextFormat::strikeOutStyle(), KoTextFormat::strikeOutType(), KoTextFormat::textBackgroundColor(), KoTextFormat::textUnderlineColor(), KoTextFormat::underlineStyle(), KoTextFormat::underlineType(), KoTextFormat::vAlign(), and KoTextFormat::wordByWord(). |
|
Definition at line 1107 of file koFontDia.cc. |
|
Definition at line 68 of file koFontDia.h. |
The documentation for this class was generated from the following files: