如何更改QLineEdit
中的字体颜色?
self.texteditor1= QtGui.QLineEdit(self)
font = self.texteditor1.font()
font.setPointSize(10)
self.texteditor1.setFont(font)
self.texteditor1.setFixedWidth(640)
self.texteditor1.setFixedHeight(30)
self.texteditor1.adjustSize()
self.texteditor1.move(20,120)