Commit Graph

7415 Commits

Author SHA1 Message Date
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
juha
bbe278a9a0 LCL: Set Result of TQtTextEdit.viewportEventFilter when local popup is opened. Patch from August Klein, issue #19231
git-svn-id: trunk@30474 -
2011-04-26 06:38:37 +00:00
juha
4b1f5f2192 LCL: GTK2, fix offset by one when selecting and editing text in TEdit. Patch from Bart Broersma, issue #19220
git-svn-id: trunk@30461 -
2011-04-25 08:16:53 +00:00
juha
ef3f193b45 LCL: Make menu items call OnClick correctly when moving mouse sideways, on GTK2 and QT. (On Windows works). Patch from August Klein, issue #17565
git-svn-id: trunk@30426 -
2011-04-22 09:09:28 +00:00
zeljko
8822907751 Qt: fixed bug where TPanel wasn't painted with defined color in case when BevelInner and BevelOuter are bvNone.
git-svn-id: trunk@30407 -
2011-04-21 07:38:52 +00:00
sekelsenmat
7381149462 Starts implementing image connection to TTrayIcon
git-svn-id: trunk@30387 -
2011-04-19 18:31:40 +00:00
paul
fb02700240 win32: don't call LB_GETITEMRECT during ListBox initialization (fixes issue #0019191)
git-svn-id: trunk@30377 -
2011-04-19 06:09:26 +00:00
juha
866731d664 LCL: Make GTK2 menu items call OnClick even if they have sub-items. Patch from August Klein, issue #17565
git-svn-id: trunk@30369 -
2011-04-18 11:56:09 +00:00
sekelsenmat
ad4b98c8e6 Small improvement for StatusIcon gtk2 trayicon
git-svn-id: trunk@30368 -
2011-04-18 09:41:23 +00:00
sekelsenmat
19eb2d8aa5 Starts implementing Cocoa TBitmap, TIcon and TTrayIcon
git-svn-id: trunk@30357 -
2011-04-18 06:57:07 +00:00
blikblum
33183a009f win32: remove unnecessary check for nil in EnumStayOnTopRemove. lWinControl is TCustomForm will return false anyway
git-svn-id: trunk@30342 -
2011-04-17 12:01:42 +00:00
sekelsenmat
935a69428a Ifdef outs the use of a private API in Carbon
git-svn-id: trunk@30333 -
2011-04-17 06:40:55 +00:00
sekelsenmat
ce8a4be282 Removes the new Cocoa unit from the uses clause
git-svn-id: trunk@30321 -
2011-04-16 14:20:21 +00:00
sekelsenmat
5cbc62d64e Fixes wrongly commited error
git-svn-id: trunk@30320 -
2011-04-16 14:18:50 +00:00
sekelsenmat
b3bba828e0 cocoa: Basic implementation of TBitBtn as a glith-less button
git-svn-id: trunk@30316 -
2011-04-16 12:58:58 +00:00
sekelsenmat
bdab25e57e cocoa: Adds a skeleton BitBtn structure to avoid crashes
git-svn-id: trunk@30315 -
2011-04-16 12:50:53 +00:00
sekelsenmat
2d8f62d005 carbon: Fixes compilation with the VerboseWinAPI define
git-svn-id: trunk@30314 -
2011-04-16 12:38:02 +00:00
sekelsenmat
6eca9a8764 cocoa: Now TLabel works =)
git-svn-id: trunk@30313 -
2011-04-16 12:10:05 +00:00
sekelsenmat
2e674fc5f5 cocoa: Improves the debug information
git-svn-id: trunk@30312 -
2011-04-16 11:32:59 +00:00
sekelsenmat
09bbd30552 cocoa: Starts implementing GetTextExtentPoint and GetSystemMetrics
git-svn-id: trunk@30304 -
2011-04-16 04:54:32 +00:00
zeljko
28c26d4e9e Qt: fixed bug with application crash because of recursive repaint calls when an exception occured inside paint event.Now it shows correct exception msg (if any) and application isn't crashed.
git-svn-id: trunk@30303 -
2011-04-15 16:38:36 +00:00
paul
d9dfb7ca86 win32: fix win32dialogs compilation with recent fpc 2.5.1 on win64 platform (based on patch of Cyrax, issue #0019163)
git-svn-id: trunk@30301 -
2011-04-15 13:04:12 +00:00
dmitry
e3864724ca carbon: change converting FixedWidth variable to float, instead of integer to determine LineOffsets. #18681
git-svn-id: trunk@30288 -
2011-04-14 01:24:21 +00:00
paul
26ede9d979 win32: cleanup win32proc - remove unused code
git-svn-id: trunk@30286 -
2011-04-14 00:33:12 +00:00
paul
fb870600ff win32: get/restore active window before/after windows dialog showing
git-svn-id: trunk@30278 -
2011-04-13 07:10:43 +00:00
zeljko
d1b2bde9aa Qt: cleanups, removed unused units, removed unreachable code
git-svn-id: trunk@30269 -
2011-04-12 06:33:04 +00:00
paul
9f4bb027ae win32: erase paint buffer on creation
git-svn-id: trunk@30264 -
2011-04-11 01:40:28 +00:00
juha
c84b0737b7 LCL: Clean out unused variables and code.
git-svn-id: trunk@30261 -
2011-04-10 17:07:43 +00:00
blikblum
61ba5061f5 gtk2: remove virtual keywords remnant from Gtk/Gtk21 interface split
git-svn-id: trunk@30249 -
2011-04-09 15:13:07 +00:00
blikblum
30af23279d gtk2: don't call FreeAllStyles in AppTerminate. It's called on Destroy
git-svn-id: trunk@30248 -
2011-04-09 14:58:51 +00:00
zeljko
a3d3512da0 Qt: stop signals from qt when deleting an item from list. issue #19127
git-svn-id: trunk@30246 -
2011-04-08 18:05:50 +00:00
zeljko
6b1b1b22d1 Gtk2: respect TCustomForm.ShowInTaskbar in case of modal form.Only when value is stAlways modal form will be visible in taskbar.Moved GtkWindowShowModal() to gtk2proc.
git-svn-id: trunk@30236 -
2011-04-07 13:07:57 +00:00
zeljko
b2602124fe Gtk2: skip taskbar hint for modal forms of type <> GDK_WINDOW_TYPE_HINT_DIALOG. issue #18323
git-svn-id: trunk@30235 -
2011-04-07 11:56:31 +00:00
paul
2d450a59f1 repeat r30232 and revert r30231 #0962e03d29 - the fail was in that revision
git-svn-id: trunk@30234 -
2011-04-07 07:58:09 +00:00