Commit Graph

155 Commits

Author SHA1 Message Date
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
8c2e23e096 Qt: bugfix for #13083
git-svn-id: trunk@19073 -
2009-03-23 13:00:08 +00:00
zeljko
01e25eceef Qt: QClipboard bugfix, removed workarounds.Now it works correct.
git-svn-id: trunk@18933 -
2009-03-09 17:07:05 +00:00
paul
9f70078354 qt: fix Frame3D drawing:
- decrease rect always even if we draw with bvNone (consistent behavior with carbon and gtk)
 - improve drawing of Frame3D with bvLowered, bvRaised

git-svn-id: trunk@18802 -
2009-02-23 08:18:54 +00:00
paul
705b320a3a qt: replace UTF8Encode by UTF16ToUTF8 and UTF8Decode by UTF8ToUTF16
git-svn-id: trunk@18731 -
2009-02-17 13:52:40 +00:00
sekelsenmat
80be9b456a Initial implementation for restricting the visible part of a window to a region, also known as shaped windows. qt-only at the moment.
git-svn-id: trunk@18663 -
2009-02-13 14:09:05 +00:00
zeljko
e8969ac8d4 Qt: secure QObject from accidental destroy if we have pending events.
git-svn-id: trunk@18290 -
2009-01-14 19:45:25 +00:00
zeljko
26bf487d9a Qt: removed deffered deletion from qt44.
git-svn-id: trunk@18285 -
2009-01-14 07:46:21 +00:00
zeljko
d2a489e5c4 Qt: better DrawFocusRect() patch.
git-svn-id: trunk@17654 -
2008-12-01 20:30:20 +00:00
paul
90c4a39863 qt: fix fpc 2.3.1 compilation, cleanup
git-svn-id: trunk@17405 -
2008-11-16 09:49:04 +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
ee19b1a320 Qt: added winapi function PtInRegion(), added containsPoint(), containsRect() to TQtRegion.
git-svn-id: trunk@17357 -
2008-11-12 16:18:14 +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
paul
7723b7a27d qt: use dash patterns on qt 4.3 too (thanks Den for the hint)
git-svn-id: trunk@17273 -
2008-11-08 11:17:13 +00:00
paul
227502e9d1 qt: implement custom pen dashes for qt4.4
git-svn-id: trunk@17260 -
2008-11-07 02:15:43 +00:00
paul
3461ad0f49 lcl: start ExtCreatePen function to allow pen creation with different cap style, join style, and pattern
qt: start implementation of ExtCreatePen

git-svn-id: trunk@17119 -
2008-10-24 09:29:53 +00:00
tombo
59cdf3550a LCL qt: implemented TFont.Quality (...anti-aliasing)
git-svn-id: trunk@16915 -
2008-10-07 13:06:06 +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
paul
7f06e41a7c qt:
- improve LineTo
  - PolyLine must skip last pixel to be delphi/win32 compatible

git-svn-id: trunk@16690 -
2008-09-24 01:44:22 +00:00
zeljko
0f1e56d462 Qt: bugfix - cannot blindly convert shared image, must use new QImage for such ops.
git-svn-id: trunk@16656 -
2008-09-19 17:46:12 +00:00
zeljko
f03215b59b Qt: Fixed regression in TQtDeviceContext.drawImage().
git-svn-id: trunk@16651 -
2008-09-19 16:01:42 +00:00
zeljko
36729ad9c3 Qt: fix TQtAbstractItemView should use QPaletteBase; Convert colors using QColor_fromRGB() in qtobjects.ColorRefToQColor()
git-svn-id: trunk@16621 -
2008-09-17 13:29:26 +00:00
zeljko
de65490e4a Qt: added TQtFontMetrics.averageCharWidth(), we use this one instead of blind charWidth('x',0) in qtwinapi.
git-svn-id: trunk@16565 -
2008-09-12 14:02:41 +00:00
paul
1fe8eb7a33 qt: cleanup
git-svn-id: trunk@16493 -
2008-09-09 00:39:11 +00:00
zeljko
ad067e953d Qt: fixed drawImage(), must call QImage_scaled() before QPainter_drawImage() if W&H diffs from original.
git-svn-id: trunk@16481 -
2008-09-08 08:26:04 +00:00
zeljko
5b295c681a Qt: bugfix, must check is paintdevice active before destroying printer object.
git-svn-id: trunk@16356 -
2008-09-01 18:40:51 +00:00
zeljko
550158a3a4 Qt: TQtDeviceContext.drawImage() - fixed #11713
git-svn-id: trunk@16322 -
2008-08-30 23:37:36 +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
paul
1f78623bce win32:
- cleanup (reduce warnings)
 - fix wheel handling

git-svn-id: trunk@16179 -
2008-08-22 03:01:44 +00:00
paul
428e708b0c qt: if mask has been requested then create it anyway even empty (discussion of #0011902)
git-svn-id: trunk@16138 -
2008-08-19 07:21:52 +00:00
paul
7c5ecf3461 qt: return *real* bitmap description, not the *default* (fixes #0011905)
git-svn-id: trunk@16096 -
2008-08-18 02:34:56 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
zeljko
fc59aceece Qt: More fixes for TQtFont, TQtFont getters can produce AV's , especially in GetTextMetrics()
git-svn-id: trunk@15830 -
2008-07-21 13:57:00 +00:00
zeljko
ef36a9fada Qt: Fixes #11717, fixed via TQtFont.getMetrics() which could lead us into AV eg. via qtwinapi.GetTextMetrics(), so we check TQtFont.Widget for nil state.
git-svn-id: trunk@15827 -
2008-07-21 10:24:45 +00:00
paul
6f4939f96d qt: don't use exact QFont handles but create a new copy of them - this way we protect ourself from handle owner destruction (#0011615)
git-svn-id: trunk@15746 -
2008-07-11 14:38:13 +00:00
paul
a8beee2e0b lcl:
- add ability to store icon to TTrayIcon
- qt: fix TQtTrayIcon Icon handling

git-svn-id: trunk@15633 -
2008-07-01 01:37:51 +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
7872f8a8db qt: extend TQtIcon
git-svn-id: trunk@15380 -
2008-06-11 02:17:18 +00:00
paul
1c48ba9013 qt: cleanup
git-svn-id: trunk@15160 -
2008-05-16 01:48:06 +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
5860bfb71a Qt: Fix wrong result of GetTextExtentPoint()
git-svn-id: trunk@15126 -
2008-05-14 06:10:34 +00:00
paul
ec656e9c68 qt: more reliable return for GetObject() for bitmap (patch from Luiz Americo, #0011260)
git-svn-id: trunk@15053 -
2008-05-06 05:07:41 +00:00
zeljko
223441d326 Qt: TQtPrinter->OsPrinters must know when our printer is active, but not via paint context.
git-svn-id: trunk@14983 -
2008-04-26 12:05:00 +00:00
zeljko
e31ded9715 Qt: Added devicecontext to TQtPrinter, some cleanups
git-svn-id: trunk@14981 -
2008-04-26 06:53:20 +00:00
zeljko
a47d7719f1 Qt: Fixed all clipboard operations ,no more clipboard problems with copy-paste from other apps into ide editor.
git-svn-id: trunk@14958 -
2008-04-25 08:52:42 +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
4551450205 qt: don't make difference between widget device context and image device context in internal object creating/destroying (issue: #0011171)
git-svn-id: trunk@14890 -
2008-04-19 13:34:21 +00:00
paul
81ae62103b qt: workaround problem with QBitmap_fromImage on linux (issue #0011141)
git-svn-id: trunk@14815 -
2008-04-14 08:30:48 +00:00