![]() |
wwWidgets Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions |
![]() |
The QwwRichTextEdit widget provides a drop-in replacement for QTextEdit that contains a toolbar for editing rich text data. More...
#include <QwwRichTextEdit>
The QwwRichTextEdit widget provides a drop-in replacement for QTextEdit that contains a toolbar for editing rich text data.
Constant | Value | Description |
---|---|---|
QwwRichTextEdit::BoldAction | 0 | Makes the text bold |
QwwRichTextEdit::ItalicAction | 1 | Makes the text italic |
QwwRichTextEdit::UnderlineAction | 2 | Makes the text underlined |
QwwRichTextEdit::LeftAlignAction | 3 | Makes the text left aligned |
QwwRichTextEdit::RightAlignAction | 4 | Makes the text right aligned |
QwwRichTextEdit::AlignCenterAction | 5 | Makes the text aligned to the centre |
QwwRichTextEdit::JustifyAction | 6 | Makes the text justified |
QwwRichTextEdit::ColorAction | 7 | Changes the color of the text |
QwwRichTextEdit::FontFamilyAction | 8 | Changes the font family of the text |
QwwRichTextEdit::FontSizeAction | 9 | Changes the font size of the text |
Constant | Value | Description |
---|---|---|
QwwRichTextEdit::NoOptions | 0x0 | No options are set |
QwwRichTextEdit::Style | 0x01 | Text style |
QwwRichTextEdit::Alignment | 0x02 | Item alignment |
QwwRichTextEdit::FontFamily | 0x04 | Font family |
QwwRichTextEdit::FontSize | 0x08 | Font size |
QwwRichTextEdit::Color | 0x10 | Text color |
The Options type is a typedef for QFlags<Option>. It stores an OR combination of Option values.
This property holds this property holds the active set of options.
Access functions:
Constructs a rich text edit with a given parent
Changes alignment of the text to the one specified by action a
Changes the bold attribute of the selected text to v
Changes the color of the selected text to c
Changes the font of the selected text to f
Changes the italic attribute of the selected text to v
Changes the list attribute of the selected text to v
Changes the underline attribute of the selected text to v
Returns the QAction object associated with action act
Updates the format of the selected text
Updates actions to reflect the format specified by fmt
Copyright © 2007-2009 Witold Wysota | Trademarks | wwWidgets 0.9.6 |