Commit Graph

249 Commits

Author SHA1 Message Date
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
zeljko
15dc88089b Qt: fixed LCLIntf.Frame3D. When FillBrush isn't filled then draw shaded box without brush (applies painter brush).issue #24445
git-svn-id: trunk@41291 -
2013-05-19 13:00:21 +00:00
zeljko
1c729ef89c Qt: use QPolygonH to draw poly regions in FillRgn()
git-svn-id: trunk@40954 -
2013-04-30 15:06:39 +00:00
zeljko
49ae53840a Qt: mono QImage needs rgba color under darwin.
git-svn-id: trunk@40779 -
2013-04-10 05:55:02 +00:00
jesus
08ee2fff02 LCL,Qt, fix some solid black mouse cursors
git-svn-id: trunk@40775 -
2013-04-09 20:26:28 +00:00
jesus
e005e58a07 LCL, QT, set number of colors to 2 for mono images, this avoids crash if QT is compiled with debug info because then assertions are enabled
git-svn-id: trunk@40671 -
2013-03-29 21:04:33 +00:00
zeljko
caeb80cabc Qt: added TQtDeviceContext.GetBkMode to get current painter backgroundmode.
git-svn-id: trunk@38630 -
2012-09-13 06:26:11 +00:00
zeljko
eb345d8552 Qt: added PATPAINT raster op
git-svn-id: trunk@35475 -
2012-02-19 10:56:33 +00:00
zeljko
7a324ede40 Qt: make TQtImage.FHandle private, introduce Handle readonly property. issue #21235
git-svn-id: trunk@35203 -
2012-02-07 07:38:40 +00:00
zeljko
df8e36b1c7 Qt: fixed rare crash with QClipboard because we are freeing QClipboardH which is owned by QApplication
git-svn-id: trunk@34640 -
2012-01-07 17:14:27 +00:00
zeljko
09b6901936 Qt: qt on mac always expects that brush mode = transparent when drawing text.
git-svn-id: trunk@34202 -
2011-12-15 11:33:30 +00:00
zeljko
b7aae45a58 Qt: fix null clip region disaster under coregraphics and quickdraw paintengines (macosx)
git-svn-id: trunk@34201 -
2011-12-15 09:03:36 +00:00
zeljko
bdb4d0c6b9 Qt: fixed masked image drawing under MacOSX
git-svn-id: trunk@34111 -
2011-12-11 18:23:00 +00:00
zeljko
05f61e9cb9 Qt: implemented supported ternary raster ops for BitBlt(),StretchBlt(),StretchMaskBlt().
git-svn-id: trunk@34090 -
2011-12-10 18:15:42 +00:00
zeljko
1b537316df Qt: fixed compilation for 64bit
git-svn-id: trunk@33484 -
2011-11-12 12:03:44 +00:00
zeljko
014bdd4735 Qt: introduced TQtGDIObjects class to track gdi objects validity, added missing TQtRegion into SelectObject()
git-svn-id: trunk@33483 -
2011-11-12 11:26:24 +00:00
zeljko
2c2382e069 Qt: initialize SelFont,SelBrush and SelPen
git-svn-id: trunk@33452 -
2011-11-10 07:03:39 +00:00
zeljko
15e82e2123 Qt: now we keep track of fonts changing and respect ParentFont property.fixes issue #19695
git-svn-id: trunk@33309 -
2011-11-04 18:16:04 +00:00
zeljko
29b9330b98 Qt: renamed TQtRegion Widget: QRegionH to FHandle: QRegionH
git-svn-id: trunk@33293 -
2011-11-04 10:53:48 +00:00
zeljko
f1c68cf775 Qt: renamed TQtBrush Widget: QBrushH to FHandle: QBrushH, also TQtPen Widget:QPenH to FHandle: QPenH
git-svn-id: trunk@33291 -
2011-11-04 10:45:39 +00:00
zeljko
7a3d27f62c Qt: renamed TQtFont Widget: QFontH to FHandle: QFontH, also TQtFontMetrics Widget: QFontMetricsH to FHandle: QFontMetricsH
git-svn-id: trunk@33289 -
2011-11-04 10:31:30 +00:00
zeljko
da01ce8458 Qt: renamed TQtImage Handle: QImageH to FHandle: QImageH.
git-svn-id: trunk@33287 -
2011-11-04 10:22:59 +00:00
zeljko
4217128215 Qt: renamed TQtAction Handle:QActionH to FHandle:QActionH
git-svn-id: trunk@33286 -
2011-11-04 10:13:42 +00:00
zeljko
7b046c31bc Qt: introduced new class TQtFontInfo (QFontInfo) to keep informations about font when qt changes font of widget (and LCL does not want that).Related to issue #19695
git-svn-id: trunk@33284 -
2011-11-04 09:59:24 +00:00
zeljko
1133218b71 Qt: fixed wrong output of TQtBrush.GetLBStyle
git-svn-id: trunk@33051 -
2011-10-23 14:44:56 +00:00
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