Commit Graph

236 Commits

Author SHA1 Message Date
paul
1e9b89230d qt: remove last pixel on line draw if pen is cosmetic (to mimic windows)
git-svn-id: trunk@17646 -
2008-12-01 15:03:36 +00:00
paul
eda677114d qt: fix few issues with DrawEdge
git-svn-id: trunk@17645 -
2008-12-01 14:23:42 +00:00
paul
cda2f61ad0 qt: fix DrawEdge colors
git-svn-id: trunk@17644 -
2008-12-01 13:35:25 +00:00
zeljko
f861906cc1 Qt: implemented GetDCOriginRelativeToWindow()
git-svn-id: trunk@17623 -
2008-11-28 15:35:35 +00:00
zeljko
87d2d92f67 Qt: fixed few bugs inside getTextMetrics()
git-svn-id: trunk@17509 -
2008-11-22 11:17:34 +00:00
paul
ffa494672e lcl: remove CLX colors. They are nowhere defined, nowhere used and nobody wants to support them for years
git-svn-id: trunk@17458 -
2008-11-20 01:53:23 +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
paul
25e9426c10 lcl: MaxLength redo:
- MaxLength = 0 => no limit, MaxLength > 0 => limit. Default = 0 for memo, combo and edit
  - fix gtk, gtk2 code where MaxLength = -1 was used for unlimited length in Memo (why? combo and edit used 0)
  - fix qt combobox SetLength (was occasional forgotten?)
  - cleanup

git-svn-id: trunk@17365 -
2008-11-13 06:42:37 +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
9a0a1e6215 Qt: clearFocus only on IQtEdit interface.
git-svn-id: trunk@17278 -
2008-11-08 14:37:03 +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
zeljko
df87cd1869 Qt: fix wrong result position inside setWindowOrgEx()
git-svn-id: trunk@17216 -
2008-11-04 12:11:21 +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
tombo
c5e876817b LCL:
* SetScrollInfo - return new position
* SetScrollPos - return previous position

git-svn-id: trunk@17173 -
2008-11-01 17:24:46 +00:00
paul
f0b96b997f lcl: declare TExtLogPen
qt: return ExtLogPen in GetObject if pen was created by ExtCreatePen

git-svn-id: trunk@17136 -
2008-10-27 08:40:27 +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
05e23ab608 qt: if nil is passed to GetObject return needed Size
qt, gtk: forget that GetObject.Result = SizeOf structure

git-svn-id: trunk@16806 -
2008-09-30 05:45:19 +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
c6336bf30d qt: cleanup, remove PS_USERSTYLE from case since it can be only passed in EXTLOGPEN not in LOGPEN
git-svn-id: trunk@16802 -
2008-09-30 03:28:08 +00:00
paul
cdbcd54d0e qt: fix pen position after lineTo (fixes Jesus troubles with grid)
git-svn-id: trunk@16716 -
2008-09-25 06:25:02 +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
paul
09983c4aa0 qt: clCaptionText color must be visible on clActiveCaption bg
git-svn-id: trunk@16666 -
2008-09-21 14:01:58 +00:00
zeljko
6ce78376aa Qt: added comment about QFontMetrics::averageCharWidth() under MacOsX.
git-svn-id: trunk@16600 -
2008-09-15 21:19:29 +00:00
zeljko
ffec5a52a8 Qt: fix latest patch, only DT_NOCLIP should be changed ...
git-svn-id: trunk@16599 -
2008-09-15 17:17:07 +00:00
zeljko
b15a1073c9 Qt: bugfix in TQtWidgetSet.drawText()
git-svn-id: trunk@16598 -
2008-09-15 17:01:19 +00:00
zeljko
e638219510 Qt: fix synedit AV under darwin.
git-svn-id: trunk@16591 -
2008-09-15 12:08:45 +00:00
zeljko
0152132972 Qt: fixed #11101, #11281 (dbgrid AV)
git-svn-id: trunk@16588 -
2008-09-14 13:04:18 +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
zeljko
44818bf3cb Qt: fix stalled writeln.
git-svn-id: trunk@16436 -
2008-09-05 13:45:02 +00:00
zeljko
eedc289813 Qt: smallfix for TQtWidgetSet.setFocus()
git-svn-id: trunk@16307 -
2008-08-30 14:48:54 +00:00
zeljko
a5bf37a4f3 Qt: fix focus patch, qtwin32 doesn'' like it.
git-svn-id: trunk@16283 -
2008-08-28 13:12:15 +00:00
zeljko
7a7e45b610 Qt: Fixed focus problems (eg. OnExit() events from TCustomEdit etc.), now it is just like in VCL.
git-svn-id: trunk@16280 -
2008-08-28 08:45:21 +00:00
zeljko
7bf7a4167b Qt: fixed bug in StretchMaskBlt(), variable should be SrcHeight instead of SrcWidth.
git-svn-id: trunk@15970 -
2008-08-06 11:57:20 +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
zeljko
c9aebb8a74 Qt: qtwinapi - added define around debugln() in GetKeyState()
git-svn-id: trunk@15946 -
2008-08-04 07:10:55 +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
33957ab7a7 qt: support mask in CreateIconIndirect
git-svn-id: trunk@15525 -
2008-06-23 06:39:58 +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
565bfc0538 qt: cleanup
git-svn-id: trunk@15447 -
2008-06-17 05:03:33 +00:00
tombo
a4df5b94f9 LCL Qt: if not changed, clipping box covers entire bitmap
git-svn-id: trunk@15418 -
2008-06-14 11:22:20 +00:00
zeljko
0c3416a0e8 Qt: Small optimization to TQtWidgetSet.DrawText(), bugfix EnumFontFamiliesEx() - wrong UTF8 conversion.
git-svn-id: trunk@15173 -
2008-05-17 21:12:16 +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
paul
25093a929a qt: redo sizing and positioning
git-svn-id: trunk@15143 -
2008-05-15 02:51:30 +00:00
zeljko
74852c55e3 Qt: SetScrollInfo() added missing singleStep calculation, now wheel scrolls perfectly
git-svn-id: trunk@15131 -
2008-05-14 08:24:09 +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
paul
f703ada675 gtk, qt: improve a bit getsyscolor return
git-svn-id: trunk@14957 -
2008-04-25 07:21:19 +00:00