Commit Graph

28 Commits

Author SHA1 Message Date
Michael Spencer 21334dac00 Add support for getting the name of the foreground process 2016-02-05 18:03:59 -06:00
Michael Spencer 21120e5382 Add a property to check whether a subprocess is running in the shell 2016-02-05 17:33:51 -06:00
Filippo Scognamiglio 5aef9f217a Merge pull request #8 from KnairdA/expose_signal
Expose signal sending to QML
2015-12-15 18:31:00 +01:00
Filippo Scognamiglio 6bb7e63127 Merge pull request #7 from KnairdA/master
Expose complete history to QML
2015-12-15 18:30:30 +01:00
Adrian Kummerlaender 86bf61d543 Fix initial working directory comparison
Otherwise setting the initial working directory of the contained process is not possible.
2015-12-05 21:04:45 +01:00
Adrian Kummerlaender df551b8812 Expose session signal sending to QML
As QTermWidget's `Session` class already offers support for sending signals to the contained process it makes sense to expose this functionality to it's QML version.

Otherwise one would have to resort to fiddling around with process ids and system calls or further external applications inside QML to send signals to processes launched using the widget.

Adding a `stopShellProgram`  method to `KSession` complementing `startShellProgram` was also considered but exposing `sendSignal` offers a more general interface.
2015-09-04 21:53:16 +02:00
Adrian Kummerlaender 06321bd308 Expose complete history to QML
The use case for this functionality is to be able to e.g. display the terminal application's output after it was terminated.
This requires exposing a `clearScreen` method to QML as the history only contains the lines not currently displayed in the widget. If we want to access the whole output we have to be able to flush the screen beforehand.

The single argument overload of `Emulation::writeToStream` simplifies reading the complete history at once without having to further expose it's length.
2015-08-29 22:24:25 +02:00
Filippo Scognamiglio 0d755b010f Merge pull request #4 from KnairdA/master
Expose program arguments and session started signal to QML
2015-08-16 12:16:51 +02:00
Filippo Scognamiglio b39681d7bf Fix merge conflicts. 2015-08-16 12:10:49 +02:00
ian geiser ff81d5f08d Added a few more properties as well as removing some of the warnings
about missing READ members.
2015-08-06 10:32:14 -04:00
Adrian Kummerlaender 1f9ef3bae4 Expose session started signal to QML 2015-07-04 23:31:53 +02:00
Adrian Kummerlaender 20f714e013 Expose shellProgramArgs to QML 2015-07-04 23:28:44 +02:00
Filippo Scognamiglio 71f2f3f9f0 Fix: Pass string list as const so that it's readable from QML. 2014-12-21 16:13:51 +01:00
Filippo Scognamiglio dafc4f8e3b Added optional purely QML scrollbar. 2014-11-12 17:05:17 +01:00
Filippo Scognamiglio e9ee4c9091 Actual QML port, moved from QWidget to QQuickPaintedItem. Setup of the project, added sample test-app. 2014-11-06 01:51:23 +01:00
Filippo Scognamiglio 92a5e5d37d Restructuring the project. Removing unused files and adding dummy README.md 2014-11-06 01:00:32 +01:00
Jerome Leclanche 3a8cdc68ee CMakeLists.txt cleanup 2014-10-21 17:31:46 +02:00
Petr Vanek 5d3ef34cc2 fixed #11 compile against Qt 5 (Qt4 and Qt5 supported and waguely tested) 2014-04-11 21:28:52 +02:00
Petr Vanek d6ceb5ae00 build simplified: qtermwidget is versioned (libqtermwidget4 for Qt4, 5 for Qt5...). Better cmake support. 2014-04-11 20:50:22 +02:00
Petr Vanek 4955656ecc qt/embedded doesn't ship with a Monospace font (and it won't use system fonts even if they exist). Using 'fixed' instead works fine 2013-02-05 11:40:31 +01:00
Petr Vanek 08f11bf10d Merge https://github.com/surlykke/qtermwidget
Conflicts:
	src/main.cpp
2013-01-15 17:11:13 +01:00
Christian Surlykke 4f9e1c4a06 Added search functionality 2013-01-13 20:36:29 +01:00
Francisco Ballina b398acfbd4 Add zoom. Add choice action after paste clipboard 2012-11-19 23:10:35 -06:00
Petr Vanek 2be1dbb707 improved sample app for testing 2011-09-25 15:29:15 +02:00
Petr Vanek 17c50dcb14 lib has to be built first in any case 2011-07-01 09:42:51 +02:00
Petr Vanek f4c8bcd1c7 build cleanup; make dist; various readmes updated 2010-11-28 20:45:15 +01:00
Petr Vanek b5a79e17aa patches to build on BSD by Christopher VdoP 2010-10-18 20:49:53 +02:00
Petr Vanek 2d6c2b82b7 initial import 2010-09-11 10:50:46 +02:00