willbelr
380e812373
Added an example for PyQt5 ( #389 )
...
* added pyqt5 example
* fixed example path on build
* improved pyqt example
* simplified example
2020-12-24 21:44:23 +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
LXQtBot
c424bf0989
Translations update from Weblate ( #393 )
...
* Weblate commits
Co-authored-by: scootergrisen <scootergrisen@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/da/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: milotype <mail@milotype.de >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/hr/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: scootergrisen <scootergrisen@gmail.com >
Co-authored-by: milotype <mail@milotype.de >
2020-12-23 08:08:22 +01:00
LXQtBot
4004442215
Weblate commits ( #386 )
...
Co-authored-by: Standreas <standreas@riseup.net >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/it/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Standreas <standreas@riseup.net >
2020-12-17 18:33:27 +01:00
Luís Pereira
62be87604c
Use QProcess::processId()
...
KProcess::pid() can be dropped and just use QProcess::processId()
2020-12-13 12:47:04 +08:00
Luís Pereira
645a0539f4
Use Qt::endl
2020-12-13 12:23:23 +08:00
LXQtBot
a3f3c0c7a7
Translations update from Weblate ( #382 )
...
* Weblate commits
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com >
* Weblate commits
Co-authored-by: Standreas <standreas@riseup.net >
* Weblate commits
Co-authored-by: Moo <hazap@hotmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/lt/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com >
Co-authored-by: Standreas <standreas@riseup.net >
Co-authored-by: Moo <hazap@hotmail.com >
2020-12-12 22:15:00 +01:00
LXQtBot
f9bc351e87
Translations update from Weblate ( #379 )
...
* Weblate commits
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com >
* Weblate commits
Co-authored-by: Standreas <standreas@riseup.net >
* Weblate commits
Co-authored-by: Mehmet Akif <madanadam@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/tr/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Hugo Carvalho <hugokarvalho@hotmail.com >
Co-authored-by: Standreas <standreas@riseup.net >
Co-authored-by: Mehmet Akif <madanadam@gmail.com >
2020-12-11 10:54:33 +01:00
Luís Pereira
75151677cf
Adapt to use Qt5.15 Qt::SplitBehavior
2020-12-08 19:43:43 +08:00
LXQtBot
1ba4685144
Translations update from Weblate ( #375 )
...
* Weblate commits
Co-authored-by: Saverio Brancaccio <saverio.brancaccio@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/it/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: Mincho Kondarev <mkondarev@yahoo.de >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/bg/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Saverio Brancaccio <saverio.brancaccio@gmail.com >
Co-authored-by: Mincho Kondarev <mkondarev@yahoo.de >
2020-12-07 19:53:40 +01:00
LXQtBot
c0c8d35970
Weblate commits ( #374 )
...
Co-authored-by: Standreas <standreas@riseup.net >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/it/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Standreas <standreas@riseup.net >
2020-11-30 19:52:15 +01:00
LXQtBot
f89bcee135
Translations update from Weblate ( #373 )
...
* Weblate commits
Co-authored-by: EltonFF <eltonfabricio10@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/pt_BR/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: Kaijie Chen <chen@kaijie.org >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/zh_Hans/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: EltonFF <eltonfabricio10@gmail.com >
Co-authored-by: Kaijie Chen <chen@kaijie.org >
2020-11-28 10:21:56 +01:00
Luís Pereira
c11e3aa117
Convert schema files to the new colorscheme format
...
Konsole already did that. So the new files are taken from Konsole.
Kudos to the Konsole developers.
2020-11-22 17:14:52 +08:00
Luís Pereira
368965a607
Remove KDE3 color scheme code
...
KDE3 was a long time ago. It makes no sense keeping it around.
Closes https://github.com/lxqt/lxqt/issues/1854 .
2020-11-22 17:14:52 +08:00
LXQtBot
86966ccbd0
Translations update from Weblate ( #371 )
...
* Weblate commits
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/de/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: Sérgio Marques <smarquespt@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/pt/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: Standreas <standreas@riseup.net >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/it/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com >
Co-authored-by: Sérgio Marques <smarquespt@gmail.com >
Co-authored-by: Standreas <standreas@riseup.net >
2020-11-21 07:34:24 +01:00
LXQtBot
039b3311e9
Weblate commits ( #370 )
...
Co-authored-by: Daniel Fischer <fischer049@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/de/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Daniel Fischer <fischer049@gmail.com >
2020-11-19 17:49:40 +01:00
tsujan
6535ddf675
Merge pull request #369 from lxqt/prerelease
...
Pre-release changes
2020-11-14 12:40:48 +03:30
Tsu Jan
c46c0bf609
Pre-release changes
2020-11-14 12:14:42 +03:30
LXQtBot
db137b0add
Translations update from Weblate ( #368 )
...
* Weblate commits
Co-authored-by: Pavel Fric <pavelfric@yahoo.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/cs/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: Papoteur <yves.brungard_git@gadz.org >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/fr/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/he/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Pavel Fric <pavelfric@yahoo.com >
Co-authored-by: Papoteur <yves.brungard_git@gadz.org >
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com >
2020-11-09 08:16:57 +01:00
LXQtBot
63b146352f
Translations update from Weblate ( #366 )
...
* Weblate commits
Co-authored-by: Dimitrios Glentadakis <dglent@free.fr >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/el/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: zoli111 <acszoltan111@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/hu/
Translation: LXQt Desktop/qtermwidget
* Weblate commits
Co-authored-by: Masamichi Ito <ito32bit+github@gmail.com >
Translate-URL: https://translate.lxqt-project.org/projects/lxqt-desktop/qtermwidget/ja/
Translation: LXQt Desktop/qtermwidget
Co-authored-by: Dimitrios Glentadakis <dglent@free.fr >
Co-authored-by: zoli111 <acszoltan111@gmail.com >
Co-authored-by: Masamichi Ito <ito32bit+github@gmail.com >
2020-11-03 09:19:26 +01:00
tsujan
6f1943c30c
Merge pull request #365 from lxqt/prerelease
...
Pre-release changes
2020-10-31 22:49:33 +03:30
Tsu Jan
477c7d1dee
Updated changelog
2020-10-31 22:47:58 +03:30
tsujan
8d85d99f8a
Merge pull request #352 from lxqt/implement-keyboard-command-handling
...
Handle keyboard commands properly
2020-10-31 19:58:46 +03:30
Tsu Jan
0d92118498
Pre-release changes
2020-10-31 12:21:56 +03:30
Luís Pereira
4b32b62df3
Use const references where possible
...
Good practice and a minor performance improvement.
2020-10-23 21:34:33 +08:00
LXQtBot
6ed0118206
Translations update from Weblate ( #361 )
...
* Weblate commits
Co-authored-by: Standreas <ste@vogliaditerra.com >
* fixed translation widget link
Co-authored-by: Standreas <ste@vogliaditerra.com >
Co-authored-by: Weblate <noreply@weblate.org >
2020-10-10 11:06:59 +08:00
Luís Pereira
5b21008015
cmake: Fix find_package() developer warning
...
Make Utf8Proc_FOUND match the name of the calling package (Utf8Proc).
From CMake warning:
This can lead to problems in calling code that expects `find_package`
result variables (e.g., `_FOUND`) to follow a certain pattern.
2020-09-30 20:58:36 +08:00
Chih-Hsuan Yen
5f818d4f02
Fix building when utempter is enabled ( #356 )
...
* Fix building when utempter is enabled
And test it with CI to make sure it will not break in the future.
Looks like libulog.so is provided by FreeBSD and libutempter.so is
provided on Linux [1].
Closes https://github.com/lxqt/qtermwidget/issues/351 .
[1] https://reviews.freebsd.org/D7989?id=20568
* Restore the hint for FreeBSD packagers in the CMake option
2020-09-30 20:57:24 +08:00
Luís Pereira
2047b5d00c
Delete copy constructor and assignment operator
...
They should not be used. Using them will make the app crash.
2020-08-19 23:04:43 +08:00
Elad Lahav
6ab343131a
Check for successful ioctl() calls by testing that the call did not return -1.
...
There is no reason for a successful call to return 0.
2020-08-17 00:02:01 +08:00
zoli111
6d755fcb72
Updated Hungarian translations
2020-08-16 14:40:09 +08:00
Luís Pereira
dcc22cbede
Disables the use of copy constructors and assignment operators
...
It should not be copied.
2020-08-16 14:39:04 +08:00
Yen Chi Hsuan
c797ccf97d
Handle keyboard commands properly
...
It was hard-coded in TerminalDisplay.cpp - Shift+Up always results in
ScrollLineUpCommand regardless of settings in *.keytab. Now those
commands are correctly parsed by KeyboardTranslator.
Fixes lxde/qterminal#348
This fix is similar to KDE/konsole@b88dfb402a
while I use signals and slots instead of introducing new pointers. That
sounds more reliable :)
2020-07-18 10:37:28 +08:00
Luís Pereira
2df79b77bf
Remove user declared copy assignment
...
The implicit definition of a copy constructor as defaulted is deprecated if
the class has a user-declared copy assignment operator or a user-declared
destructor.
In this case the user-declared copy assignment is equal to the
default-generated. Deleting and just use the default generated seems the
best option.
2020-07-04 17:33:01 +08:00
Luís Pereira
96fc2dbd43
Initialize member variables
...
It's always good practice.
2020-06-25 00:40:49 +08:00
Luís Pereira
f04032e450
Move initialization to the initialization list
...
When the object of a class is created, the constructors of all member
variables are called consecutively in the order the variables are declared,
even if we don't explicitly write them to the initialization list.
2020-06-25 00:40:49 +08:00
Luís Pereira
b30730b0e4
Fix ColorEntry copy operator
...
A copy operator should not return void.
2020-06-25 00:36:15 +08:00
Thore Bödecker
8eac739cbc
Allow QTermWidget access to TerminalDisplay::setBoldIntense
2020-06-19 22:32:58 +08:00
Luís Pereira
91c5c2a48d
Don't use 0/nullptr to initialize QFlags
...
It's deprecated.
2020-06-19 22:17:25 +08:00
Luís Pereira
9c7bd6879e
Drop deprecated QLinkedList
...
Use std::list. Code updated accordingly.
2020-06-13 12:14:18 +08:00
Luís Pereira
6f72d9abad
Fix calling signal without the emit keyword
...
A signal should always be emitted using emit/Q_EMIT.
2020-06-10 20:08:10 +08:00
Luís Pereira
f16e4495b4
Don't search application dir for keyboard and scheme data
...
QCoreApplication::applicationDirPath() is the right place to store
application data.
Exception is MacOs, where it can make sense.
2020-06-09 12:30:51 +08:00
Luís Pereira
60836291f6
Use qAsConst
...
It's available now and much easier to read.
2020-06-09 12:30:51 +08:00
Ercan Ersoy
106a8966ee
Update Turkish translations
...
Signed-off-by: Ercan Ersoy <ercanersoy@ercanersoy.net >
2020-05-22 09:40:49 +00:00
milotype
99619eaeac
Release Croatian translation
2020-05-05 12:13:05 +08:00
tsujan
ccd6b7d4f5
Merge pull request #339 from lxqt/prerelease
...
Pre-release changes
2020-04-24 07:52:14 +04:30
Tsu Jan
4ba3e8acfa
Pre-release changes
2020-04-24 07:26:18 +04:30
Chih-Hsuan Yen
d090577750
Correctly initialize sigsets ( closes #334 ) ( #336 )
2020-04-24 09:49:09 +08:00
Axel Kittenberger
b025013706
version defines ( #333 )
...
* version defines
* version defines
* version defines
2020-04-24 09:48:08 +08:00
tsujan
efdacc585f
Merge pull request #335 from lxqt/export
...
Explicitly mark exported classes
2020-04-23 21:30:17 +04:30