Commit Graph

108 Commits

Author SHA1 Message Date
zeljko
db2c2f2cbc Qt: reduce amount of calls when QEventApplicationPaletteChange triggers
git-svn-id: trunk@25146 -
2010-05-03 08:31:43 +00:00
zeljko
0103468420 Qt: reinitialize widget palette on QEventPaletteChange, cleanups
git-svn-id: trunk@25139 -
2010-05-02 17:01:26 +00:00
zeljko
8d37468fe5 Qt: invalidate only handles of syscolor brushes when style is dynamically changed, otherwise we have segfault, because brush can be in saveddc data.
git-svn-id: trunk@25136 -
2010-05-02 15:25:31 +00:00
zeljko
66b938bd38 Qt: clear allocated syscolorbrushes on style change.
git-svn-id: trunk@25133 -
2010-05-02 14:17:11 +00:00
paul
ecccf982ed qt: initial implementation for GetSysColorBrush + various cleanup and bug fixes
git-svn-id: trunk@25131 -
2010-05-02 11:26:52 +00:00
zeljko
c9e25bf219 Qt: added qt lib version helper functions and constants QtVersionMajor, QtVersionMinor and QtVersionMicro.
git-svn-id: trunk@24996 -
2010-04-27 08:40:06 +00:00
paul
82492703f2 lcl: correct declaration of TRIVERTEX, add TTriVertex, TGradientRect types, fix Qt and Gtk versions of GradientFill
git-svn-id: trunk@24458 -
2010-04-06 07:10:10 +00:00
zeljko
caf4b2dd3f LCL: added IsWindow(HWND), implemeted IsWindow() for qt, gtk and gtk2.
git-svn-id: trunk@24283 -
2010-03-29 12:42:58 +00:00
marc
20448170ae + WinApi: added SetTimer/Killtimer based on existing Widgetset.CreateTimer as part of lclextentions integration
git-svn-id: trunk@23417 -
2010-01-10 18:57:23 +00:00
paul
825457d6b0 win32, wince, qt, gtk: fix DCSetPixel to allow system colors by Luiz Americo (issue #0015265)
git-svn-id: trunk@23136 -
2009-12-14 05:29:59 +00:00
zeljko
8aaa541d27 Qt: added IntfAppActivate & IntfAppDeactivate
git-svn-id: trunk@23129 -
2009-12-13 21:09:23 +00:00
zeljko
cef549858e Qt: dragimagelist should respect DoLock and DoUnlock parameters.
git-svn-id: trunk@22192 -
2009-10-15 10:13:06 +00:00
zeljko
666fea3cc7 Qt: *ATTENTION* qt45 is default from now on (no more USE_QT_XX defines, qt43 and qt44 are not supported anymore)
default bindings version is 1.72.

git-svn-id: trunk@21913 -
2009-09-29 11:24:31 +00:00
paul
00ec699a6e lcl: rename AttachMenuToWindow to SetMenu for winapi compatibility
git-svn-id: trunk@21868 -
2009-09-25 16:09:33 +00:00
paul
48e060d9f7 lcl: MainMenu refactoring and other menu changes:
- AttachMenuToWindow api changed. Now it accepts a window handle and a menu handle instead of TMenu component. This change is made to reduce interfaces dependency from the LCL (in order to reduce exe file size)
  - TMainMenu.WindowHandle is introduced for delphi compatibility
  - Don't show a main menu for the bsDialog windows (delphi compatibility)
  - Explicitly request MainMenu to notify form about destruction

git-svn-id: trunk@21844 -
2009-09-24 09:14:53 +00:00
sekelsenmat
839f502c1d Updates LCL Capability constants
git-svn-id: trunk@21284 -
2009-08-18 15:47:26 +00:00
sekelsenmat
cc2fd37660 Uses constants instead of raw numbers for the result of GetLCLCapacity
git-svn-id: trunk@21281 -
2009-08-18 14:52:56 +00:00
zeljko
0e20e0ed72 Qt: do not process stalled events before QCoreApplication_quit(), stalled events are handled by qt.Such call produces AV's on app quit in rare cases (Qt-4.5).
git-svn-id: trunk@20444 -
2009-06-05 16:08:58 +00:00
paul
077b9c0616 lcl: fonts:
- add TScreen.IconFont, TScreen.MenuFont, TScreen.SystemFont
  - replace TWidgetset.InitHintFont with TWidgetset.InitStockFont
win32, wince: retrieve default font from SystemParametersInfo as described in issue #0013848

git-svn-id: trunk@20275 -
2009-05-28 09:23:07 +00:00
paul
02f8fc163d lcl: add new LCLCapability flag lcDragDockStartOnTitleClick
git-svn-id: trunk@19701 -
2009-04-30 03:22:04 +00:00
zeljko
99c2e458af Qt: Added Qt-4.5 bindings - 1.69. Default for win32 is qt-4.5.
git-svn-id: trunk@19501 -
2009-04-19 09:33:34 +00:00
zeljko
26bf487d9a Qt: removed deffered deletion from qt44.
git-svn-id: trunk@18285 -
2009-01-14 07:46:21 +00:00
sekelsenmat
ab4f4a7e27 Fixes getting a pixel color in Qt
git-svn-id: trunk@17760 -
2008-12-09 14:13:03 +00:00
zeljko
738fb1f569 Qt: reduce getSysColor() overhead by caching colors.
git-svn-id: trunk@17700 -
2008-12-06 13:03:05 +00:00
paul
36ed21e333 lcl: add TCanvas.AntialiasingMode
qt: implement DCSetAntialiasing

git-svn-id: trunk@17392 -
2008-11-14 17:42:56 +00:00
zeljko
419086f5a8 Qt: new TQtTimer signal handler, remove posted events before destroy TQtObject, fixed result of TQtWidgetset.DeleteObject()
git-svn-id: trunk@17386 -
2008-11-14 09:36:00 +00:00
paul
04ac30b1eb license: fix asterisk position in the license block
git-svn-id: trunk@17372 -
2008-11-13 15:06:20 +00:00
zeljko
ac5664685a Qt: Removed focuspolicy workarounds, TQtPrinter is now TObject instead of TQtObject, workaround for pushbutton autosizes on macosx caused by qt43,qt44 fontmetrics bug.
git-svn-id: trunk@17323 -
2008-11-10 18:28:23 +00:00
zeljko
5fcf051437 Qt: update to qt-4.4.X, use define USE_QT_44 for qt-4.4.X.
git-svn-id: trunk@17196 -
2008-11-03 13:13:33 +00:00
paul
06924525ea lcl, widgetsets: reimplement form, application icon setting to allow set 2 icons: small and big (#0012401)
git-svn-id: trunk@17015 -
2008-10-16 03:23:40 +00:00
paul
50bf2e4308 qt: set LCLCompatibility for CanDrawOutsidePaint to 0
git-svn-id: trunk@16855 -
2008-10-02 13:57:43 +00:00
paul
ab9944c497 Qt:
- use cosmetic pens for GetStockObject
  - better handling of passed Pen.Width (0 = cosmetic, > 0 = geometric)
  - implement GetObject for HPEN

git-svn-id: trunk@16803 -
2008-09-30 04:59:55 +00:00
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