Commit Graph

76 Commits

Author SHA1 Message Date
zeljko
c3e3cf9a44 Qt: fixed #11602, problem was in TQtWidgetSet.DCSetPixel().
git-svn-id: trunk@16618 -
2008-09-17 12:11:09 +00:00
zeljko
ec76a4c4ac Qt: bugfix - issue #12121
git-svn-id: trunk@16540 -
2008-09-11 07:16:17 +00:00
zeljko
e09c9c8450 Qt: fix for various crashes 32/64bit.We don't use eventprocessing on timers anymore,
also there's a small fix to appWaitMessage().Tnx to Terry Kemp for issue investigation on 64bit.

git-svn-id: trunk@16264 -
2008-08-27 07:05:14 +00:00
zeljko
64d1536bb4 Qt: TQtCaret is more responsive now, added high priority to postEvent() for OnWakeMainThread() and PostMessage().
git-svn-id: trunk@15957 -
2008-08-05 12:32:27 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
f4e7288ff8 qt: correctly handle HICON = 0
git-svn-id: trunk@15502 -
2008-06-21 13:24:37 +00:00
paul
ce329d855d lcl: add TWidgetset.AppSetIcon
win32, qt, carbon: implement AppSetIcon

git-svn-id: trunk@15497 -
2008-06-21 12:23:31 +00:00
paul
66ca0835ec - lcl: use CreateIconIndirect as default implementation for CreateCursor and DestroyIcon for DestroyCursor
- win32: add CreateIconIndirect and remove CreateCursor
- qt: redo cursors through TQtCursor instead of QCursorH, remove CreateCursor and DestroyCursor, implement CreateIconIndirect and DestroyIcon

