◆ from_string()
Convert a string to a value.
- Parameters
-
| self | The widget controlled by this delegate. |
| text | The text string to convert to a value. |
| [out] | error | An localized error message to inform the user what is wrong. |
- Returns
- value_type The value if the string conversion was successful. empty when the string conversion was NOT successful.
◆ suggestions()
The list of suggestions to show in the popup box.
- Parameters
-
| self | The widget controlled by this delegate. |
- Returns
- A list of suffestion to show in the popup box.
◆ text_width()
The width of the text field in characters.
- Parameters
-
| self | The widget controlled by this delegate. |
- Returns
- The width of the text field box (excluding prefix and suffix) in characters.
◆ to_string()
Convert a value to a string.
- Parameters
-
| self | The widget controlled by this delegate. |
| value | The original value before editing. |
- Returns
- The string to be shown inside the text field box.
The documentation for this class was generated from the following file: