26 #ifndef YQMultiLineEdit_h 27 #define YQMultiLineEdit_h 30 #include <yui/YMultiLineEdit.h> 60 virtual std::string
value();
68 virtual void setValue(
const std::string & text );
75 virtual void setLabel(
const std::string & label );
111 virtual void setSize(
int newWidth,
int newHeight );
141 QTextEdit * _qt_textEdit;
145 #endif // YQMultiLineEdit_h void changed()
Triggered when the text changes.
virtual std::string value()
Get the current value (the text entered by the user or set from the outside) of this MultiLineEdit...
virtual void setEnabled(bool enabled)
Set enabled/disabled state.
MultiLineEdit - an input area for multi-line text.
virtual void setValue(const std::string &text)
Set the current value (the text entered by the user or set from the outside) of this MultiLineEdit...
virtual int preferredWidth()
Preferred width of the widget.
virtual ~YQMultiLineEdit()
Destructor.
virtual void setInputMaxLength(int numberOfChars)
Set the maximum input length, i.e., the maximum number of characters the user can enter...
virtual bool setKeyboardFocus()
Accept the keyboard focus.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
void enforceMaxInputLength()
Enforce the maximum input length: If the text becomes too long, remove the just-entered character at ...
virtual void setLabel(const std::string &label)
Set the label (the caption above the MultiLineEdit).
virtual int preferredHeight()
Preferred height of the widget.
YQMultiLineEdit(YWidget *parent, const std::string &label)
Constructor.