Luís Pereira
86cb8acc30
Bump minimum required Qt version to 5.15
...
Part of https://github.com/lxqt/lxqt/discussions/1974 .
2021-04-27 21:20:22 +01:00
tsujan
54044133ce
Added modes for background image ( #385 )
...
* Added modes for background image
They are "None", "Stretch", "Zoom", "Fit" and "Center".
Some problems are fixed in the code for the following purposes:
1. The background image isn't limited to translucent terminals.
2. The background color isn't blended with the background image. Blending is not only ugly but unneeded. Instead, the user can use translucent images as the background.
3. Image scaling is smooth and antialiasing.
A patch for QTerminal will follow this to use it.
* Just added some curly brackets
2021-03-01 01:25:54 +08:00
Chih-Hsuan Yen
a35bf8db43
Pasting-related features should be in qtermwidget
...
Those were added to qterminal in [1], which makes fixing paste-related
issues harder.
[1] https://github.com/lxqt/qterminal/pull/309
2021-01-09 00:23:35 +08:00
Chih-Hsuan Yen
71f8049760
Properly implement the "Action after paste" feature
...
Scroll to end only when data is not from pasting
Fixes https://github.com/lxqt/qterminal/issues/43
Fixes https://github.com/lxqt/qterminal/issues/741
2021-01-09 00:23:35 +08:00
Tsu Jan
7514ebbe1a
Added a QTermWidget method to disable bracketed paste mode
...
Will be followed and used by a QTerminal patch.
2020-12-24 12:34:46 +08:00
Luís Pereira
75151677cf
Adapt to use Qt5.15 Qt::SplitBehavior
2020-12-08 19:43:43 +08:00
Luís Pereira
4b32b62df3
Use const references where possible
...
Good practice and a minor performance improvement.
2020-10-23 21:34:33 +08:00
Thore Bödecker
8eac739cbc
Allow QTermWidget access to TerminalDisplay::setBoldIntense
2020-06-19 22:32:58 +08:00
Luís Pereira
ae71042e0d
Prevent a c++11 range-loop might detach Qt container
...
Just make it const.
2020-01-18 23:39:39 +01:00
Tsu Jan
e9d6b36624
Removed some debug outputs
...
Users don't need to seem them. If an info is really important, it should be shown in a message box, IMHO.
2019-10-21 21:08:54 +02:00
Gary Wang
b4b11ae719
feat: add sendKeyEvent() api
2019-08-17 20:46:44 +02:00
Chih-Hsuan Yen
64fef7ab3c
Allow to disable drawing line chars
2019-07-15 22:39:00 +02:00
Anders Bakken
5637ea1e5e
Add QTermWidget::saveHistory
...
This enables an application to implement the functionality of easily
opening the entire history as a file in your favorite editor.
2019-06-21 12:44:08 +08:00
Luís Pereira
ab49998a39
Use class instead of struct
...
TermWidgetImpl fits a Implementation class use.
2019-05-02 20:02:17 +08:00
Luís Pereira
b8906f6b0c
Port towards C++11 nullptr
2019-04-13 15:49:15 +02:00
Andrew Janke
fa4a1bad42
Fix default font on macOS
...
Qt does not support fontconfig on macOS, so we need to work around it and
provide a "real" font family name for the default font. Otherwise, "Monospace"
will be unrecognized and it will fall back to a variable-width font.
2019-03-10 14:26:09 +08:00
Chih-Hsuan Yen
b09e1d4882
Revert "Rework on memory management of filter-related objects"
...
This reverts commit 0154e036c7 .
2019-01-14 13:17:00 +08:00
Shlyak Pavel
c1e94c94df
Remove unnecessary checks
2018-12-10 01:18:54 +01:00
Ecmel B. CANLIER
8eba2e2d3b
Implement methods to change padding
2018-09-02 17:31:12 +08:00
Luís Pereira
c6880070e9
Don't use automatic string conversions
...
* Disables automatic conversions from 8-bit strings (char *) to unicode
QStrings.
* Disables automatic conversion from QString to 8-bit strings (char *).
* Disables automatic conversions from QByteArray to const char * or const
void *.
* Disables automatic conversions from QString (or char *) to QUrl.
* Use QStringBuilder for more efficient string creation.
It make us aware of string and encoding conversions.
2018-08-05 22:09:57 +08:00
Yen Chi Hsuan
0154e036c7
Rework on memory management of filter-related objects
2018-06-28 12:20:07 +02:00
Zang MingJie
1d4ddc8afd
Expose bracket text function
2018-01-13 03:10:31 +01:00
Luís Pereira
ba85185c40
Drop Qt foreach.
...
Replaced with the ranged-for loop.
Using QT_NO_FOREACH to enforce it.
Qt 5.7.1 required.
2018-01-12 20:16:19 +01:00
BlahGeek
02e1ea9702
Expose terminal size hint API
2017-12-10 16:26:56 +01:00
Safa AlFulaij
26a3c17960
Return something
2017-12-10 16:15:35 +01:00
Safa AlFulaij
55393cd695
Expose bidi option
2017-12-10 16:15:35 +01:00
Yen Chi Hsuan
3e7f8d7875
Handle DECSCUSR signals
2017-07-21 19:51:55 +02:00
Donnie West
ab8a62fce6
This commit allows the consumer of qtermwidget to capture the ( #111 )
...
profileChanged signal and receive all of the settings change escape
codes
Fixes #110
2017-04-24 21:41:48 +02:00
Yen Chi Hsuan
443040dd24
Allow the terminal display to be smaller than the size hint ( #123 )
...
Fixes https://github.com/lxde/qterminal/issues/288
2017-04-24 21:27:20 +02:00
Yen Chi Hsuan
248f29e9ff
Add translation mechanism
2017-02-26 23:19:26 +08:00
Andreas Heck
553eaf16ee
Exposes receivedData signal to users of QTermWidget
2017-01-03 00:08:43 +01:00
Andreas Heck
c7103b0cc6
Exposes sessions autoClose property to QTermWidget
2016-12-25 01:39:32 +08:00
Yen Chi Hsuan
58f96bacb3
Implement background images ( #95 )
2016-11-20 22:18:29 +01:00
Yen Chi Hsuan
000fc2e8cf
Preparations for context menu actions on URLs ( #97 )
...
1. Define click-action so that QTermWidget clients can tell clicking
from context menu actions
2. Expose filterActions
2016-11-20 15:26:14 +01:00
Palo Kisa
d44e3ede69
qtermwidget: Unify title & icon propagation
2016-07-26 15:00:31 +02:00
Yen Chi Hsuan
470295d015
Add 'const' decorators
2016-07-18 00:33:07 +08:00
Yen Chi Hsuan
098bc377ff
Expose titleChanged() signal
2016-07-17 19:10:10 +08:00
Igor
ad59d1dc5e
Allow app to add custom color sheme locations
2016-05-25 11:15:14 +03:00
Igor
d1c22ac5da
Avoid enums duplication
2016-05-23 17:27:17 +03:00
Igor
bc85769b73
Add support for setting keyboard cursor shape
2016-05-23 17:03:04 +03:00
Paulo Lieuthier
0ae52e5bf3
Enable terminal resizing from the emulator
...
The pieces were all already there, but not connected.
2015-11-05 17:39:54 -03:00
Jerome Leclanche
72ffc262eb
Clean up trailing whitespaces
2015-07-09 20:22:48 +02:00
F1ash
7c315942d3
implemented start TTY for external recipient;
2015-02-22 17:47:47 +03:00
F1ash
109ee5796f
add method for get pty slave fd;
2015-01-18 14:49:07 +03:00
Arnout Engelen
8b8f8532c3
Fix 'getSelectionEnd'
2014-11-29 21:29:45 +01:00
Petr Vanek
2bcb137a5b
Url activation & filters #21
2014-07-14 13:22:13 +02:00
0xd34df00d
c395f0d1b4
Proxy activity/silence methods to Session in QTermWidget.
2014-06-14 17:20:36 +04:00
0xd34df00d
f5934250de
Support bells.
2014-06-14 16:34:44 +04:00
0xd34df00d
627bfb3c61
Support bells.
2014-06-14 16:12:04 +04:00
Petr Vanek
9fc65306d8
Merge pull request #20 from 0xd34df00d/autolinks
...
Links highlighting and handling
2014-05-24 10:03:58 +02:00