jimbo
1st June 2015, 13:42
Hello,
Debian 'Wheezy' - Qt4 - C++
I'm calling a system teminal and I can paste the clipbord contents into the terminal with a mouse right click & paste.
OK so far.
QClipboard *myClip = QApplication::clipboard();
myClip->setText(myCommandString);
tProcess = new QProcess(this);
QString program = ("lxterminal -e");
tProcess->start(program);Would it be possible to use the centre mouse button to paste, as is normal in linux?
Or is it possible to paste to the termimal programmatically?
I would like the terminal to stay visible after the paste as 'myCommandString' expects a user response.
Regards
Debian 'Wheezy' - Qt4 - C++
I'm calling a system teminal and I can paste the clipbord contents into the terminal with a mouse right click & paste.
OK so far.
QClipboard *myClip = QApplication::clipboard();
myClip->setText(myCommandString);
tProcess = new QProcess(this);
QString program = ("lxterminal -e");
tProcess->start(program);Would it be possible to use the centre mouse button to paste, as is normal in linux?
Or is it possible to paste to the termimal programmatically?
I would like the terminal to stay visible after the paste as 'myCommandString' expects a user response.
Regards