Commit Graph

7448 Commits

Author SHA1 Message Date
zeljko
74bcb1d11f Qt: formatting
git-svn-id: trunk@31213 -
2011-06-14 12:02:08 +00:00
zeljko
d5a9fc581d Qt: do not send resize event if lineedit is child of combobox when csDesigning or TQtComboBox().InUpdate. Fixes bad behaviour when resizing editable combobox during design or runtime.
git-svn-id: trunk@31209 -
2011-06-14 07:21:31 +00:00
dmitry
bce929a582 carbon: workaround for the wrong inital scrollbars shown. Better solution is required. #19425
git-svn-id: trunk@31180 -
2011-06-12 02:46:36 +00:00
zeljko
871983422f Qt: implemented TTrackBar themed drawing
git-svn-id: trunk@31165 -
2011-06-11 12:40:13 +00:00
zeljko
2e466d600d Qt: simplification of some code, initialization of qt handles (nil).
git-svn-id: trunk@31162 -
2011-06-11 08:18:36 +00:00
zeljko
63c8a49109 Qt: fixed HUGE mem leak in TQtDeviceContext code where allocated QRegion never has been destroyed, so leak was invisible for heaptrc , but leaked directly qt lib and heap raised dramatically with paint operations.
git-svn-id: trunk@31159 -
2011-06-10 21:11:41 +00:00
mattias
44fa8c6766 LCL: made QueueAsyncCall and RemoveAsyncCalls thread safe
git-svn-id: trunk@31143 -
2011-06-09 11:00:09 +00:00
zeljko
a452810bf5 Qt: fixed bad behaviour of modal forms and TQtMessageBox under metacity window manager. issue #19507
git-svn-id: trunk@31121 -
2011-06-06 16:33:11 +00:00
zeljko
779e0eea41 Qt: TQtWidgetSet introduced WindowManagerName property to handle different behaviour between various wm (especially metacity vs others).
git-svn-id: trunk@31120 -
2011-06-06 15:09:08 +00:00
zeljko
e3970c3176 Qt: fixed regressions introduced by r31087 #4b57ac797b.
git-svn-id: trunk@31119 -
2011-06-06 11:53:46 +00:00
juha
4b57ac797b IDE & LCL: Move focus to editor after hitting breakpoint. Patch from August Klein, issue #15967
git-svn-id: trunk@31087 -
2011-06-05 06:22:54 +00:00
juha
10d948d4b2 LCL: Fix the cursor pointer for SpinEdit buttons and ListView column resize. Patch from August Klein, issues #16542 and #15083
git-svn-id: trunk@31038 -
2011-06-04 07:03:48 +00:00
juha
74a398b683 LCL: Fix PaintTo for GTK2. Patch from August Klein, issue #18242
git-svn-id: trunk@31018 -
2011-06-02 22:51:06 +00:00
paul
846a4b446a qt: more work on triangle gradients
git-svn-id: trunk@30972 -
2011-05-30 09:21:45 +00:00
paul
29dd0ebe58 qt: more work on GradientFill
git-svn-id: trunk@30971 -
2011-05-30 08:37:06 +00:00
paul
5e7c2ab4d6 qt: reimplement GradientFill rectangle gradients using Gradient class instead of multiple brush drawing
git-svn-id: trunk@30969 -
2011-05-30 07:56:17 +00:00
juha
550b1d3a3a LCL, GTK2: Update ScrollBox.VertScrollBar.Position when scrolling with mouse wheel. Patch from August Klein, issue #19428
git-svn-id: trunk@30967 -
2011-05-29 23:08:52 +00:00
mattias
b68fd5c06b gtk2 intf: added flag Gtk2CallMouseDownBeforeContext to call mousedown before lm_context
git-svn-id: trunk@30939 -
2011-05-27 20:20:17 +00:00
vincents
efd27b4488 win32 interface: fix compilation on win64 by using the callback declaration from the windows unit, because the record declaration is used from the windows unit too. In fpc < 2.5.1 the windows unit still contains a bug and the callback from the commdlg is not type compatible.
git-svn-id: trunk@30897 -
2011-05-25 13:43:46 +00:00
zeljko
2946723366 Qt: always invalidate widgetAt() cache since QWidget_mapToGlobal() could fail in multithreading environment and then segfault app.
git-svn-id: trunk@30882 -
2011-05-24 06:19:34 +00:00
zeljko
01f454abce LCL: introduced TWSScrollBar.SetKind() to avoid usage of RecreateWnd when changing kind of TScrollBar, because it crashes on 64bit installations.Fixed AV with qt and gtk2 under 64bit
git-svn-id: trunk@30853 -
2011-05-22 09:53:34 +00:00
zeljko
2a26b86c4c Gtk2: fixed crash under 64bit when changing orientation of trackbar.
git-svn-id: trunk@30847 -
2011-05-22 09:21:39 +00:00
zeljko
5306a46d58 LCL: TTrackbar: introduced TWSTrackBar.SetOrientation(), default implementation is RecreateWnd(), but should be implemented for ws which supports changing trackbar orientation. fixes #19387
git-svn-id: trunk@30846 -
2011-05-22 08:55:33 +00:00
dmitry
45c4c2fc7c listview: fix reshresh for the carbon. the issue reported by Frederick at #18546 (46344)
git-svn-id: trunk@30833 -
2011-05-21 04:38:48 +00:00
zeljko
7e730027e3 Qt: trial to fix #19387
git-svn-id: trunk@30829 -
2011-05-20 14:53:22 +00:00
juha
6f47638fc2 LCL: fix gtk1 the same way r30134 #e999be5449 fixed gtk2. Patch from Burkhard Carstens, issue #19358
git-svn-id: trunk@30797 -
2011-05-18 14:48:32 +00:00
juha
88e6da2538 LCL: fix custom draw Combobox. Patch from August Klein, issue #19356
git-svn-id: trunk@30792 -
2011-05-18 10:03:37 +00:00
mattias
4eb05d0a4e qt intf: fixed showing caret when FWidget got context, bug #16905
git-svn-id: trunk@30747 -
2011-05-15 12:27:49 +00:00
mattias
937fe55e63 qt intf: undo 20743
git-svn-id: trunk@30745 -
2011-05-15 12:16:33 +00:00
mattias
acb07766c4 qt intf: fixed showing caret when FWIdget got context, bug #16905
git-svn-id: trunk@30744 -
2011-05-15 12:11:38 +00:00
mattias
82f5d6ef1c qt intf: added verbosity
git-svn-id: trunk@30743 -
2011-05-15 12:11:11 +00:00
mattias
4449b06e51 qt intf: clena up
git-svn-id: trunk@30739 -
2011-05-15 10:11:46 +00:00
zeljko
03789821bf Qt: fixed crash in TQtWidgetSet.SendMessage() if TQtWidget Qt handle (QWidgetH) is nil.
git-svn-id: trunk@30692 -
2011-05-12 11:16:42 +00:00
juha
fdc466d76d Fix spelling from Childs to Children around Lazarus source. Patch from Mazen NEIFER
git-svn-id: trunk@30657 -
2011-05-10 09:13:38 +00:00
zeljko
20b1624576 Qt: check handle in TQtWidgetSet.GetWindowRect()
git-svn-id: trunk@30615 -
2011-05-08 14:10:05 +00:00
zeljko
324e7dcf13 Qt: reverted previous changes in TQtWidgetSet.CreateRectRgn().Region must be in logical units, so translation is forbidden.
git-svn-id: trunk@30608 -
2011-05-07 20:40:31 +00:00
zeljko
6a9535a69a Qt: TQtWidgetSet.CreateRectRgn() create region with X=0 and Y=0 and then translate by offset X1 and Y1
git-svn-id: trunk@30607 -
2011-05-07 19:27:55 +00:00
zeljko
a3c01126d9 Qt: fixed wrong result of TQtWidgetSet.GetClipBox(), fixed TQtRegion translation in TQtWidgetSet.CreateRectRGN()
git-svn-id: trunk@30605 -
2011-05-07 17:38:19 +00:00
zeljko
244f96a67c Qt: fixed TQtWidgetSet.GetDeviceCaps() to return correct result for hdc.
git-svn-id: trunk@30596 -
2011-05-07 14:34:52 +00:00
juha
fb63887235 Win32 fix: Closing file with CTRL-F4 on form designer caused access violation. Patch from Ludo Brands, issue #19294
git-svn-id: trunk@30575 -
2011-05-06 10:09:44 +00:00
zeljko
36f8395af2 Qt: pass key events for TScrollBar. issue #19211
git-svn-id: trunk@30569 -
2011-05-06 09:37:10 +00:00
juha
5ee9d4d079 LCL GTK2: fire OnExit event when leaving Combobox. Patch by August Klein, issue #18962
git-svn-id: trunk@30564 -
2011-05-05 23:56:49 +00:00
zeljko
a40f6e162e Qt: TToolBar should have QtTabFocus focuspolicy.Removed WSToolbar (native qt toolbar implementation) define.issue #19211
git-svn-id: trunk@30555 -
2011-05-05 09:38:58 +00:00
zeljko
0de9b809b0 Qt: avoid asserts from GetDC() when QPixmap_grabWidget() is called.It shouldn't be there.QtDefaultContext is used
when font,brush etc is needed outside of paint event.

