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

Public Member Functions | |
| YMultiLineEdit (const YWidgetOpt &opt, const YCPString &label) | |
| virtual char * | widgetClass () |
| YCPValue | changeWidget (const YCPSymbol &property, const YCPValue &newvalue) |
| YCPValue | queryWidget (const YCPSymbol &property) |
| virtual void | setLabel (const YCPString &newLabel) |
| virtual void | setText (const YCPString &text)=0 |
| virtual YCPString | text ()=0 |
| YCPString | label () const |
| const char * | shortcutProperty () |
| const char * | userInputProperty () |
| virtual void | setInputMaxLength (const YCPInteger &numberOfChars) |
Private Member Functions | |
| virtual void | saveUserInput (YMacroRecorder *macroRecorder) |
Private Attributes | |
| YCPString | _label |
MultiLineEdit
This widget is a multiple line text entry field with a label above it. An initial text can be provided.
| YMultiLineEdit::YMultiLineEdit | ( | const YWidgetOpt & | opt, | |
| const YCPString & | label | |||
| ) |
Constructor.
| virtual char* YMultiLineEdit::widgetClass | ( | ) | [inline, virtual] |
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YWidget.
| YCPValue YMultiLineEdit::changeWidget | ( | const YCPSymbol & | property, | |
| const YCPValue & | newvalue | |||
| ) | [virtual] |
Implements the ui command changeWidget for the widget specific properties.
The text contents as one large string containing newlines.
Reimplemented from YWidget.
Implements the ui command changeWidget for the widget specific properties.
Reimplemented from YWidget.
| void YMultiLineEdit::setLabel | ( | const YCPString & | newLabel | ) | [virtual] |
Set the label above the log lines. Overload this, but call YMultiLineEdit::setLabel at the end of your own function.
| virtual void YMultiLineEdit::setText | ( | const YCPString & | text | ) | [pure virtual] |
Set the edited text.
| virtual YCPString YMultiLineEdit::text | ( | ) | [pure virtual] |
Get the edited text.
| YCPString YMultiLineEdit::label | ( | ) | const [inline] |
Get the label above the log lines.
| const char* YMultiLineEdit::shortcutProperty | ( | ) | [inline, virtual] |
| const char* YMultiLineEdit::userInputProperty | ( | ) | [inline, virtual] |
| void YMultiLineEdit::setInputMaxLength | ( | const YCPInteger & | numberOfChars | ) | [virtual] |
Specify the amount of characters which can be inserted.
Overload this to limit the input.
| void YMultiLineEdit::saveUserInput | ( | YMacroRecorder * | macroRecorder | ) | [private, virtual] |
YCPString YMultiLineEdit::_label [private] |
1.5.0