Commit Graph

338 Commits

Author SHA1 Message Date
zeljko
5c853d1f08 Qt: StretchMaskBlt(): fixed bug in statement for stretching dst width & height. fixes #16910
git-svn-id: trunk@26603 -
2010-07-11 20:03:57 +00:00
zeljko
e1c4c31217 Qt: fixed bug in TQtWidgetSet.ScrollWindowEx().Wrong argument passed to TQtWidget.scroll()
git-svn-id: trunk@26509 -
2010-07-07 16:31:12 +00:00
blikblum
3d4516b088 lcl: implement GetCurrentObject for Gtk, Gtk2, Qt, Carbon and WinCe. Part of 14792
git-svn-id: trunk@26265 -
2010-06-22 20:36:58 +00:00
zeljko
48e9743c3e Qt: fixed GetWindowRect() wrong result.Do not mapToGlobal() if parent doesn't have LCLObject.fixes #16717
git-svn-id: trunk@26188 -
2010-06-19 13:33:34 +00:00
mattias
62d2ab1ab0 qt intf: fixed GetWindowRect right and bottom
git-svn-id: trunk@26108 -
2010-06-14 11:16:28 +00:00
zeljko
b2c3ca1536 Qt: fixed returning rect from TQtWidgetSet.GetClipBox, region must be translated first.
git-svn-id: trunk@25976 -
2010-06-08 15:41:28 +00:00
zeljko
a19f9a2883 Qt: added todo for TQtWidgetSet.MessageBox
git-svn-id: trunk@25701 -
2010-05-27 16:13:57 +00:00
zeljko
b35fff5bcc Qt: improved mousewheel scroll by Mattias. fixes #16560
git-svn-id: trunk@25687 -
2010-05-27 12:01:09 +00:00
zeljko
d71e168a3e Qt: cleanup
git-svn-id: trunk@25608 -
2010-05-24 15:03:22 +00:00
zeljko
fb35fbd33b Qt: implemented TQtWidgetSet.GetCmdLineParamDescForInterface. Fixes #16536
git-svn-id: trunk@25582 -
2010-05-22 15:05:08 +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
8aeeea4e28 Qt: move offset recalculation before really drawing text, exclude alignments except DT_TOP or DT_LEFT.
git-svn-id: trunk@25568 -
2010-05-21 18:15:45 +00:00
zeljko
db7287fd2a Qt: fix asserts from qtlib.
git-svn-id: trunk@25566 -
2010-05-21 16:16:56 +00:00
zeljko
52894be663 Qt: properly draw text if font.orientation <> 0.Now TLabel looks nice with Font.Orientation <> 0.
git-svn-id: trunk@25565 -
2010-05-21 14:48:59 +00:00
zeljko
276aef1701 Qt: fixed Qt forms reparenting, recreateWnd() when changing FormStyle or BorderStyle when form is parented to another control,
otherwise it looses it's parent.

git-svn-id: trunk@25364 -
2010-05-13 14:25:14 +00:00
zeljko
7bb3ea0c82 Qt: fixed scrolling with mouse wheel, fixes #16460
git-svn-id: trunk@25349 -
2010-05-13 06:48:18 +00:00
zeljko
4c4f7a342f Qt: removed unneeded "fix" in SelectClipRgn(), ExtSelectClipRgn() was buggy and it's fixed in r25180 #cce49136d6
git-svn-id: trunk@25315 -
2010-05-11 10:29:17 +00:00
zeljko
e2a8f33ce7 Qt: remove unneded clearFocus from SetFocus() after focus changes in LCL.
git-svn-id: trunk@25287 -
2010-05-10 06:50:31 +00:00
paul
6b1168a249 gtk: implement LPtoDP, DPtoLP
git-svn-id: trunk@25237 -
2010-05-07 07:21:00 +00:00
paul
256161bfc7 lcl: add LPtoDP - symmetrical to DPtoLP winapi compatibility method
win32: implement LPtoDP, DPtoLP
qt: implement LPtoDP

