[Solved]QTextEdit terminal
-
look at "qtserialport":http://qt.gitorious.org/qtplayground/qtserialport
in examples\terminal\ directory you find what you need. -
Thank you for your reply but in that repository there is not the solution.
I want to use my QTextEdit like a terminal, but I want to input some command in it.
The code in that repository doesn't allow to delete the content by discarding the backspace action.
I want to realize the same behavior like a command prompt.
Any suggestions? -
Please take a look at "ReplWidget":https://github.com/pb82/ReplWidget
Repl means "Read-Eval-Print-Loop" which is generally used in script language environment and this is similar to command prompt. And the code there was not complex when I first looked into, so I believe you'd feel comformtable.
Good luck -
bq. Please take a look at ReplWidget [github.com]
Thank you so much!
This is perfect for my purposes!