Can we make PlaintextEdit a console window?
I have two PlaintextEdit's A and B in my project. A for writing program and for B for displaying output , so I want to make plainTextEdit a console window is it possible?
What do you mean by "console window" ? An output widget that will show text or some kind of terminal emulator ?
yes some kind of terminal emulator like Qt Command Prompt or system Command prompt
Creating a terminal emulator is not an easy task and AFAIK there's currently no such beast that works on Linux + OS X + Windows.
What would you like to achieve with that widget ?
You can use sockets:
Concept is : -
Running 2 instances of Consoles as plaintextedit and communicate them.I am just guessing.
But think it..
Hope it will help.