Nyx
24th June 2011, 07:49
Hello,
I'm trying to do an auto completer for parenthesis but when I insert ")" in my QPlainText while "(" key is pressed I get ")(" instead of "()". That 's propably because the inserted text is written before the pressed key. How could I do?
Tanks for your help.
PS: I don't want to use keyReleaseEvent because this is lagging to much.
I'm trying to do an auto completer for parenthesis but when I insert ")" in my QPlainText while "(" key is pressed I get ")(" instead of "()". That 's propably because the inserted text is written before the pressed key. How could I do?
Tanks for your help.
PS: I don't want to use keyReleaseEvent because this is lagging to much.