Инструменты пользователя

Инструменты сайта


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:

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

def get_input_widget() -> PasswordInput

Returns:

reset_value

def reset_value() -> None

Returns:

  • None — (without description)
products/pyrog/api/lastest/types/properties/password_string_property.txt · Последнее изменение: 127.0.0.1