#include <YRichText.h>
Inheritance diagram for YRichText:
Public Member Functions | |
YRichText (const YWidgetOpt &opt, YCPString text) | |
virtual char * | widgetClass () |
YCPValue | changeWidget (const YCPSymbol &property, const YCPValue &newvalue) |
YCPValue | queryWidget (const YCPSymbol &property) |
virtual void | setText (const YCPString &RichText) |
YCPString | getText () |
Protected Attributes | |
YCPString | text |
bool | autoScrollDown |
RichText
A RichText
is a text area with two major differences to a Label
: The amount of data it can contain is not restricted by the layout and a number of control sequences are allowed, which control the layout of the text.
Refer to the YaST2 RichText specification for details.
|
Constructor
|
|
Implements the ui command changeWidget. Reimplemented from YWidget. |
|
Get the current RichText text. This method cannot be overidden. The value of the RichText cannot be changed other than by calling setRichText, i.e. not by the ui. Therefore setRichText stores the current RichText in #RichText. |
|
Implements the ui command queryWidget Reimplemented from YWidget. |
|
Change the RichText text. Overload this, but call YRichText::setRichText at the end of your own function. |
|
Returns a descriptive name of this widget class for logging, debugging etc. Reimplemented from YWidget. |
|
Flag: Should the text automatically scroll all the way down upon text change? |
|
Current text of the RichText |