git-svn-id: trunk@25236 -
2010-05-07 07:08:43 +00:00
zeljko
cce49136d6 Qt: proper world transform of region in ExtSelectClipRgn()
git-svn-id: trunk@25180 -
2010-05-04 12:23:49 +00:00
zeljko
8d37468fe5 Qt: invalidate only handles of syscolor brushes when style is dynamically changed, otherwise we have segfault, because brush can be in saveddc data.
git-svn-id: trunk@25136 -
2010-05-02 15:25:31 +00:00
zeljko
e76087acbe Qt: getSysColorBrush(), we must use copy of brush, fixed sigabrt
git-svn-id: trunk@25135 -
2010-05-02 14:41:02 +00:00
paul
cab0b73317 qt: implement GetSysColorBrush through qt brushes instead of solid colors, simplify GetSysColor
git-svn-id: trunk@25132 -
2010-05-02 11:52:06 +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
638f1c3e07 Qt: QtThemes - added DrawText(), teach treeview to draw items text, added DTFlagsToQtFlags() for reuse
git-svn-id: trunk@24890 -
2010-04-24 18:28:29 +00:00
zeljko
9a52809123 Qt: small optimisation in SetScrollInfo()
git-svn-id: trunk@24747 -
2010-04-20 17:25:41 +00:00
zeljko
cba1730e76 Qt: fixed problem with setScrollInfo(), use ScrollBar.BeginUpdate() & ScrollBar.EndUpdate() only when other params aren't setted up
(range,pagestep).Completely fixes #16255

git-svn-id: trunk@24746 -
2010-04-20 17:08:50 +00:00
zeljko
de4b9201df Qt: implemented TQtWidgetSet.ScrollWindowEx()
git-svn-id: trunk@24733 -
2010-04-20 11:49:30 +00:00
zeljko
832a29abc0 Qt: fixed bug in SelectClipRgn(), we cannot translate region when painter clipping isn't enabled.
git-svn-id: trunk@24520 -
2010-04-08 17:19:55 +00:00
paul
82492703f2 lcl: correct declaration of TRIVERTEX, add TTriVertex, TGradientRect types, fix Qt and Gtk versions of GradientFill
git-svn-id: trunk@24458 -
2010-04-06 07:10:10 +00:00
zeljko
88eea5b789 Qt: use cheaper TFPList instead of TList for SavedDCList.
git-svn-id: trunk@24367 -
2010-04-02 09:30:53 +00:00
zeljko
be3e5448c6 gtk,gtk2,qt: fixed IsWindow() to check for all handles, not windows (forms) only.
git-svn-id: trunk@24288 -
2010-03-29 14:50:37 +00:00
zeljko
caf4b2dd3f LCL: added IsWindow(HWND), implemeted IsWindow() for qt, gtk and gtk2.
git-svn-id: trunk@24283 -
2010-03-29 12:42:58 +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
zeljko
63dec4e6f8 Qt: implemented qtwinapi SetWindowPos()
git-svn-id: trunk@24114 -
2010-03-20 16:33:18 +00:00
zeljko
f8b2fa9e8f Qt: updated qt bindings to version 2.1, library name is changed in this bindings version.
git-svn-id: trunk@23858 -
2010-03-07 10:20:29 +00:00
paul
d6ffb794fb lcl: further work on TWinControl.ParentWindow:
- implement LCLIntf.SetParent for win32, wince and qt
  - implement TWinControl.SetParentWindow

git-svn-id: trunk@23846 -
2010-03-06 19:40:29 +00:00
paul
3f076b14b9 lcl: implement TControlScrollBar.Tracking for win32, qt and gtk2 (issue #0007981)
git-svn-id: trunk@23596 -
2010-01-29 17:32:40 +00:00
marc
eae138c2f6 * winapi: added GetDoubleClickTime, RedrawWindow, SubtractRect as part of lclextentions integration
git-svn-id: trunk@23550 -
2010-01-24 18:06:08 +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
zeljko
30bad26a1b Qt: fixed TQtWidgetSet.ExtSelectClipRgn()
git-svn-id: trunk@23489 -
2010-01-19 20:11:10 +00:00
zeljko
bed0cd55e7 Qt: simplified & optimized TQtWidgetSet.SelectClipRgn().
git-svn-id: trunk@23488 -
2010-01-19 20:04:04 +00:00
zeljko
a6d1c188e0 Qt: fixed wrong results from WindowFromPoint(). fixes #11298.
git-svn-id: trunk@23416 -
2010-01-10 11:46:24 +00:00
mattias
703970233e qt intf: clean up
git-svn-id: trunk@23368 -
2010-01-04 18:18:31 +00:00
sekelsenmat
5509fc02c5 Implements LCLIntf.CreateRoundRectRgn purely with other LCL routines, using CreateRectRgn, CreateEllipticRgn and CombineRgn. Also fixes a crash in LCL-Qt
git-svn-id: trunk@23359 -
2010-01-03 14:49:46 +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
3849c571f9 Qt: fixed crash in TQtWidgetSet.SelectClipRgn() caused by PolyRegion, THtmlPort now doesn't crash anymore.
git-svn-id: trunk@23128 -
2009-12-13 20:25:10 +00:00