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

Public Member Functions | |
| YQTextEntry (QWidget *parent, const YWidgetOpt &opt, const YCPString &label, const YCPString &text) | |
| void | setEnabling (bool enabled) |
| long | nicesize (YUIDimension dim) |
| void | setSize (long newWidth, long newHeight) |
| void | setText (const YCPString &text) |
| YCPString | getText () |
| void | setLabel (const YCPString &label) |
| void | setValidChars (const YCPString &validChars) |
| void | setInputMaxLength (const YCPInteger &numberOfChars) |
| virtual bool | setKeyboardFocus () |
| bool | isValidText (const QString &text) const |
Protected Slots | |
| void | changed (const QString &) |
Protected Attributes | |
| QLabel * | _qt_label |
| QLineEdit * | _qt_lineedit |
| QY2CharValidator * | _validator |
| bool | _shrinkable |
|
||||||||||||||||||||
|
Constructor. |
|
|
Triggered when the text in the TextEntry changes. This _may_ be of interest to the module. |
|
|
Gets the text currently entered in the text entry Implements YTextEntry. |
|
|
Returns 'true' if a given text is valid according to ValidChars. |
|
|
Minimum size the widget should have to make it look and feel nice. Dimension, either YD_HORIZ or YD_VERT Implements YWidget. |
|
|
Inherited from YWidget: Sets the enabled state of the widget. All new widgets are enabled per definition. Only enabled widgets can take user input. Reimplemented from YWidget. |
|
|
Specify the amount of characters which can be inserted. Reimplemented from YTextEntry. Reimplemented from YTextEntry. |
|
|
Accept the keyboard focus. Reimplemented from YWidget. |
|
|
Changes the label of the text entry. Reimplemented from YTextEntry. |
|
||||||||||||
|
Sets the new size of the widget. Reimplemented from YWidget. |
|
|
Set the text in the entry to a new value Implements YTextEntry. |
|
|
Change the valid input characters. Reimplemented from YTextEntry. Reimplemented from YTextEntry. |
|
|
Pointer to the qt widget representing the label |
|
|
Pointer to the qt widget representing the text entry |
|
|
true if the horizontal nice size should be very small |
|
|
Pointer to the validator object |
1.4.4