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
zeljko
9a5c600991
Qt: bugfix GetDCOriginRelativeToWindow() returned wrong origin when form contains mainmenu.
...
git-svn-id: trunk@17683 -
2008-12-04 16:19:14 +00:00
zeljko
d2a489e5c4
Qt: better DrawFocusRect() patch.
...
git-svn-id: trunk@17654 -
2008-12-01 20:30:20 +00:00
zeljko
e23cf3a342
Qt: fixed bug inside SelectClipRgn(), reproducable on Mac & Linux only (now FastCube works fine ;) ).
...
git-svn-id: trunk@17653 -
2008-12-01 19:14:24 +00:00
paul
893a5a4867
qt: don't draw DrawEdge for empty rects
...
git-svn-id: trunk@17651 -
2008-12-01 16:58:34 +00:00
paul
cbdd72b1b2
qt: fix retrieving of few menu system colors
...
git-svn-id: trunk@17650 -
2008-12-01 15:54:32 +00:00
zeljko
5411abe0a1
Qt: fixed DrawFocusRect().
...
git-svn-id: trunk@17649 -
2008-12-01 15:43:42 +00:00
paul
3c5d2f3da3
qt: retrieve more correct titlebar colors. use direct windows call under qt-windows
...
git-svn-id: trunk@17648 -
2008-12-01 15:31:30 +00:00
zeljko
befdca0dbb
Qt: drawEdge(), removed unecesarry color conversions.
...
git-svn-id: trunk@17647 -
2008-12-01 15:15:01 +00:00
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