Commit Graph

205 Commits

Author SHA1 Message Date
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
zeljko
9df47277cd Qt: avoid crash because of poly region.QPolygon have it's own boundingRect(), and QRegion_isEmpty() cannot be called if created form QPolygon.
git-svn-id: trunk@22935 -
2009-12-03 10:22:19 +00:00
zeljko
750e586cee Qt: fix TQtDeviceContext.getDepth() for unassigned device pointer.
git-svn-id: trunk@22926 -
2009-12-02 14:22:14 +00:00
zeljko
f25b61f322 Qt: implemented TQtWidgetSet.CreateCompatibleBitmap()
git-svn-id: trunk@22925 -
2009-12-02 14:18:42 +00:00
zeljko
06a978b8e3 Qt: fix segfault when creating QRegion with negative width or height.Fixed implementation of GetRgnBox, so it doesn't ask for QRegion_boundingRect() if returned region type is ERROR or NULLREGION.
git-svn-id: trunk@22881 -
2009-11-30 20:43:38 +00:00
zeljko
42cdf709b5 Qt: Composition & RasterOps - we must check engine type or we have QPainter assert with unsupported composition modes.
git-svn-id: trunk@22130 -
2009-10-13 08:00:59 +00:00
paul
cce715386e qt: more adjustments for R2ToQtRasterOp
git-svn-id: trunk@22126 -
2009-10-13 02:22:42 +00:00
paul
40da25442d qt: fix R2ToQtRasterOp - swap R2_notmaskpen, R2_notmergepen
git-svn-id: trunk@22125 -
2009-10-13 01:27:57 +00:00
zeljko
5bd9a0fbc9 Qt: fixed compilation under win32 R2_XXX is different under windows.
git-svn-id: trunk@22101 -
2009-10-12 10:39:22 +00:00
zeljko
3a6bcf71c5 Qt: qtwinapi - initial implementation of RasterOp modes (getRop2() & setRop2())
git-svn-id: trunk@22099 -
2009-10-12 09:44:34 +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
zeljko
5e2b10ec3d Qt: TQtSystemTrayIcon added ShowBaloonHint()
git-svn-id: trunk@21909 -
2009-09-28 17:37:00 +00:00
zeljko
771b53b7e8 Qt: avoid crash inside q_DrawXXX() functions when palette paremeter is nil and painter parent is nil. fixes #14673
git-svn-id: trunk@21876 -
2009-09-26 07:40:18 +00:00
zeljko
566a4c3378 Qt: bugfix for #14646 - TQtDeviceContext.DrawText()
git-svn-id: trunk@21821 -
2009-09-22 15:45:13 +00:00
zeljko
cc41dd2339 Qt: use QPrinterHighResolution as default param in QPrinterH constructor. fixes #14592
git-svn-id: trunk@21761 -
2009-09-18 16:37:01 +00:00
zeljko
9de10817ea Qt: propagate mouse events for TQtSystemTrayIcon, MouseMove isn't supported. Fixes #14129.
git-svn-id: trunk@20828 -
2009-07-11 10:02:52 +00:00
zeljko
7fc09eb060 Qt: fixed compilation when -dVerboseQt enabled.
git-svn-id: trunk@20764 -
2009-06-29 17:00:43 +00:00
marco
bf1dd0ea13 * vars after methods. Reported by Aison.
git-svn-id: trunk@20760 -
2009-06-27 19:17:57 +00:00
zeljko
75d50cf723 Qt: complete qwidget palette rework.Introduced new class TQtWidgetPalette.Colors are consistent now across all qtlcl supported platforms during design time and runtime.
git-svn-id: trunk@20431 -
2009-06-05 10:24:47 +00:00
sekelsenmat
10f2d08f34 Fixes Qt font rotation
git-svn-id: trunk@19740 -
2009-05-01 14:58:23 +00:00