Commit Graph

78 Commits

Author SHA1 Message Date
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
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 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
Axel Kittenberger b025013706 version defines (#333)
* version defines

* version defines

* version defines
2020-04-24 09:48:08 +08: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
Luís Pereira 1e634114a3 Port towards C++11 override 2019-04-13 15:49:15 +02: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
Ecmel B. CANLIER 8eba2e2d3b Implement methods to change padding 2018-09-02 17:31:12 +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
BlahGeek 02e1ea9702 Expose terminal size hint API 2017-12-10 16:26:56 +01:00
Safa Alfulaij 87c3d9cfa6 Remove class name 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 880b3bcd6c Remove the deprecation notice
Keep everything in QTermWidget class. Confusing users with Konsole
namespace sounds a bad idea.
2017-07-21 19:51:55 +02: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
Luís Pereira b1f37a882c Adds export header
We need it because LXQtCompilerSettings makes all symbols hidden by
default.
2017-03-06 02:02:06 +08: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 534a86a00a Make addCustomColorSchemeDir() static and check for duplicates 2016-05-26 14:50:14 +03: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
Petr Vanek da6838df1a Merge pull request #44 from F1ash/master
implemented start TTY for external recipient;
2015-02-25 13:57:07 +01:00
F1ash 7c315942d3 implemented start TTY for external recipient; 2015-02-22 17:47:47 +03:00
Petr Vanek f6fdd81c78 Merge pull request #35 from raboof/proportionalFonts
Handle proportional fonts a bit better
2015-02-05 11:32:31 +01:00
F1ash 109ee5796f add method for get pty slave fd; 2015-01-18 14:49:07 +03:00
Arnout Engelen 34ae10b5f1 Handle proportional fonts a bit better
Not perfect, just a bit better :).
2014-11-30 15:33:25 +01: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 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
0xd34df00d c86daa799e Added QTermWidget::urlActivated(QUrl) signal.
Relays the corresponding UrlFilter's signal.
2014-05-24 03:34:27 +04:00
0xd34df00d 9f5c331c20 Const-correctness for QTermWidget API. 2014-05-23 20:51:14 +04:00
0xd34df00d 97f14706ef Load arbitrary schemes by path via setColorScheme(). 2014-05-21 00:08:36 +04:00