#include <YLogView.h>
Inheritance diagram for YLogView:

Public Member Functions | |
| YLogView (const YWidgetOpt &opt, const YCPString &label, int visibleLines, int maxLines) | |
| virtual char * | widgetClass () |
| YCPValue | changeWidget (const YCPSymbol &property, const YCPValue &newvalue) |
| YCPValue | queryWidget (const YCPSymbol &property) |
| virtual void | setLogText (const YCPString &text)=0 |
| YCPString | label () const |
| int | visibleLines () const |
| int | maxLines () const |
| virtual void | setLabel (const YCPString &newLabel) |
| string | logText () |
| void | appendText (const YCPString &text) |
| void | appendLine (const string &line) |
| void | clearText () |
| int | lines () const |
| const char * | shortcutProperty () |
Private Attributes | |
| YCPString | _label |
| int | _visibleLines |
| int | _maxLines |
| deque< string > | _logText |
|
||||||||||||||||||||
|
Constructor. |
|
|
Append one single line to the log text. |
|
|
Append one or more lines to the log text. |
|
||||||||||||
|
Implements the ui command changeWidget for the widget specific properties. Reimplemented from YWidget. |
|
|
Clear the log text. |
|
|
Get the label above the log lines. |
|
|
Return the current number of lines. |
|
|
Retrieve the entire log text as one large string of concatenated lines delimited with newlines. |
|
|
Get the maximum number of lines to store. |
|
|
Implements the ui command changeWidget for the widget specific properties. Reimplemented from YWidget. |
|
|
Set the label above the log lines. Overload this, but call YLogView::setLabel at the end of your own function. |
|
|
Set the log text. |
|
|
The name of the widget property that holds the keyboard shortcut. Inherited from YWidget. Reimplemented from YWidget. |
|
|
Get the number of visible lines. |
|
|
Returns a descriptive name of this widget class for logging, debugging etc. Reimplemented from YWidget. |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.4