Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CLineEdit

D. Liam Mc. edited this page Apr 18, 2026 · 2 revisions
CButton Image CButton Image

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

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.