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
paul
4db59e3374
qt, carbon: improve EnumDisplayMonitors
...
git-svn-id: trunk@19261 -
2009-04-07 01:42:16 +00:00
paul
a7562d799f
qt: fix TMonitor support (tested on 2 monitor system)
...
git-svn-id: trunk@19247 -
2009-04-06 12:22:48 +00:00
paul
3a19dfff75
lcl: add TMonitor class which represents single screen monitor, add TScreen.MonitorCount, TScreen.Monitors[]
...
win32, qt, gtk2: implement EnumDisplayMonitors, GetMonitorInfo
git-svn-id: trunk@19239 -
2009-04-06 08:14:58 +00:00
paul
624659d92d
qt: implement image flipping in StretchMaskBlt (part of issue #0013059 )
...
git-svn-id: trunk@19214 -
2009-04-04 11:46:32 +00:00
zeljko
ead98ef613
Qt: bugfix for #13191
...
git-svn-id: trunk@19153 -
2009-03-29 14:21:17 +00:00
zeljko
cad3c62030
Qt: bugfix for #13083 .
...
git-svn-id: trunk@19142 -
2009-03-28 18:46:45 +00:00
zeljko
c8f9a5f2ca
Qt: teach GetActiveWindow() to return MDI child if any active.
...
git-svn-id: trunk@18905 -
2009-03-06 18:38:33 +00:00
paul
d95ab32577
gtk, qt: don't draw a Ellipse if Width or Height = 0
...
git-svn-id: trunk@18866 -
2009-03-02 03:44:16 +00:00
paul
821bda50ea
gtk, qt: don't draw a RoundRect if Width or Height = 0
...
git-svn-id: trunk@18865 -
2009-03-02 03:32:11 +00:00
paul
980be4b83e
gtk, qt: don't draw a rectangle if Width or Height = 0 (bug #0010980 )
...
git-svn-id: trunk@18864 -
2009-03-02 03:19:19 +00:00
paul
a723a0f5eb
qt: ellipse should be one pixel less (by hint of JoshyFun)
...
git-svn-id: trunk@18837 -
2009-02-27 16:29:13 +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
00da47ed08
Qt: bugfix - TQtWidgetSet.Polygon() was wrong on MacOsX.
...
git-svn-id: trunk@18620 -
2009-02-09 17:01:26 +00:00
zeljko
ad8694a8b2
Qt: optimize qtwinapi function WindowFromPoint() - QApplication_widgetAt() is slower than QApplication_topLevelAt().
...
git-svn-id: trunk@18544 -
2009-02-03 19:17:41 +00:00
zeljko
9c9c8716f2
Qt: TQtWinapi.DrawArc() bugfix, use TRect to draw arc because of qt bug (seem so).
...
git-svn-id: trunk@18317 -
2009-01-16 20:53:46 +00:00
zeljko
b35698ba06
Qt: apply clearFocus() to win32 too.
...
git-svn-id: trunk@18287 -
2009-01-14 12:15:29 +00:00
zeljko
a08869b964
Qt: bugfix for #12924 - ide segfault
...
git-svn-id: trunk@18167 -
2009-01-06 13:07:34 +00:00
zeljko
738fb1f569
Qt: reduce getSysColor() overhead by caching colors.
...
git-svn-id: trunk@17700 -
2008-12-06 13:03:05 +00:00