git-svn-id: trunk@30546 -
2011-05-04 11:36:57 +00:00
zeljko
44ab7e1912 Qt: use text/plain instead of text/uri-list in SlotDropFiles() as workaround for QUrl bug in qt. issue #19240
git-svn-id: trunk@30543 -
2011-05-03 15:12:58 +00:00
zeljko
d9c1364472 Qt: TQtWidgetSet.GetDC() grab widget to ParentPixmap in QtDefaultContext if GetDC() is asked outside of paint event for widget.
git-svn-id: trunk@30542 -
2011-05-03 14:55:42 +00:00
zeljko
0abaa5be8e Qt: TQtWidgetSet.GetDC() check if hwnd is valid handle.
git-svn-id: trunk@30541 -
2011-05-03 14:33:23 +00:00
zeljko
fc8550cf53 Qt: fixed crash in TQtWidgetSet.RawImage_FromDevice(), also fixed memleak with created TQtPixmap. issue #19281
git-svn-id: trunk@30540 -
2011-05-03 14:23:43 +00:00
jesus
93747680f0 GTK2, reverted TEdit caret position as causes issue #19239
git-svn-id: trunk@30481 -
2011-04-26 18:45:30 +00:00
juha
22ef1d3d82 LCL: Stop handling click events after popup in gtkMouseBtnPress. Patch from August Klein, issue #19145
git-svn-id: trunk@30478 -
2011-04-26 08:26:59 +00:00