4.15. Line widget class

The Line class inherits QLineEdit Qt class.

Widget's input value

A string or any object that can be converted to a string.

Widget's attributes

passwd
If set to True, the widget displays asterisks instead of the characters actually entered.
ro
if set to False, the line edit will be read only.
strip
if set to False, spaces are not stripped from the line edit value.
max_len
The maximum length of the line edit.
mask
This attribute holds the validation input mask. See inputMask property of the QLineEdit Qt class for more details on mask format.
validator
Validator type of input text. Possible values are : int, date, time.

Widget's output value

An unicode string.