CLineEdit - Dliammc/CustomPyQt GitHub Wiki

Example


line_edit = CLineEdit(self, placeholder_text="CLineEdit")

Arguments

Argument Value
master self, Any PySide Qt Widget or PyCt Widget
width integer, width in pixels
height integer, height in pixels
text string, text
placeholder_text string, placeholder text
tooltip string, tooltip
font_family string, font
font_size integer, font size in pixels
font_style string, font style
border_width integer, border width in pixels
corner_radius integer, corner radius in pixels
text_color tuple: ("light color", "dark color") or single color, text color
placeholder_text_color tuple: ("light color", "dark color") or single color, placeholder text color
background_color tuple: ("light color", "dark color") or single color, background color
border_color tuple: ("light color", "dark color") or single color, border color
disabled_text_color tuple: ("light color", "dark color") or single color, disabled text color
disabled_background_color tuple: ("light color", "dark color") or single color, disabled background color