pyqt5-QLineEdit
pyqt5-QLineEdit单行文本框组件
1、介绍 QLineEdit,单行文本框组件。 2、基础使用 setText(self, a0: str) 设置显示文本 text(self) -> str 获取显示文本 setPlaceholderText(self, a0: str) 设置占位文本 placeholderText(self) - ......
pyqt5-QLineEdit
1、介绍 单行文本输入组件。 2、类和初始化 class QLineEdit(QWidget): """ QLineEdit(parent: QWidget = None) QLineEdit(str, parent: QWidget = None) """ def __init__(self, * ......