Commit Graph

239 Commits

Author SHA1 Message Date
Željan Rikalo
2885935b2d Qt,Qt5,Qt6: do not create dummy widget if wm name is empty or we are running under wayland. issue #40413 2023-08-23 09:18:10 +02:00
Juha
211d95da17 LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them. 2023-07-03 11:17:01 +03:00
Željan Rikalo
5081a5269f Qt,Qt5: restored the way how we send application activate/deactivate to LCL, removed calling of RestoreStayOnTop windows which cause confusion. 2021-10-15 16:56:37 +02:00
Željan Rikalo
f1156f551a Qt,Qt5: ReleaseCapture when app is deactivated. 2021-10-14 18:28:29 +02:00
Željan Rikalo
d21ebb1b60 Qt,Qt5: removed old workaround for Qt < 4.8.7, fixes TApplication activate/deactivate events. issue #37868 2021-10-14 14:47:25 +02:00
Željan Rikalo
9233efadf0 Qt: optimized palette reload instead of recreating handles. issue #38589 2021-10-12 12:37:48 +02:00
Željan Rikalo
4076f4efdd Qt,Qt5: fixed paleete change at runtime. issue #38589 2021-10-11 16:13:04 +02:00
zeljko
ff27397e4a Qt: removed code dependent on -dQtUseAccurateFrame. This define is not valid anymore.
git-svn-id: trunk@63042 -
2020-04-21 10:10:09 +00:00
zeljko
f72d3068cc Qt: now we have accurate window dimensions under x11 - we use dummy widget approach. issue #36897
git-svn-id: trunk@62971 -
2020-04-14 12:51:45 +00:00
zeljko
b9799e15cb Qt,Qt5: implemented DCGetPixel() for widgets. patch by Mark Malakanov, changed by me. issue #29276
git-svn-id: trunk@62840 -
2020-04-01 08:36:37 +00:00
zeljko
1a5015dca6 Qt,Qt5: optimized DCSetPixel() via cached QPen. issue #29277
git-svn-id: trunk@62839 -
2020-04-01 08:01:00 +00:00
zeljko
976015c331 Qt,Qt5: qt allows child controls in TEdit or similar controls. part of issue #36513
git-svn-id: trunk@62583 -
2020-01-24 08:58:24 +00:00
zeljko
5981e87a6b LCL: added new LCL capability - lcNativeTaskDialog, defaults to true, on mswindows is false for qt/qt5. issue #35577
git-svn-id: trunk@61219 -
2019-05-13 12:57:11 +00:00
zeljko
05fed34657 Qt,Qt5: fixed AppRun when called with Application.Terminated - eg. app terminated in mainform.OnShow when using QtUseNativeEventLoop. part of issue #34982
git-svn-id: trunk@60271 -
2019-02-01 13:01:03 +00:00
zeljko
5db60e1bdd Qt,Qt5: fixed wrong PPI calculation. issue #34625
git-svn-id: trunk@59708 -
2018-11-30 17:11:59 +00:00
zeljko
76ca6e71a8 Qt,Qt5: fixed LCLIntf.GetActiveWindow for modal & popup windows
git-svn-id: trunk@57492 -
2018-03-10 12:42:59 +00:00
juha
c8f3c37159 LCL-QT: Change string types back to WideString from UnicodeString.
git-svn-id: trunk@56819 -
2017-12-22 23:43:22 +00:00
juha
057f42d604 LCL-QT: Use UnicodeString instead of WideString. Reduce explicit string conversion calls.
git-svn-id: trunk@56639 -
2017-12-05 21:30:51 +00:00
juha
12046b3ddb LCL: Add capability lcTransparentWindow for GTK2. Formatting.
git-svn-id: trunk@55929 -
2017-09-26 11:28:00 +00:00
zeljko
dd5641eaab Qt,Qt5: fixed cpu eating by gtk+ theme.
git-svn-id: trunk@55881 -
2017-09-18 07:15:42 +00:00
zeljko
cfaa72128b qt,qt5: do not eat cpu with gtk theme. issue #31191
git-svn-id: trunk@54589 -
2017-04-09 09:47:38 +00:00
zeljko
339ac15e31 Qt, Qt5: send LM_KILLFOCUS to LCL even if non mdi form is not active. issue #31440
git-svn-id: trunk@54268 -
2017-02-24 20:48:24 +00:00
zeljko
363c3e9e88 Qt: simplified check for visibility.
git-svn-id: trunk@53681 -
2016-12-14 15:39:05 +00:00
zeljko
83fe670e72 Qt: improved focus patch on TQtComboBox. related to issue #27852
git-svn-id: trunk@53679 -
2016-12-14 14:04:31 +00:00
zeljko
9a0210ff90 Qt: fixed noneditable TQtComboBox setFocus when first time called. issue #27852
git-svn-id: trunk@53678 -
2016-12-14 13:16:06 +00:00
zeljko
7fecd361fc Qt: do not send focus message if parent form is not visible in LCL. issue #31041
git-svn-id: trunk@53490 -
2016-11-30 21:56:53 +00:00
ondrej
677e9d99f2 LCL: add lcTransparentWindow LCL capability
git-svn-id: trunk@53193 -
2016-10-21 19:56:05 +00:00
zeljko
b47f15b76e Qt: added ability to use native Qt event loop via define QtUseNativeEventLoop (qtdefines.inc)
git-svn-id: trunk@53021 -
2016-09-23 12:40:15 +00:00
zeljko
3f338479ba Qt: proper string conversion.
git-svn-id: trunk@52407 -
2016-05-29 11:35:30 +00:00
zeljko
aef2f8d9ec Qt: more informative debug info under x11 when using define QtUseAccurateFrame
git-svn-id: trunk@51879 -
2016-03-09 13:02:58 +00:00
zeljko
3a9bb5359a Qt: fixed accurate frame creation under MSWindows, no need to realize form.
git-svn-id: trunk@51872 -
2016-03-09 09:50:23 +00:00
zeljko
c6f77b0dd8 Qt: fixed compilation under non x11 os when define DebugQtUseAccurateFrame is defined.
git-svn-id: trunk@51871 -
2016-03-09 09:44:05 +00:00
zeljko
a974854c26 Qt: finally fixed x,y coordinates when using QtUseAccurateFrame define.
git-svn-id: trunk@51867 -
2016-03-08 22:01:44 +00:00
zeljko
76e8f6c853 Qt: simplified x11 calls.
git-svn-id: trunk@51855 -
2016-03-08 09:02:03 +00:00
zeljko
bd182f7aee Qt: removed OpenBox wm from blacklist, let it takes frame borders like others.
git-svn-id: trunk@51849 -
2016-03-07 15:51:27 +00:00
zeljko
76b8e0ed4b Qt: check for all window managers if title size is not provided, not only composited (eg xfce does not return correct info).
git-svn-id: trunk@51848 -
2016-03-07 15:41:32 +00:00
zeljko
7106e417e8 Qt: fixed getting valid _NET_FRAME_EXTENTS under KWin, and maybe others which does not return it correctly.
git-svn-id: trunk@51846 -
2016-03-07 13:56:04 +00:00
zeljko
a805628709 qt: started implementation of real accurate frame bounds on x11.QtUseAccurateFrame define is disabled by default atm.
git-svn-id: trunk@51835 -
2016-03-06 13:58:22 +00:00
ondrej
5e30a09527 qt: fix GetMenuHeight, issue #28034
git-svn-id: trunk@51806 -
2016-03-02 15:09:25 +00:00
sekelsenmat
0ac0499be9 Implements support for radial gradient in Qt and the LCL with capability indicator
git-svn-id: trunk@51539 -
2016-02-08 19:18:10 +00:00
zeljko
1e307ab3a8 Qt: fix activate/deactivate signal on mdichild forms without any control. issue #29528
git-svn-id: trunk@51444 -
2016-01-29 12:20:58 +00:00
zeljko
9f6df04a52 Qt: fixed compilation with QTOPIA define. issue #29379
git-svn-id: trunk@51264 -
2016-01-13 09:03:04 +00:00
zeljko
b538c367a2 Qt: do not restore hints which are not visible by lcl.
git-svn-id: trunk@51114 -
2016-01-02 10:36:34 +00:00
zeljko
60c709a66b Qt: much faster DCSetPixel when painter is QImage or QPixmap. issue #29256
git-svn-id: trunk@51040 -
2015-12-26 16:30:37 +00:00
zeljko
2f9f2db741 Qt: fixed memleak in TQtWidgetSet.DCSetPixel.
git-svn-id: trunk@51030 -
2015-12-25 11:54:06 +00:00
zeljko
2f05933d7f Qt: fixed regression with focus of controls on mdichild forms. issue #27982
git-svn-id: trunk@48875 -
2015-04-27 08:29:55 +00:00
zeljko
990754d7c0 Qt: do not report stalled focus changes if widget is invisible. issue #27960
git-svn-id: trunk@48840 -
2015-04-25 07:03:59 +00:00
zeljko
5b7d8edc77 Qt: keep QPen in sync when setting it out of device context. Issue #27620.
git-svn-id: trunk@48177 -
2015-03-09 15:00:09 +00:00
zeljko
41a6b409a2 Qt: finally fixed AppMinimize for designed forms.
git-svn-id: trunk@47744 -
2015-02-13 17:29:51 +00:00
zeljko
d457ad2a3e Qt: properly handle designed forms. Now IDE minimizing also minimize designed forms.
git-svn-id: trunk@47674 -
2015-02-10 12:39:17 +00:00