LoginSignup
0
1

More than 3 years have passed since last update.

imput method を受け付けないQLineEdit

Posted at

備忘録です。
本当は制御するものが欲しくていろいろ探しています。

import sys
from PySide2 import QtCore
from PySide2 import QtGui
from PySide2 import QtWidgets


app = QtWidgets.QApplication(sys.argv)

hello = QtWidgets.QLineEdit("")
hello.setAttribute(QtCore.Qt.WA_InputMethodEnabled,False)
hello.resize(200, 100)
hello.show()

sys.exit(app.exec_())


0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1