products:pyrog:api:lastest:types:properties:password_string_property
Текст документации сгенерирован автоматически из исходного кода.
Если обнаружили ошибку, отправьте об этом сообщение на 📧почту.
PasswordStringProperty
Inherits: StringProperty
Class of property that provides input of string value.
Provides widget means to hiding/showing input password
Attributes:
- value_changed: str — This signal is emitted when value is changed.
Constructor:
def PasswordStringProperty.__init__(default_value: str = '', name: str | LangConstant = tr.UNNAMED, maxlen: int = 32767, input_mask: str | LangConstant = '', placeholder: str | LangConstant = '', re_validator: str | LangConstant = '', show_discover_btn: bool = False, tooltip = '')
Initializes class of property.
The description of the arguments is identical to the description of the parameters with the same names.
Parameters:
- default_value: str — default value of property
- name: str | LangConstant — name of property
- maxlen: int — maximum length of string
- input_mask: str | LangConstant — validation input mask, see detailed info: https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QLineEdit.html#PySide6.QtWidgets.QLineEdit.inputMask
- placeholder: str | LangConstant — placeholder text
- re_validator: str | LangConstant — regular expression used for validation, see detailed info: https://doc.qt.io/qtforpython-6/PySide6/QtGui/QRegularExpressionValidator.html#PySide6.QtGui.QRegularExpressionValidator
- show_discover_btn: bool — state of button for hiding/displaying password text
- tooltip — (without description)
Properties
show_discover_btn
State of button for hiding/displaying password text
Returns:
- bool — state of button; True - button is displayed, False - otherwise.
Methods
get_input_widget
reset_value
def reset_value() -> None
Returns:
- None — (without description)
products/pyrog/api/lastest/types/properties/password_string_property.txt · Последнее изменение: — 127.0.0.1