#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 () |
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.
Notice: You can and should set a keyboard shortcut within the label. When the user presses the hotkey, the corresponding MultiLineEdit widget will get the keyboard focus.
|
Constructor. |
|
Implements the ui command changeWidget for the widget specific properties. string Value The text contents as one large string containing newlines. string Label The label above the log text. Reimplemented from YWidget. |
|
Get the label above the log lines. |
|
Implements the ui command changeWidget for the widget specific properties. Reimplemented from YWidget. |
|
Save the widget's user input to a macro recorder. Intentionally declared as "private" so all macro recording internals are handled by the abstract libyui level, not by a specific UI. Reimplemented from YWidget. |
|
Set the label above the log lines. Overload this, but call YMultiLineEdit::setLabel at the end of your own function. |
|
Set the edited text. |
|
The name of the widget property that holds the keyboard shortcut. Inherited from YWidget. Reimplemented from YWidget. |
|
Get the edited text. |
|
Returns a descriptive name of this widget class for logging, debugging etc. Reimplemented from YWidget. |
|
|