Как убрать внешнюю синюю рамку? спасибо!
class MainWindow(QMainWindow):
def __init__(self):
QMainWindow.__init__(self)
self.lineEdit = QLineEdit(self)
self.lineEdit.setGeometry(QRect(20, 20, 100, 30))
self.lineEdit.setStyleSheet("QLineEdit:focus { border-radius: 5px; border:1px solid #c6255e;}");
layout = QHBoxLayout()
layout.addWidget(self.lineEdit)
self.setLayout(layout)
self.resize(200, 200)
if __name__ == "__main__":
app = QApplication([])
mainWindow = MainWindow()
mainWindow.show()
sys.exit(app.exec_())