Commit Graph

275 Commits

Author SHA1 Message Date
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
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