Commit Graph

13468 Commits

Author SHA1 Message Date
Bart
7cfdbd74c8 Dialogs: implement TOpenOptionEx.ofUseXPStyleAsFallBack (obviously Windows only). Resolves issue #40298. 2025-01-05 15:02:22 +01:00
zeljan1
8b937e6645 Gtk2: fixed call to InvalidateLastWFPResult. 2025-01-04 21:26:16 +01:00
zeljan1
88f7910c32 Qt5, Qt6: rect should be bounds rect. 2025-01-04 21:21:51 +01:00
Bart
f6261b5458 Win32: refactor TWin32WSOpenDialog/TWin32WSSaveDialog.CreateHandle/DestroyHandle. 2025-01-04 16:20:56 +01:00
Bart
1c7ecdbb56 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. 2025-01-04 15:41:13 +01:00
zeljan1
619d76cdb7 Qt5, Qt6: stop warnings about uninitialized paint engine. issue #41304 2025-01-03 13:59:44 +01:00
Bart
43a9af055d Win32: implement TOpenOptionEx.ofExNoPlacesBar for pre-Vista style dialog. Resolves issue #41301. 2025-01-02 20:29:24 +01:00
zeljan1
ae5e5d4d6e Qt6: do not activate THintWindow on show. 2025-01-02 15:21:08 +01:00
zeljan1
9b147ce82b Cocoa: implemented SetDeviceScaleRatio(). issue #41299 2025-01-02 13:29:36 +01:00
zeljan1
4510285762 LCL: changed SetDeviceScaleRatio HGDIOBJ param to HDC to be inline with cocoa abilities. 2025-01-02 12:08:47 +01:00
zeljan1
065994a7d1 LCL, Qt5, Qt6: renamed SetBitmapScaleRatio to SetDeviceScaleRatio with HGDIOBJ as param. 2025-01-01 17:44:46 +01:00
zeljan1
c082d566ac Qt6: QGuiApplication_setHighDpiScaleFactorRoundingPolicy() must be setted up before QGuiApplication is created. 2025-01-01 09:46:43 +01:00
zeljan1
645c2a8dda Qt5, Qt6: fix bitBlt when device is scaled. issue #41299 2024-12-31 22:50:25 +01:00
zeljan1
fc021470b4 Qt6: implemented SetBitmapScaleRatio. issue #41299 2024-12-31 20:20:47 +01:00
zeljan1
59f26575d6 Qt5: implemented SetBitmapScaleRatio, issue #41299 2024-12-31 20:10:36 +01:00
zeljan1
45e8e0f44f Qt5, Qt6: implemented GetCanvasScaleFactor. 2024-12-31 17:30:34 +01:00
zeljan1
e541ae2dc8 Qt5, Qt6: fixed QtWA_TransparentForMouseEvents, now HTTRANSPARENT works for both widgetsets. issue #41295 2024-12-28 19:43:49 +01:00
David Jenkins
245b5f1ece Cocoa: Need to call WakeMainThread from nextEventMatching when quitting. 2024-12-20 14:26:32 +00:00
rich2014
13b2540f32 Cocoa: support alpha in TColorDialog #22717 2024-12-19 23:46:03 +08:00
rich2014
47cb7bc194 Cocoa: fix the missing 'end' in TAppDelegate.handleQuitAppEvent_withReplyEvent() introduced in 9bde82e 2024-12-19 22:40:24 +08:00
David Jenkins
9bde82e965 Cocoa: Add an OnQuitApp event to use when there is no Main Form 2024-12-19 14:19:20 +00:00
rich2014
d9ba51bbe9 Cocoa/ScrollView: fix the issue of missing child control callback clear in lclClearCallback() 2024-12-19 00:34:45 +08:00
Maxim Ganetsky
6676367ff3 WinCE: removed dangling semicolon after "then", patch by n7800, merge request !403 2024-12-14 22:36:55 +03:00
Maxim Ganetsky
5dba7f376b Cocoa: removed dangling semicolon after "then", patch by n7800, merge request !403 2024-12-14 22:36:54 +03:00
Bart
99df3f6ad4 TColorDialog: implement option cdNoEyeDropperButton(QT6.6+) 2024-12-14 19:51:41 +01:00
Bart
4a9ba936a8 QT6: implement TColorDialog.AlphaChanneld and TColorDialog.Options cdShowAlphaChannel, cdNoButtons and cdDontUseNativeDialog. 2024-12-14 19:38:46 +01:00
Bart
47d9468d12 QT5: implement TColorDialog.Options cdNoButtons and cdDontUseNativeDialog 2024-12-14 16:56:59 +01:00
Bart
8fd7e96fa5 QT5: implement TColorDialog.AlphaChannel and associated TColorDialogOption cdShowAlphaChannel. 2024-12-14 16:49:48 +01:00
Bart
b511c5cafa QT: add missing Clipboard.EndX11SelectionLock in TQtWSColorDialog.ShowModal (copy paste error). 2024-12-14 16:41:38 +01:00
Bart
4360b24b70 QT: implement TColorDialog.Options cdNoButtons and cdDontUseNativeDialog. 2024-12-14 16:38:35 +01:00
Bart
2753fed6e8 QT implement TColorDialog.AlphaChannel and associated option cdShowAlphaChannel. 2024-12-14 16:20:28 +01:00
Bart
633cb5bbc0 TColorDialog: implement property AlphaChannel and associated option cdShowAlphaChannel for GTK2. 2024-12-14 15:54:25 +01:00
mattias
b66a32c36b gtk2: fixed application deactivate on switch using alt-tab 2024-12-13 12:11:51 +01:00
Željan Rikalo
4c1940a28c Qt5: fixed blurred text when drawing QImage and QPixmap and hidpi enabled for qt libs >= 5.14. issue #41276 2024-12-12 16:41:56 +01:00
Željan Rikalo
563018b0c5 Qt5: Use QColorDialog_getColor() instead of QColorDialog_getRgba() so we can set title and options. issue #22717 2024-12-10 21:06:50 +01:00
Bart
7c3e5aa112 Win32: ifdef then const declaration of CC_ANYCOLOR for fpc < 3.3.1. 2024-12-10 18:26:39 +01:00
Željan Rikalo
7ae7202855 Qt5: fixed crash with uninitialized menubar. issue #41271 2024-12-09 16:42:55 +01:00
Bart
9077ef32a2 LCL: implement TColorDialog.Options. Currently only supported for Win32/Win64 widgetset. Issue #22717.
The default value differs from Delphi (7) for backwards compatibility (CC_FULLOPEN flag was always set in Windows).
2024-12-08 13:56:30 +01:00
Željan Rikalo
08438724ec Qt5,Qt6: fixed regression, signals should not be stopped for button with focusPolicy = QtNoFocus. issue #41237 2024-11-23 21:43:30 +01:00
Željan Rikalo
3afef2e176 Qt5, Qt6: do not change floatSpinbox value on mouse move. issue #41255 2024-11-23 18:09:38 +01:00
Juha
8583ffa716 LCL: Formatting. 2024-11-23 08:10:58 +02:00
Juha
ce99987f79 LCL-GTK2: Don't fire "OnChange" and "OnEditingDone" when TSpinEdit/TFloatSpinEdit lose focus. Issue #41254. 2024-11-22 23:35:08 +02:00
Željan Rikalo
ea838aa496 Gtk2: fixed bitmap creation when ratio DataSize/MaskSize have remainder. issue #41070 2024-11-21 19:52:47 +01:00
Željan Rikalo
1cedb15355 Qt6: fixed MonitorFromWindow, MonitorFromPoint and MonitorFromWindow. 2024-11-21 19:43:18 +01:00
Željan Rikalo
d80a9519cb Qt5, Qt6: Fixed TQtWidgetSet.SetActiveWindow and TQtWidgetSet.SetForegroundWindow behaviour. issue #41251, issue #41252 2024-11-21 16:32:13 +01:00
Maxim Ganetsky
dae82f367a LCL-Gtk2: Ensure that correct DestroyHandle flavor is called for TShellListView. Fixes crashes when freeing TShellListView. Issue #41238, patch by Željan and Bart. 2024-11-21 16:36:08 +03:00
Željan Rikalo
3851c98976 Qt6: Fixed bug in cbindings, updated cbindings version. 2024-11-20 23:47:15 +01:00
Željan Rikalo
f2f43ea7fa Qt5, Qt6: guard TQtWSWinControl.SetText from dangling pointers in same way as TQtWSWinControl.GetText 2024-11-20 23:37:53 +01:00
Željan Rikalo
83f1d01e6a Qt5: Fixed bug in cbindings, updated version to 1.2.16. 2024-11-20 22:50:41 +01:00
Željan Rikalo
0201dd32c9 Qt5, Qt6: small optimization, mark vBrush,vPen and vBackroundBrush as shared. 2024-11-20 22:49:25 +01:00