We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment : / 环境
请问有没有办法只设置QTextEdit的部分字符只读?如图,我想设置inlutFile只读和可选,而其他字符串可以修改。
The text was updated successfully, but these errors were encountered:
好像没有直接的方法可以这样,不过可以结合多个信号或者函数来达到类似的效果,比如selectionChanged 信号 https://doc.qt.io/qt-5/qtextedit.html#selectionChanged ,setReadonly等等。需要自己实现这样的逻辑
selectionChanged
Sorry, something went wrong.
好的,多谢。
No branches or pull requests
Environment : / 环境
请问有没有办法只设置QTextEdit的部分字符只读?如图,我想设置inlutFile只读和可选,而其他字符串可以修改。
The text was updated successfully, but these errors were encountered: