Commit Graph

314 Commits

Author SHA1 Message Date
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
zeljko
a0ff72d2f1 Qt: added TQtRegion.numRects(), cleanups, formatting
git-svn-id: trunk@22995 -
2009-12-06 09:16:45 +00:00
paul
91640c8d2b gtk, qt: don't raise any exception when hatches brush is requested but hatch is not set - use solid brush as windows do in this case (fixes bug #0015195)
git-svn-id: trunk@22994 -
2009-12-06 06:59:46 +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
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
paul
b89b28de7c lcl: remove lclintf ComboBoxDropDown, create 2 methods instead in TWSCustomCombobox: one to get DroppedDown status, another to set it. + implementation for all widgetsets except carbon
git-svn-id: trunk@22285 -
2009-10-26 10:21:56 +00:00
zeljko
5c093cf06a Qt: qtwinapi - implemented CreatePatternBrush()
git-svn-id: trunk@22227 -
2009-10-19 06:43:58 +00:00
zeljko
1ac7f1cedc Qt: fix for #14840, autocalcrange of scrollbar.
git-svn-id: trunk@22225 -
2009-10-18 11:47:13 +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
1f47e04ef2 Qt: rework of getCapture(), setCapture() under win32, now we use native windows calls instead of buggy grabMouse() qt proc. Fixes #14779.
git-svn-id: trunk@22096 -
2009-10-11 16:08:58 +00:00
zeljko
49c3771c08 Qt: avoid crash in TQtAbstractSlider.SlotValueChanged() because of update in SetScrollInfo()
git-svn-id: trunk@22063 -
2009-10-07 18:47:08 +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
paul
00ec699a6e lcl: rename AttachMenuToWindow to SetMenu for winapi compatibility
git-svn-id: trunk@21868 -
2009-09-25 16:09:33 +00:00
zeljko
e62f9ab988 Qt: bugfix -> TQtWidgetSet.GetScrollBarSize() returned wrong results.
git-svn-id: trunk@21820 -
2009-09-22 13:53:16 +00:00
paul
72b7bf8ca6 lcl: add IsIconic, IsZommed win32 compatibility functions
git-svn-id: trunk@21711 -
2009-09-15 09:34:41 +00:00
zeljko
6e76b2ff8a Qt: small cleanup
git-svn-id: trunk@20930 -
2009-07-23 10:06:38 +00:00
paul
e93e11b149 lcl: add an ability to select cleartype fonts on windows.
qt: add support for cleartype font requests

git-svn-id: trunk@20907 -
2009-07-20 14:19:09 +00:00
zeljko
222aa23fd7 Qt: bugfix for wrong reported windowstate when we minimize maximized window.
git-svn-id: trunk@20886 -
2009-07-18 10:47:16 +00:00
zeljko
fd84610a3c Qt: added check for handle parameter inside TQtWidgetSet.getParent(), cleanup.
git-svn-id: trunk@20885 -
2009-07-18 09:43:14 +00:00
zeljko
aa154fe07a Qt: cleanup, use TQtDeviceContext.getClipping insted of QPainter_hasClipping() in qtwinapi.
git-svn-id: trunk@20884 -
2009-07-18 09:22:39 +00:00
paul
b8d1a1adec lcl: formatting
git-svn-id: trunk@20179 -
2009-05-25 02:10:05 +00:00
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
paul
a75bb49700 lcl: make sure HMONITOR <> 0 for valid monitors
git-svn-id: trunk@19263 -
2009-04-07 04:58:55 +00:00