Commit Graph

35 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
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 4b32b62df3 Use const references where possible
Good practice and a minor performance improvement.
2020-10-23 21:34:33 +08:00
Chih-Hsuan Yen 64fef7ab3c Allow to disable drawing line chars 2019-07-15 22:39:00 +02: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 e331bd4c67 Make padding configurable 2018-09-02 17:31:12 +08:00
Ecmel B. CANLIER ac6581e24f Make margin variables non-const to allow modification 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
Yen Chi Hsuan c648297792 Support UTF-32 characters correctly
By replacing QString/QChar or quint16 with std::wstring and wchar_t
2018-02-28 10:49:41 +01:00
Zang MingJie 1d4ddc8afd Expose bracket text function 2018-01-13 03:10:31 +01:00
hoxnox 1da2661dc5 FIX: #46 fix vertical font truncation 2017-10-21 17:43:27 +02:00
Yen Chi Hsuan 58f96bacb3 Implement background images (#95) 2016-11-20 22:18:29 +01:00
Petr Vanek c576cf0dc9 Merge pull request #60 from f2404/48_bracketed_input
Bracketed paste mode implementation
2016-05-25 09:10:46 +02:00
Igor d1c22ac5da Avoid enums duplication 2016-05-23 17:27:17 +03:00
Igor c472676560 Bracketed paste mode implementation 2016-02-01 19:26:39 +03:00
Jerome Leclanche 72ffc262eb Clean up trailing whitespaces 2015-07-09 20:22:48 +02:00
Arnout Engelen 5efc095d10 Fix TerminalDisplay::getCharacterPosition for proportional fonts
I.e. for mouse selections
2014-12-03 01:18:36 +01:00
Arnout Engelen 34ae10b5f1 Handle proportional fonts a bit better
Not perfect, just a bit better :).
2014-11-30 15:33:25 +01:00
Filippo Scognamiglio 6f9d9a3c11 Add event to notify the application that the shell application uses mouse.
Conflicts:
	lib/TerminalDisplay.h
2014-11-07 14:27:41 +01:00
Petr Vanek 2bcb137a5b Url activation & filters #21 2014-07-14 13:22:13 +02:00
0xd34df00d 627bfb3c61 Support bells. 2014-06-14 16:12:04 +04:00
0xd34df00d 2852ac4b29 Update filters on resize and screen events. 2014-05-24 02:56:56 +04: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
Francisco Ballina b398acfbd4 Add zoom. Add choice action after paste clipboard 2012-11-19 23:10:35 -06:00
Daniel O'Neill c462053b34 scrollToEnd() method provided to trigger 'snapping' the terminal to cursor tracked position (typically the extreme value of the scrollbar, or the 'end')
Some signal-fu particular to keyPressEvent(QKeyEvent *) done to make the above usable, no existing dependent implementations should be disturbed by this.
2011-12-10 21:52:16 -07:00
Petr Vanek 6ad5d7070a merge changes from the experimental "bundle" repository 2011-06-22 13:12:21 +02:00
Petr Vanek 4183368397 code reformatted after resync 2010-10-25 16:34:14 +02:00
Petr Vanek b2449cc578 display stuff synced from konsole again to improve color scheme handling 2010-10-25 16:27:34 +02:00
Petr Vanek cf016137bb focus in/out signals 2010-10-19 17:10:28 +02:00
Petr Vanek 57fd23bf39 K&R formatting 2010-10-01 16:08:14 +02:00
Petr Vanek 88b5a11bb4 merge with qscite 2010-10-01 15:54:31 +02:00