Commit Graph

13501 Commits

Author SHA1 Message Date
Bart
4e5e964bec Dialogs: remove TOpenOptionEx.ofForcePreviewPaneOn and move it's functionality to TOpenOption.ofAutoPreview. 2025-04-17 20:36:57 +02:00
Maxim Ganetsky
b5fbc46391 LCL-Gtk2: fixed component position issues on bsSingle forms under Xfwm4, issue #41219
(cherry picked from commit 0845474588)
2025-04-16 16:26:55 +03:00
Maxim Ganetsky
ebf0cafab6 LCL-Gtk2: Fixed pasting text from Combobox to some other application when selecting/middle-clicking.
Makes its behavior consistent with TEdit. Also avoids accessing
uninitialized variables.

Follow-up of:
18f1d06255
5f8eacc23d

(cherry picked from commit 7e1d786c38)
2025-04-16 16:26:55 +03:00
Željan Rikalo
1cb679ef87 Qt,Qt5,Qt6: fixed menuitem radio items behaviour. issue #41577
(cherry picked from commit b066b08122)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-09 10:58:20 +02:00
Željan Rikalo
937bfffe9d Qt5,Qt6: fixed swapped width/height. issue #41575
(cherry picked from commit 06a86413f2)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-08 08:02:27 +02:00
Željan Rikalo
f06d34187d Qt5,Qt6: another fix of crash, also do not create scrollbars in GetWindowSize. issue #41575
(cherry picked from commit cb01b03ae6)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-08 08:02:12 +02:00
Željan Rikalo
0620a80dcc Qt5,Qt6: fixed crash - regression from previous commit. issue #41575
(cherry picked from commit cc6c852f04)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-08 08:01:51 +02:00
Željan Rikalo
08e7c91f0c Qt5,Qt6: fix GetWindowSize regression. issue #41575
(cherry picked from commit dadc0e93e2)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-08 08:01:34 +02:00
Željan Rikalo
e54a83fb6e Qt,Qt5,Qt6: initialize scroll offset when handle is created. issue #41513
(cherry picked from commit c0f4946828)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-07 21:15:14 +02:00
Željan Rikalo
0f5b634903 Qt4: fixed scrollCode messages. issue #41566
(cherry picked from commit 6e6cc23a74)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-05 21:01:45 +02:00
Željan Rikalo
56ff701754 Qt5,Qt6: fixed scrollCode messaging. issue #41566
(cherry picked from commit b3c7e1ddd6)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-05 21:01:19 +02:00
Željan Rikalo
22c2c19030 Qt5,Qt6: Fixed QLineEdit behaviour and automatic selectAll() by Qt when control is focused.Related issue #10155 and issue #41562
(cherry picked from commit 91fbaca370)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-03 22:07:53 +02:00
Željan Rikalo
462cf19bbc Qt5,Qt6: fixes sizepos loop error. issue #41508
(cherry picked from commit a7c6c82c2b)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-03 18:18:23 +02:00
Željan Rikalo
6e9f268657 Qt,Qt5,Qt6: fixed focus indication. issue #41562
(cherry picked from commit 33c532e60e)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-03 18:10:40 +02:00
Željan Rikalo
e90c1c6516 Qt5,Qt6: make checkable listview check state work with mouse.
(cherry picked from commit 1fb8e5a099)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-04-01 22:03:18 +02:00
Željan Rikalo
236b351524 Qt5: bypass window manager for hint windows, fixes raising of hint window in system tray on some window managers eg xfwm4.
(cherry picked from commit 38292ecb71)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-26 22:13:21 +01:00
Željan Rikalo
f61afd990e Qt5,Qt6: proper transform before draw grid at design time. issue #41513
(cherry picked from commit 5150173131)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-26 21:54:47 +01:00
Željan Rikalo
37e4202ec6 Qt,Qt5,Qt6: proper initialization of scrolled offset. issue #41513
(cherry picked from commit 9b5d42ffa5)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-25 19:40:33 +01:00
mattias
0919af14bd set fixes version to 4.0RC3 2025-03-21 19:32:09 +01:00
Martin
4186441ba3 Win32: Prevent Splitter from activating the "resize bar" window. Avoid focus changes to the form, or its components. Issue #41506 Patch by Lipinast Lekrisov
(cherry picked from commit 12afdd137b)
2025-03-13 13:27:43 +01:00
Željan Rikalo
7e3817c7c0 Qt5,Qt6: fixed designing on scrolled forms. issue #41517
(cherry picked from commit 9de7888945)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-09 19:44:15 +01:00
Željan Rikalo
991f69be70 Qt5,Qt6: do not wrap text in TStaticText. issue #41515
(cherry picked from commit b623211e02)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-09 00:40:00 +01:00
Željan Rikalo
ae8b54f696 Qt5,Qt6: make wheel scroll work at design time. issue #41512
(cherry picked from commit cb8c130883)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-08 19:56:13 +01:00
Željan Rikalo
280d382b58 Qt5,Qt6: fixed design time drawing of non visible controls over QAbstractItemView and QTextEdit classes. issue #41510
(cherry picked from commit adf11362e1)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-08 08:43:17 +01:00
Željan Rikalo
d5ec9d7a61 Qt5,Qt6: fixed QtComboBox sorted property. issue #41502
(cherry picked from commit 00a355408e)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-03 16:01:11 +00:00
Željan Rikalo
8e76db50e2 Qt,Qt5,Qt6: checkbox offset should be applied only to the first column where checkbox resides. issue #41496
(cherry picked from commit 41593d7fba)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-01 20:50:10 +00:00
Željan Rikalo
cabcb8ed8d Qt,Qt5,Qt6: fixed multiple memleaks with QIcon. issue #41497
(cherry picked from commit 9d39dd3e25)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-01 20:41:58 +00:00
rich2014
bdbe10ceaa Cocoa: fix and simplify TCocoaPanel and TCocoaWindow #41477 2025-03-01 18:52:33 +08:00
Željan Rikalo
b6f6c4c95a Qt,Qt5,Qt6: fixed vertical alignment of text.issue #41465
(cherry picked from commit 45eabe826d)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-28 15:16:42 +00:00
Željan Rikalo
6b6dbd3e81 Qt,Qt5,Qt6: fixed TListView subItem images after changing items order.issue #41465
(cherry picked from commit 6d4ad25144)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-28 07:44:56 +00:00
Željan Rikalo
969c4bf8ae Qt,Qt5,Qt6: do not send KeyUp if key is autorepeated. issue #41472
(cherry picked from commit f90db81742)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-26 12:17:22 +00:00
Željan Rikalo
85a1c9e578 Qt5,Qt6: fixed build on 32bit cpu. issue #41468
(cherry picked from commit a4855f6fa5)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-25 15:13:31 +00:00
Željan Rikalo
7665010413 Qt5, Qt6: allow background color of TTabSheet just like in win32,gtk2 and gtk3. Fixed setting font of TTabSheet.
(cherry picked from commit bfc45a589a)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-25 14:43:12 +00:00
Željan Rikalo
f277ec9c9f Qt5, Qt6: make sure pushbutton is unblocked, but also there's no segfault.
(cherry picked from commit bf52173a6f)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-23 18:05:04 +00:00
Željan Rikalo
e434f37890 Qt5,Qt6: map unicode chars to lcl keys where possible. issue #41452
(cherry picked from commit 17407a1e4d)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-22 23:47:18 +00:00
Željan Rikalo
e65b28a14a Qt: make arrow keys work at design time. issue #41453
(cherry picked from commit 20d22eae2a)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-22 23:45:42 +00:00
Željan Rikalo
44f1ea933f Qt5, Qt6: allow arrow keys at design time. issue #41453
(cherry picked from commit 9ad5559338)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-22 23:45:21 +00:00
Bart
4ef9ee5aeb Win32: implement TOpenOptionEx.ofExNoPlacesBar for pre-Vista style dialog. Resolves issue #41301.
(cherry picked from commit 43a9af055d)
2025-02-21 20:44:54 +01:00
Bart
0b0cc5d47e Win32: fix crash if CoCreateInstance fails (Vista IFileDialog). OpenDialog.Execute will return False, no dialog is shown, as this is Delphi compatible. Part of issue #40298.
(cherry picked from commit 1c7ecdbb56)
2025-02-21 20:44:35 +01:00
Željan Rikalo
a8b242d651 Qt5,Qt6: Seem that QEventDestroy does not work anymore for qt5 and qt6. issue #41433
(cherry picked from commit df31c25382)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 16:43:30 +00:00
Željan Rikalo
2ebfedf6fa Qt5, Qt6: fixed showing and destroying popup window with popup parent modal form. issue #41433
(cherry picked from commit 740f63fe4c)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 16:26:57 +00:00
Željan Rikalo
d313b376bc Qt5,Qt6: must check if handle is valid.
(cherry picked from commit 5df0a8f05a)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 11:44:23 +00:00
Željan Rikalo
fd7ad406ae Qt5, Qt6: must use MenuVisibleIndex to be in order. issue #41429
(cherry picked from commit 7bfc63d9ed)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 07:30:19 +00:00
Željan Rikalo
6b51ba5323 Qt5,Qt6: fixed order of menu items when hiding/destroying handle/adding again. issue #41429
(cherry picked from commit 4f835ede52)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 07:29:22 +00:00
Željan Rikalo
e9746d8dd0 Qt6: disable Qt lib autocomplete of QComboBox, LCL does autocomplete. issue #41432
(cherry picked from commit 0a6df5f238)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-14 22:49:24 +00:00
Željan Rikalo
e51aef217b Qt5,Qt6: do not set QGuiApplication_applicationDisplayName(), since Qt have another meaning about it. issue #41417
(cherry-picked from commit f83078ff61)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-11 15:05:32 +00:00
Željan Rikalo
389e39e873 Qt5,Qt6: fixed layout of ListView vsIcon and vsSmallIcon.
(cherry-picked from commit 8605e5252d)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-11 14:56:21 +00:00
Željan Rikalo
1d3028abc6 Qt5,Qt6: use floating point functions for primitives drawing on scaled displays. issue #41422
(cherry-picked from commit 683afd5cbb)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-11 13:53:37 +00:00
Željan Rikalo
2754524965 Qt5,Qt6: fixed distorted image creation from device (screenshoot) on HiDpi screens.
(cherry-picked from commit 291a9fd3dd)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-11 08:59:23 +00:00
Željan Rikalo
5ded0b3ed8 Qt5,Qt6: proper set of application title.issue #41417.
(cherry-picked from commit 04f57de851)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-10 15:54:02 +00:00