Commit Graph

224 Commits

Author SHA1 Message Date
zeljko
38a2f4a30d Qt: TQtBrush added Style property, implemented TQtWidgetSet.GetObject() returning TLogBrush.
git-svn-id: trunk@33040 -
2011-10-23 09:06:50 +00:00
zeljko
ce39508576 Qt: implemented some routines for TQtPrinter class, removed obsoleted QPrinter_getPageSize and QPrinter_setPageSize, instead we use QPrinter_getPaperSize and QPrinter_setPaperSize.
git-svn-id: trunk@32577 -
2011-10-01 06:36:43 +00:00
zeljko
983451a0fd Qt: fixed memleak because of wron result in QtClipboard.GetFormats. issue #20364
git-svn-id: trunk@32544 -
2011-09-28 18:29:45 +00:00
zeljko
ae7d8db767 Qt: formatting
git-svn-id: trunk@31684 -
2011-07-13 07:16:00 +00:00
zeljko
da5f9a5670 Qt: fixed few memleaks in Qt library with our handling of QRegion. Each reference created by QPainter_clipRegion() must be destroyed.Small optimization in TQtWidgetSet.IntersectClipRect.
git-svn-id: trunk@31622 -
2011-07-09 17:26:23 +00:00
zeljko
9ce6c166e2 Qt: systryicon cleanups and comments
git-svn-id: trunk@31601 -
2011-07-08 08:27:22 +00:00
zeljko
82b1aef2cb Qt: fixed QSystemTrayIcon popup menu and icon. issue #19642
git-svn-id: trunk@31567 -
2011-07-05 11:21:50 +00:00
zeljko
a8b4881fc6 Qt: fixed drawing of text when have DT_MODIFYSTRING and DT_END_ELLIPSIS flags using TrimLeft(), so it's same like under win32.
git-svn-id: trunk@31354 -
2011-06-24 08:38:17 +00:00
zeljko
7789de2338 Qt: fixed ugly behaviour of QPalette on some widgets issue #19612, also fixed crash with TQtTabWidget while processing key or mouse events and LCLObject handle is destroyed in the meantime.
git-svn-id: trunk@31330 -
2011-06-22 12:16:08 +00:00
zeljko
7b8e8360b8 Qt: formatting
git-svn-id: trunk@31214 -
2011-06-14 12:19:53 +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
paul
29dd0ebe58 qt: more work on GradientFill
git-svn-id: trunk@30971 -
2011-05-30 08:37:06 +00:00
zeljko
719cc8fa83 Qt: fixed assertions from Qt when drawing win panels with negative width or height.
git-svn-id: trunk@30221 -
2011-04-06 14:48:14 +00:00
juha
0928ead547 LCL: Changed function ColorToRGB's return value to TColorRef. Many related changes around the code.
git-svn-id: trunk@29734 -
2011-03-06 12:45:59 +00:00
zeljko
a2e292da52 Qt: fixed compilation and range check crashes with TColorRef
git-svn-id: trunk@29718 -
2011-03-03 15:23:38 +00:00
zeljko
bfc3350f00 Qt: implemented GetBkColor(). part of #14792
git-svn-id: trunk@27390 -
2010-09-17 06:33:19 +00:00
zeljko
bb84c35d61 Qt: TQtWidgetSet.DrawText() implemented usage of DT_MODIFYSTRING and DT_END_ELLIPSIS.
git-svn-id: trunk@27264 -
2010-09-04 11:27:53 +00:00
zeljko
fd82ff4f5f Qt: new class TQtObjectDump for dumping complete object children tree, hooked TQtFileDialog children controls to add standard shortcuts which are missing in non-native qt dialogs.
git-svn-id: trunk@27262 -
2010-09-04 09:52:47 +00:00
zeljko
6ac8338ecf Qt: assign qt font when not owning painter instead of setting new font for QPainter. fixes #16646
git-svn-id: trunk@27236 -
2010-08-30 09:52:05 +00:00
zeljko
7456e34bba Qt: workaround for Qt bug where QPainter refuses to setFont() when used by CreateFromPainter(). fixes #16646
git-svn-id: trunk@27232 -
2010-08-29 15:33:24 +00:00
zeljko
df68a7ddf6 Qt: big performance boost in StretchMaskBlt(), now mask is stretched (if needed) to image size.Removed destination width & height stretching from StretchMaskBlt(), since it is done internally in TQtDeviceContext.DrawImage()
git-svn-id: trunk@26607 -
2010-07-12 11:14:37 +00:00
zeljko
d3af90a31d Qt: added X11 selection lock,so we don't ask QMimeData when selection changes in case of native dialogs.fixes #16625
git-svn-id: trunk@26478 -
2010-07-06 09:27:17 +00:00
zeljko
bc510e1d86 Qt: fixed clipboard selection paste when qt eats some nonascii chars.
git-svn-id: trunk@26313 -
2010-06-29 07:43:38 +00:00
zeljko
41bfebe276 Qt: implemented X11 selection. fixes #16566
git-svn-id: trunk@25684 -
2010-05-27 09:41:40 +00:00
zeljko
71d77a25cd Qt: qtclipboard - disabled primaryselection in selectionChanged. fixes #16569
git-svn-id: trunk@25680 -
2010-05-27 06:25:02 +00:00
zeljko
444245d7dc Qt: added one way selection clipboard (native qt control or another app -> lcl, doesn't work yet from eg. synedit -> qt, datasize is 0 for some reason).
git-svn-id: trunk@25666 -
2010-05-26 16:41:58 +00:00
zeljko
880907fc35 Qt: started QClipboard selection implementation
git-svn-id: trunk@25660 -
2010-05-26 09:19:51 +00:00
zeljko
143400e6ce Qt: use LCL's RoundRect() instead of qt's, call QPainter_roundedRect() instead QPainter_roundRect() since roundedRect() is what LCL expects.
git-svn-id: trunk@25571 -
2010-05-21 20:32:17 +00:00
zeljko
db7287fd2a Qt: fix asserts from qtlib.
git-svn-id: trunk@25566 -
2010-05-21 16:16:56 +00:00
zeljko
e9ecd626bf Qt: fixed rotated font painting, if getClipping is enabled QPainter does the job, so we should not exit because of our calclulation.
git-svn-id: trunk@25560 -
2010-05-21 07:32:55 +00:00
zeljko
db2c2f2cbc Qt: reduce amount of calls when QEventApplicationPaletteChange triggers
git-svn-id: trunk@25146 -
2010-05-03 08:31:43 +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
9cfcda57d1 Qt: fixed wrong implementation of TQtWidgetSet.RectVisible(), now it works few times faster, added TQtScrollBar.setFocusPolicy, TQtRegion.intersects().
git-svn-id: trunk@25091 -
2010-05-01 10:59:43 +00:00
zeljko
d2f7998786 Qt: fixed wrong newRect for scaled images.
git-svn-id: trunk@24484 -
2010-04-07 09:45:40 +00:00
zeljko
ab2b6c09fe Qt: fix slow drawing of clipped & stretched images.
git-svn-id: trunk@24357 -
2010-04-01 15:30:08 +00:00
paul
518fc97931 qt: fix SelectClipRgn which is uses device coordinates and Qt uses logical
git-svn-id: trunk@24166 -
2010-03-22 08:23:33 +00:00
paul
599b36f59b qt: fix destroy logic
git-svn-id: trunk@24100 -
2010-03-19 18:05:13 +00:00
zeljko
a266017f26 Qt: menus rework, added actiongroups. fixes #15885
git-svn-id: trunk@23861 -
2010-03-07 10:46:50 +00:00
zeljko
01db5428b0 Qt: reverted latest drawImage() patch - we should not stretch image.
git-svn-id: trunk@23740 -
2010-02-19 11:27:14 +00:00
zeljko
e59e585c67 Qt: allow unclipped image draw
git-svn-id: trunk@23732 -
2010-02-18 14:23:32 +00:00
zeljko
bcd8ed3042 Qt: check for clip rect size before image drawing. fixes #15622 and #15684
git-svn-id: trunk@23730 -
2010-02-18 08:56:30 +00:00
zeljko
03e7d1d70b Qt: fixed memleak in TQtDeviceContext.Font()
git-svn-id: trunk@23527 -
2010-01-22 11:21:01 +00:00
zeljko
1039496739 Qt: replaced obsoleted class QMatrix with QTransform.
git-svn-id: trunk@23523 -
2010-01-21 17:08:53 +00:00
zeljko
a789d15c12 Qt: optimized TQtRegion.getClipRegion(), fixed bug inside SelectClipRgn() for UNIX ifdef - setting QtNoClip should be different only for QPaintEngineX11, not for others (like using QPaintEngineRaster on linux).
git-svn-id: trunk@23522 -
2010-01-21 15:59:50 +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
mattias
703970233e qt intf: clean up
git-svn-id: trunk@23368 -
2010-01-04 18:18:31 +00:00
zeljko
bfbcd3b353 Qt: do not copy #0 chars on to clipboard. fixes #15425.
git-svn-id: trunk@23299 -
2009-12-27 11:58:58 +00:00
paul
45e870d575 win32, gtk, qt: implement viewport affine transformation functions by tk (issue #0014857)
git-svn-id: trunk@23137 -
2009-12-14 05:59:52 +00:00
zeljko
a0ff72d2f1 Qt: added TQtRegion.numRects(), cleanups, formatting
git-svn-id: trunk@22995 -
2009-12-06 09:16:45 +00:00