Commit Graph

105 Commits

Author SHA1 Message Date
zeljko
2303b59372 (Qt): qtwinapi: implemented GetTextColor().
git-svn-id: trunk@11749 -
2007-08-06 15:03:00 +00:00
zeljko
9aca341e7e (Qt): Fixed bug #9368 - we must pass empty region instead of nil.
git-svn-id: trunk@11747 -
2007-08-06 12:03:18 +00:00
zeljko
80a0bfee01 (Qt): Implemented TQtWidgetSet.BitBlt()
git-svn-id: trunk@11732 -
2007-08-03 20:42:20 +00:00
zeljko
a430936686 (Qt): Implemented more winapi routines Frame3d(), DrawFocusRect(), improved TQtWSCustomPanel.
git-svn-id: trunk@11731 -
2007-08-03 19:33:13 +00:00
zeljko
abbd39ddec (Qt): Fixed all mem leaks with SynEdit, Bitmaps by paul, with small fix against his patch from me.
git-svn-id: trunk@11730 -
2007-08-03 17:49:21 +00:00
vincents
010ccd79e7 qt interface: fixed font height from Paul
git-svn-id: trunk@11729 -
2007-08-03 14:10:17 +00:00
zeljko
c3e56093e8 (Qt): Added GetStockObject(), fixed few memleaks with TQtDeviceContext, reverted UTF8Decode into qtwinapi->ExtTextOut().
git-svn-id: trunk@11727 -
2007-08-03 12:29:20 +00:00
paul
d051e39477 (Qt):
- initialize PaintStruct on LM_PAINT event (this also cause call of BeginPaint and EndPaint in paint event) (issue #0009367)
- fix SetWindowOrgEx and remove MoveWindowOrgEx as unneeded

git-svn-id: trunk@11721 -
2007-08-03 03:27:47 +00:00
paul
c483b23bdb (Qt): second trial to fix SelectClipRGN (9368)
git-svn-id: trunk@11719 -
2007-08-03 01:49:57 +00:00
paul
e29b652d4d (Qt): handle null region in SelectClipRgn
git-svn-id: trunk@11715 -
2007-08-02 16:08:11 +00:00
paul
a1a71f0c90 (Qt): check OldPoint argument in SetWindowOrgEx (issue #0009369)
git-svn-id: trunk@11714 -
2007-08-02 15:52:53 +00:00
paul
72acc1b061 (Qt): SaveDC. The most recent DC state should be = 1
git-svn-id: trunk@11701 -
2007-08-01 07:23:29 +00:00
paul
a0afe010c2 (Qt): fixing GetCapture, SetCapture, ReleaseCapture problems if qt sets capture to sub-widget of complex widget
git-svn-id: trunk@11685 -
2007-07-31 11:13:26 +00:00
zeljko
659a80a927 (Qt): winapi ClipboardGetFormats() bugfix (result wasn't set), ExtSelectClipRGN() uninitialized variables, scrollbar AV IDE fixes - better check what values comes in SetScrollInfo().
git-svn-id: trunk@11683 -
2007-07-31 08:11:08 +00:00
zeljko
04d0286c73 (Qt): Fix workaround for TCustomPage->mouseGrab().
git-svn-id: trunk@11682 -
2007-07-30 20:37:19 +00:00
zeljko
a8aec5de63 (Qt): Workaround for mouse freezing under linux, in combination with TTabSheet.
git-svn-id: trunk@11681 -
2007-07-30 20:19:12 +00:00
paul
ca9fa35962 - lcl: fix compiler errors with VerboseDrag turned on
- qt: dont send LM_CAPTURECHANGED if previously there was no capture (fix qt drag drop)

git-svn-id: trunk@11680 -
2007-07-30 17:45:22 +00:00
paul
d476d654ea (Qt): changes in GetWindowRelativePosition (now GetBounds is right after form loading)
git-svn-id: trunk@11678 -
2007-07-30 16:36:30 +00:00
paul
720bafd7c4 (Qt): StretchMaskBlt understands Source sizes more than they are in real (with help of Marc)
git-svn-id: trunk@11671 -
2007-07-29 17:39:44 +00:00
mattias
cf47df5e91 LCL: removed dummy function SetMapMode
git-svn-id: trunk@11668 -
2007-07-29 13:50:17 +00:00
mattias
3b03325209 LCL: removed dummy function GetMapMode
git-svn-id: trunk@11667 -
2007-07-29 13:46:53 +00:00
zeljko
43e970d4dd *Fixed bug with palette colors.
git-svn-id: trunk@11661 -
2007-07-28 13:22:25 +00:00
paul
0892924a1c (Qt): invent FStopMouseEventsProcessing flag to notify whether mouse events should be stoped at widget of passed to parent
git-svn-id: trunk@11647 -
2007-07-27 18:42:34 +00:00
paul
af0cbd09af (Qt):
- removed dependency of qtobjects from qtwidgets
- TQtObject moved to qtobjects
- implemented TQtClipboard and winapi Clipboard operations

git-svn-id: trunk@11642 -
2007-07-27 07:44:25 +00:00
zeljko
42e16d171a +Implemented GetBitmapBits(), FillRgn()
git-svn-id: trunk@11638 -
2007-07-26 13:34:18 +00:00
paul
0d3d586ef9 (Qt): begining of clipboard functions
git-svn-id: trunk@11636 -
2007-07-26 10:28:53 +00:00
paul
75dff6883f (Qt): send message when capture is changed
git-svn-id: trunk@11635 -
2007-07-26 08:27:50 +00:00
paul
cece483db8 (Qt): GetCapture, ReleaseCapture, SetCapture
git-svn-id: trunk@11634 -
2007-07-26 08:10:02 +00:00
paul
a7dcdcdacd (Qt): fix mouse position
git-svn-id: trunk@11633 -
2007-07-26 07:47:34 +00:00
zeljko
38528326eb *Workaround for IDE AV with clipboard implementation..will be removed ASAP.
git-svn-id: trunk@11624 -
2007-07-25 17:27:26 +00:00
zeljko
716a40c1f7 +More winapi routines (clipboard ops).
+New define VerboseQtWinAPI_DEBUG_CLIPBOARD for debugging clipboard operations

git-svn-id: trunk@11623 -
2007-07-25 17:19:27 +00:00
zeljko
08aa90ec95 +Implemented more winapi routines.
+Added define VerboseQtWinAPI_MISSING_IMPLEMENTATION, to see verbose qtwinapi
 messages during runtime, about unimplemented routines.

git-svn-id: trunk@11622 -
2007-07-25 14:18:00 +00:00
paul
cee914a98d (Qt):
- TQtWidgetSet.GetKeyState (SynEdit understands more key sequences now)

git-svn-id: trunk@11619 -
2007-07-25 09:24:31 +00:00
paul
a73411c689 (Qt):
- right positioning of most controls include TGraphicControl descendants
- fixing typo in SlotKey (SynEdit now handle keys)

git-svn-id: trunk@11618 -
2007-07-25 09:01:40 +00:00
paul
25e501539b (Qt):
- switch all direct widget show/hide calls to TQtWidget
- create all widgets invisible (later LCL sets visibility)
- implement TQtWSCustomNotebook.SetPageIndex (side effect - significantly speed ups ide)

git-svn-id: trunk@11607 -
2007-07-24 03:25:09 +00:00
paul
9dc38f304f (Qt):
misc

git-svn-id: trunk@11601 -
2007-07-23 09:19:44 +00:00
paul
84ff0b4f07 (Qt):
- more checks in GetActiveWindow
- added SetActiveWindow

git-svn-id: trunk@11600 -
2007-07-23 08:01:06 +00:00
paul
10934492fa (Qt):
- implemented some winapi functions

git-svn-id: trunk@11599 -
2007-07-23 06:05:52 +00:00
paul
8f126b8372 QT:
- repaint only changed region while drawing caret

git-svn-id: trunk@11595 -
2007-07-23 02:21:17 +00:00
zeljko
5a5c791fce + More winapi routines
* Probably fixed groupbox layouts (tested on win32, some linux distros),
  use QT_USE_QLAYOUT_IN_TQTGROUPBOX if you want to test against old code.
* Changed GetClientRect(), GetClientBounds() in qtwinapi.
* Fixed controls alignment inside MDIChild.

git-svn-id: trunk@11590 -
2007-07-22 11:25:35 +00:00
zeljko
a8a022e871 * Fixed paintings out of paintEvent().
git-svn-id: trunk@11577 -
2007-07-19 12:19:19 +00:00
zeljko
922b8338a3 * Fixed ugly memleak with TQtImage.
* Fixed UTF8 strings in TQtWidgetSet.PromptUser().

git-svn-id: trunk@11541 -
2007-07-17 09:49:11 +00:00
zeljko
71b1f100e6 + More optimizations on TCustomMemo.
* Cleared all warnings.

git-svn-id: trunk@11538 -
2007-07-17 07:36:09 +00:00
paul
0d3a0d3d89 QT: correction in DrawText with DT_CALCRECT
git-svn-id: trunk@11532 -
2007-07-17 01:36:43 +00:00
paul
70278f8737 (QT) if DT_CALCRECT is passed to DrawText then Rect argument should return text rectangle
git-svn-id: trunk@11520 -
2007-07-16 05:32:13 +00:00
zeljko
a128a87d2f + More winapi functions.
git-svn-id: trunk@11515 -
2007-07-15 16:58:53 +00:00
zeljko
bb25ce3e56 + Added Polygon(), PolyLine(), PolyBezier() into qtwinapi.
* BUGFIX ClientToScreen() TPoint -> TQtPoint.

git-svn-id: trunk@11508 -
2007-07-14 16:06:18 +00:00
zeljko
996811b2df * InvalidateRect() fix, speed up drawing.
git-svn-id: trunk@11506 -
2007-07-14 13:44:35 +00:00
zeljko
0b8530d071 * TQtImage bugfix.
git-svn-id: trunk@11499 -
2007-07-13 21:25:21 +00:00
sekelsenmat
34bfb5624c Fixed GetCursorPos on Qt
git-svn-id: trunk@11477 -
2007-07-12 20:25:55 +00:00