Filippo Scognamiglio
ddd71acdd4
Make full size cursor really full size.
2018-10-27 16:11:28 +02:00
Filippo Scognamiglio
f7d669cf82
Revert "FIX: #46 fix vertical font truncation"
...
It was creaing issues with very small fonts.
This reverts commit 1da2661dc5 .
2018-10-27 16:01:45 +02:00
Filippo Scognamiglio
c8e418a164
Merge remote-tracking branch 'upstream/master' into unstable
2018-10-16 00:18:25 +02:00
Chih-Hsuan Yen
8374bf9d31
Redraw cursor after cursor type changed ( closes #161 )
2018-10-09 22:49:27 +02:00
Tsu Jan
1e7e494229
Fixed link mouseover after recent changes
...
Closes https://github.com/lxqt/qtermwidget/issues/213 , closes https://github.com/lxqt/qtermwidget/issues/209 , supercedes https://github.com/lxqt/qtermwidget/pull/211
Also, @agaida's fix for an old issue in link mouseover is included.
2018-09-23 00:52:53 +02:00
Ecmel B. CANLIER
2b25bec3ad
Fix getMargin
2018-09-02 17:31:12 +08:00
Ecmel B. CANLIER
8eba2e2d3b
Implement methods to change padding
2018-09-02 17:31:12 +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
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
Tsu Jan
3838728c22
Suppress compilation warnings
2018-07-16 17:24:13 +02:00
Yen Chi Hsuan
0154e036c7
Rework on memory management of filter-related objects
2018-06-28 12:20:07 +02:00
Tsu Jan
2b7c2b38ed
Take transient scrollbars into account
...
Fixes https://github.com/lxqt/qterminal/issues/415
Because they are transient by definition (since Qt 5.5), the code should not spare an extra space for them (Konsole does not have this feature).
Apart from that, the code does not need to fill the area behind the scrollbar explicitly; it is enough to auto-fill it.
Naturally, no change will be seen with styles other than Kvantum.
2018-05-06 20:01:48 +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
Chih-Hsuan Yen
733f4b6e8f
Finish SGR mouse protocol (1006)
...
Some codes in https://github.com/KDE/konsole/commit/c83e7b638dcc42b617a067e6dc23686eccf23b00
are missing. Backport all of them.
Fixes #164
2018-02-06 18:07:19 +01: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
hoxnox
1da2661dc5
FIX : #46 fix vertical font truncation
2017-10-21 17:43:27 +02:00
Yen Chi Hsuan
3e7f8d7875
Handle DECSCUSR signals
2017-07-21 19:51:55 +02:00
Donnie West
d84849b04b
Backport Vt102 emulation fixes ( #113 )
...
Also pull in KeyboardTranslator and Character updates
2017-04-24 21:26:56 +02:00
Palo Kisa
42a2d78f2d
TerminalDisplay: Make resizing "Size" translatable
2017-02-10 10:13:52 +01:00
Yen Chi Hsuan
58f96bacb3
Implement background images ( #95 )
2016-11-20 22:18:29 +01:00
Yen Chi Hsuan
9be45d6a61
Implement other BOX DRAWING characters ( #98 )
...
Porting of
https://github.com/KDE/konsole/commit/1a61aaa5915b5c4a5b205e87d35c38562f932fe0
Fixes https://github.com/lxde/qterminal/issues/277
2016-11-20 15:52:17 +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
Pavel Khlebovich
e27b89f4ef
Remove widget size checks in setVTFont() ( #86 )
2016-10-04 11:37:43 +02:00
Igor
e5dbf9a359
Delete unused tooltip code ( #81 )
2016-10-03 21:38:18 +02: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
rago1975
10e17968e4
Use function setWorldTranfer for Qpainter instead of setWorldMatrix
2016-01-08 00:00:30 +09:00
rago1975
5031c16a51
Modify treatment drawing double width character
2016-01-07 23:42:14 +09:00
Igor
f9a7d4ac5d
Avoid checking uninitialized member + simplify condition
2015-12-23 18:21:27 +03:00
Jerome Leclanche
90008c9db9
Remove support for Qt <= 5.4
2015-11-22 14:55:41 +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
Jerome Leclanche
72ffc262eb
Clean up trailing whitespaces
2015-07-09 20:22:48 +02: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
Boris Egorov
af0d0599fa
Fix: typo in TerminalDisplay
2015-01-27 14:47:31 +06:00
Boris Egorov
1856c99fcf
Fix: typo in TerminalDisplay
2015-01-22 11:05:23 +06:00
Filippo Scognamiglio
dbf93d175c
Emit imagePainted event in update method instead of paint.
2015-01-14 18:04:59 +01:00
Filippo Scognamiglio
fb04792ae3
Allow full cursor height (it is not chopped when line spacing is not zero). This fixes issues with misbehaving fonts.
2014-12-12 02:18:56 +01:00
Arnout Engelen
5efc095d10
Fix TerminalDisplay::getCharacterPosition for proportional fonts
...
I.e. for mouse selections
2014-12-03 01:18:36 +01:00
Filippo Scognamiglio
61f6a51f82
Always fill the cursor, even when the window is not in focus.
2014-12-02 11:43:20 +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
288c682e79
Fix: changing screen size when QML item was invisible had issues.
2014-11-17 22:10:52 +01:00
Filippo Scognamiglio
02bb99b446
Make sure widget scrollbar stays hidden.
2014-11-13 00:11:38 +01:00
Filippo Scognamiglio
7c33ec4b4b
Expose font metrics to QML.
2014-11-12 20:56:24 +01:00
Filippo Scognamiglio
dafc4f8e3b
Added optional purely QML scrollbar.
2014-11-12 17:05:17 +01:00
Filippo Scognamiglio
2c911f9af6
Added input query for qt5 keyboard query events.
2014-11-12 01:08:10 +01:00
Filippo Scognamiglio
deed80c2d3
Fix: makes the cursor perefctly squared.
2014-11-11 14:28:59 +01:00
Filippo Scognamiglio
4bedf80016
Temporarily fix segfault on start.
2014-11-11 12:07:25 +01:00