Commit Graph

13449 Commits

Author SHA1 Message Date
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
Željan Rikalo
107d8dbeae Qt5,Qt6: fixed restoring secondary minimized window. issue #40243 2024-11-20 08:31:14 +01:00
Maxim Ganetsky
9846c0c8f4 Revert "LCL-Gtk2: Workaround for Gtk2 themed painting issue when excluded cliprects were ignored sometimes."
This reverts commit f20a2c32e4.

Causes regressions with speedbutton highlight.
2024-11-20 00:43:07 +03:00
Željan Rikalo
7ffa106c64 Qt5, Qt6: set QtKey_Bar to VK_LCL_BACKSLASH. issue #40825 2024-11-19 20:52:46 +01:00
Željan Rikalo
4dc3c40696 Qt5, Qt6: Fixed bug with TListView.LargeImages and vsIcon style. issue #39511 2024-11-19 19:44:34 +01:00
Željan Rikalo
2e1792430b Qt5, Qt6: Small refactor for 'text/plain' handling in clipboard, patch by Alexey Torgashin. issue #41145 2024-11-19 18:39:37 +01:00
Maxim Ganetsky
f20a2c32e4 LCL-Gtk2: Workaround for Gtk2 themed painting issue when excluded cliprects were ignored sometimes.
Makes behavior more consistent with other widgetsets. Issue #41246,
patch by Željan Rikalo.
2024-11-19 16:43:21 +03:00
Željan Rikalo
ad73bdff39 Qt,Qt5,Qt6: implemented themed draw of tabbar base. 2024-11-18 10:26:58 +01:00
Juha
3185572fdf LCL-GTK2: Prevent a crash in OpenBSD, related to tooltips. Issue #41244, patch by Alfred Glänzer. 2024-11-16 10:19:37 +02:00
Juha
5f8eacc23d LCL-GTK2: Fix errors in TCombobox.Text. Issue #28840, patch by Maxim Ganetsky. 2024-11-15 14:34:03 +02:00
Željan Rikalo
a724e2b3a3 Qt6: removed wrong call to QFontMetricsF_horizontalAdvance():integer 2024-11-15 08:16:45 +01:00
Željan Rikalo
e53ab12bac Qt6: new version of C bindings due to added new classes and fixed wrong QFontMetricsF_horizontalAdvance() output. 2024-11-15 08:12:33 +01:00
Željan Rikalo
7bace9858e Qt6: various fixes in bindings. 2024-11-15 08:11:23 +01:00
Željan Rikalo
b915e78b9a Qt6: added QInputMethod and QKeyCombination classes to the C bindings. 2024-11-15 08:09:15 +01:00
Željan Rikalo
9ba7c6e286 Qt5, Qt6: fixed PopupParent = modal form, issue #41241 2024-11-14 13:48:14 +01:00
Maxim Ganetsky
b35ba030b3 LCL-Gtk3: Convert ampersands to underscores and back in captions as needed. Hints from Anton Kavalenka, issue #41220. 2024-11-11 22:46:51 +03:00
Željan Rikalo
c97c2774da Qt5,Qt6: do not send LM_CLICKED if button lost focus after mouse down. issue #41237 2024-11-11 18:07:26 +01:00
rich2014
1c81206a45 Cocoa: remove circle references between CocoaInt and CocoaWSCommon 2024-11-10 11:59:31 +08:00
rich2014
15be94c0ad Cocoa: remove duplicate calls to selectRowIndexesByProgram() in TCocoaTableListView 2024-11-08 23:15:17 +08:00
Željan Rikalo
d37c67876e Qt5, Qt6: small optimization for ExtTextOut when drawing char by char. 2024-11-08 13:08:42 +01:00