git-svn-id: trunk@15456 -
2008-06-18 03:21:33 +00:00
paul
200d8894aa qt: fix changing visibility of a window if it has main menu attached (#0011487)
git-svn-id: trunk@15444 -
2008-06-17 02:21:22 +00:00
paul
8c3211e4ac qt: more safe deletion of gdi objects, and first of all brush
git-svn-id: trunk@15155 -
2008-05-15 13:21:40 +00:00
zeljko
79f610efff Qt: Fixed endless loop problem with TQtWidgetSet.FocusChanged hook, removed workaround.
git-svn-id: trunk@15043 -
2008-05-04 16:14:13 +00:00
paul
a311f2ef86 qt: create application object in widgetset constructor instead of widgetset init method (fixes #0011173)
git-svn-id: trunk@14895 -
2008-04-19 17:28:56 +00:00
paul
f8b77ec330 qt: use TQtImage instead of QImageH for DeviceContext.vImage (issue #0011172)
git-svn-id: trunk@14892 -
2008-04-19 13:46:45 +00:00
paul
682a924368 typo in comments
git-svn-id: trunk@14377 -
2008-03-03 08:23:10 +00:00
paul
4c654ea838 improve r14363 #35e5c5db54 workaround
git-svn-id: trunk@14364 -
2008-03-02 12:24:06 +00:00
zeljko
35e5c5db54 Qt: workaround for MDI children segfault introduced by new focus changing code.
git-svn-id: trunk@14363 -
2008-03-02 10:42:45 +00:00
paul
f7c7ce2ff8 qt: use application FocusChanged slot to catch focus change events instead of listening for focus events of individual widgets. This new way should give better feedback from qt about focus changes.
git-svn-id: trunk@14361 -
2008-03-02 06:10:36 +00:00
zeljko
8d4d35c742 Qt: fix win32 problems with new clipboard workaround.
git-svn-id: trunk@14313 -
2008-02-29 14:03:39 +00:00
zeljko
2f9c799570 Qt: workaround for #10881. Clipboard should be initialized at app start. Workaround for clipboard (synedit) blocking linux desktop.Small optimizations for clipboard.
git-svn-id: trunk@14311 -
2008-02-29 13:33:38 +00:00
paul
3faf42a722 qt: improve GetKeyState - make it more windows compatible
git-svn-id: trunk@14267 -
2008-02-27 06:07:35 +00:00
paul
a3704dd28e remove csCaptureMouse from TCustomCalendar
git-svn-id: trunk@14221 -
2008-02-21 09:48:20 +00:00
zeljko
8a4b55bf34 Qt: TQtPrinter - more routines implemented
git-svn-id: trunk@14066 -
2008-02-10 10:00:22 +00:00
paul
c380a23969 qt:
- init screeninfo
- thread support (issue #0010675)

git-svn-id: trunk@13841 -
2008-01-23 09:56:45 +00:00
paul
3092ac63d9 qt: TQtWSDragImageList implementation
git-svn-id: trunk@13756 -
2008-01-15 06:00:23 +00:00
paul
f895295167 qt:
- install global event filter on all systems (not only win) to catch release events
- fix crash in RawImage_FromBitmap

git-svn-id: trunk@13738 -
2008-01-13 13:31:01 +00:00
paul
62bc2eb101 qt: change some rules for TQtObject.Release (to fix crashes during some docking operations)
git-svn-id: trunk@13709 -
2008-01-10 03:39:49 +00:00
paul
5a15a014bf qt: try to improve destroy in event protection
git-svn-id: trunk@13613 -
2008-01-04 10:09:40 +00:00
paul
0f9be635f0 - rethink DrawDefaultDockImage: add 3 dock image operation: show, hide and move
- implement qt DrawDefaultDockImage

git-svn-id: trunk@13608 -
2008-01-03 15:39:34 +00:00
paul
9d15123d91 - gtk: move dialogs related stuff to gtkwsdialogs and gtk2wsdialogs
- gtk complete moving CreateComponent code to appropriate classes
- lcl remove CreateComponent method since there is no more need in it

git-svn-id: trunk@13478 -
2007-12-27 09:51:27 +00:00
sekelsenmat
91d7364451 Small fix for events on Qt.
git-svn-id: trunk@12624 -
2007-10-29 09:10:25 +00:00
zeljko
53066a6564 Qt: Fixed AppWaitMessage(), produced AV's sometimes because of pending events.
git-svn-id: trunk@12533 -
2007-10-20 12:12:46 +00:00
paul
6c7ee16314 Qt: cleanup
git-svn-id: trunk@12300 -
2007-10-03 01:53:40 +00:00
paul
36106630ec Qt: minor changes in ProcessMessage (no more "crazy menu")
git-svn-id: trunk@12296 -
2007-10-02 14:50:57 +00:00
paul
3944285bc5 qt: add verbose define VerboseTabbedControls to check controls that get focus by Tab reason (qt reason not LCL)
git-svn-id: trunk@12272 -
2007-10-01 13:29:32 +00:00
zeljko
12625a722d Qt: MenuBar should be created on demand, if form contains assigned menu - fixes problem with menus under Darwin. Fixed problem with tabBar under Darwin (others accept this too). More optimized global event filter for win32. All tested on Linux, MaxOSX & winXP.
git-svn-id: trunk@12260 -
2007-10-01 08:44:30 +00:00
zeljko
b6ce1f8f61 Qt: 1.Fixed crash on linux & macosx introduced by installing global EventFilter hook. Check win32 and delete at all this hook if not needed. Tabs works without it.
2.Workaround for crazy menus problem, added define QT_NO_MENU_EFFECTS , so if U don't need fancy menus it is highly recommended to compile qt interface with this define on - this could be a Qt bug also.

git-svn-id: trunk@12257 -
2007-09-30 19:21:19 +00:00
paul
5cf5011af9 Qt: formatting
git-svn-id: trunk@12190 -
2007-09-27 01:46:30 +00:00
paul
5e21b95eac Qt: small code formatting
git-svn-id: trunk@12185 -
2007-09-26 07:57:45 +00:00
paul
5269651533 Qt: implement PostMessage as postponed TWinControl.Perform
git-svn-id: trunk@12164 -
2007-09-24 12:37:29 +00:00
paul
763779959f Qt: menu rework (also fixed issue with destroying menu items - they had not destroyed their handles)
git-svn-id: trunk@12153 -
2007-09-24 06:03:19 +00:00
paul
e05a24834f Qt:
- install global application EvenFilter (now it is used to remove Tab FocusPolicy from widgets)
- fix Tabbing
- move QtObjectFromWidgetH to right place

git-svn-id: trunk@12116 -
2007-09-21 18:41:42 +00:00
zeljko
abbd39ddec (Qt): Fixed all mem leaks with SynEdit, Bitmaps by paul, with small fix against his patch from me.
git-svn-id: trunk@11730 -
2007-08-03 17:49:21 +00:00
zeljko
c3e56093e8 (Qt): Added GetStockObject(), fixed few memleaks with TQtDeviceContext, reverted UTF8Decode into qtwinapi->ExtTextOut().
git-svn-id: trunk@11727 -
2007-08-03 12:29:20 +00:00
paul
6872289be3 (Qt): misc
git-svn-id: trunk@11706 -
2007-08-01 13:32:49 +00:00
paul
a21c0665be (Qt): cleanup
git-svn-id: trunk@11689 -
2007-07-31 16:22:45 +00:00
paul
ca9fa35962 - lcl: fix compiler errors with VerboseDrag turned on
- qt: dont send LM_CAPTURECHANGED if previously there was no capture (fix qt drag drop)

git-svn-id: trunk@11680 -
2007-07-30 17:45:22 +00:00
paul
714ed8c65a (Qt):
- skip setting border style in CreateHandle if Form in csDesigning state
- switch qt event loop to LCL event loop (now idle is called)

git-svn-id: trunk@11665 -
2007-07-29 10:50:11 +00:00
paul
af0cbd09af (Qt):
- removed dependency of qtobjects from qtwidgets
- TQtObject moved to qtobjects
- implemented TQtClipboard and winapi Clipboard operations

git-svn-id: trunk@11642 -
2007-07-27 07:44:25 +00:00
paul
0d3d586ef9 (Qt): begining of clipboard functions
git-svn-id: trunk@11636 -
2007-07-26 10:28:53 +00:00
zeljko
f8a5a5732f *Fix TQtWidgetSet.DCSetPixel(), we can set pen from TQColor ;)
git-svn-id: trunk@11602 -
2007-07-23 09:37:34 +00:00