Commit Graph

362 Commits

Author SHA1 Message Date
zeljko
6ce78376aa Qt: added comment about QFontMetrics::averageCharWidth() under MacOsX.
git-svn-id: trunk@16600 -
2008-09-15 21:19:29 +00:00
zeljko
ffec5a52a8 Qt: fix latest patch, only DT_NOCLIP should be changed ...
git-svn-id: trunk@16599 -
2008-09-15 17:17:07 +00:00
zeljko
b15a1073c9 Qt: bugfix in TQtWidgetSet.drawText()
git-svn-id: trunk@16598 -
2008-09-15 17:01:19 +00:00
zeljko
e638219510 Qt: fix synedit AV under darwin.
git-svn-id: trunk@16591 -
2008-09-15 12:08:45 +00:00
zeljko
0152132972 Qt: fixed #11101, #11281 (dbgrid AV)
git-svn-id: trunk@16588 -
2008-09-14 13:04:18 +00:00
zeljko
de65490e4a Qt: added TQtFontMetrics.averageCharWidth(), we use this one instead of blind charWidth('x',0) in qtwinapi.
git-svn-id: trunk@16565 -
2008-09-12 14:02:41 +00:00
zeljko
44818bf3cb Qt: fix stalled writeln.
git-svn-id: trunk@16436 -
2008-09-05 13:45:02 +00:00
zeljko
eedc289813 Qt: smallfix for TQtWidgetSet.setFocus()
git-svn-id: trunk@16307 -
2008-08-30 14:48:54 +00:00
zeljko
a5bf37a4f3 Qt: fix focus patch, qtwin32 doesn'' like it.
git-svn-id: trunk@16283 -
2008-08-28 13:12:15 +00:00
zeljko
7a7e45b610 Qt: Fixed focus problems (eg. OnExit() events from TCustomEdit etc.), now it is just like in VCL.
git-svn-id: trunk@16280 -
2008-08-28 08:45:21 +00:00
zeljko
7bf7a4167b Qt: fixed bug in StretchMaskBlt(), variable should be SrcHeight instead of SrcWidth.
git-svn-id: trunk@15970 -
2008-08-06 11:57:20 +00:00
zeljko
64d1536bb4 Qt: TQtCaret is more responsive now, added high priority to postEvent() for OnWakeMainThread() and PostMessage().
git-svn-id: trunk@15957 -
2008-08-05 12:32:27 +00:00
zeljko
c9aebb8a74 Qt: qtwinapi - added define around debugln() in GetKeyState()
git-svn-id: trunk@15946 -
2008-08-04 07:10:55 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
33957ab7a7 qt: support mask in CreateIconIndirect
git-svn-id: trunk@15525 -
2008-06-23 06:39:58 +00:00
paul
66ca0835ec - lcl: use CreateIconIndirect as default implementation for CreateCursor and DestroyIcon for DestroyCursor
- win32: add CreateIconIndirect and remove CreateCursor
- qt: redo cursors through TQtCursor instead of QCursorH, remove CreateCursor and DestroyCursor, implement CreateIconIndirect and DestroyIcon

git-svn-id: trunk@15456 -
2008-06-18 03:21:33 +00:00
paul
565bfc0538 qt: cleanup
git-svn-id: trunk@15447 -
2008-06-17 05:03:33 +00:00
tombo
a4df5b94f9 LCL Qt: if not changed, clipping box covers entire bitmap
git-svn-id: trunk@15418 -
2008-06-14 11:22:20 +00:00
zeljko
0c3416a0e8 Qt: Small optimization to TQtWidgetSet.DrawText(), bugfix EnumFontFamiliesEx() - wrong UTF8 conversion.
git-svn-id: trunk@15173 -
2008-05-17 21:12:16 +00:00
paul
1c48ba9013 qt: cleanup
git-svn-id: trunk@15160 -
2008-05-16 01:48:06 +00:00
paul
8c3211e4ac qt: more safe deletion of gdi objects, and first of all brush
git-svn-id: trunk@15155 -
2008-05-15 13:21:40 +00:00
paul
25093a929a qt: redo sizing and positioning
git-svn-id: trunk@15143 -
2008-05-15 02:51:30 +00:00
zeljko
74852c55e3 Qt: SetScrollInfo() added missing singleStep calculation, now wheel scrolls perfectly
git-svn-id: trunk@15131 -
2008-05-14 08:24:09 +00:00
zeljko
5860bfb71a Qt: Fix wrong result of GetTextExtentPoint()
git-svn-id: trunk@15126 -
2008-05-14 06:10:34 +00:00
paul
ec656e9c68 qt: more reliable return for GetObject() for bitmap (patch from Luiz Americo, #0011260)
git-svn-id: trunk@15053 -
2008-05-06 05:07:41 +00:00
paul
f703ada675 gtk, qt: improve a bit getsyscolor return
git-svn-id: trunk@14957 -
2008-04-25 07:21:19 +00:00
paul
13c13fe6fb qt: don't correct negative coords in stretchmaskblt - they are needed to draw only part of image (issue #0011187 by Luiz)
git-svn-id: trunk@14932 -
2008-04-23 03:33:15 +00:00
paul
f8b77ec330 qt: use TQtImage instead of QImageH for DeviceContext.vImage (issue #0011172)
git-svn-id: trunk@14892 -
2008-04-19 13:46:45 +00:00
paul
4d58d3242c qt: apply mask on StretchMaskBlt when available (issue #0011141)
git-svn-id: trunk@14811 -
2008-04-13 15:59:04 +00:00
paul
1cd9bfb7a0 TextRect: pass DT_EXPANDTABS to DrawText if Style.ExpandTabs is true
DrawText: qt, gtk - add support for DT_EXPANDTABS
TCustomLabel: draw with ExpandTabs = true (issue #0011050)

git-svn-id: trunk@14702 -
2008-04-01 02:34:47 +00:00
paul
f24ba44520 qt: skeleton for various process events
git-svn-id: trunk@14606 -
2008-03-21 10:42:22 +00:00
paul
a6bc5d9693 qt: misc formatting
git-svn-id: trunk@14521 -
2008-03-14 16:46:51 +00:00
paul
71c69f122b qt: fix DrawEdge (it changed Rect argument in any case) (probably fixes #0010954)
git-svn-id: trunk@14487 -
2008-03-10 13:09:00 +00:00
paul
f7c7ce2ff8 qt: use application FocusChanged slot to catch focus change events instead of listening for focus events of individual widgets. This new way should give better feedback from qt about focus changes.
git-svn-id: trunk@14361 -
2008-03-02 06:10:36 +00:00
paul
f181308801 fix GetKeyState for carbon
git-svn-id: trunk@14295 -
2008-02-28 06:59:17 +00:00
paul
40c9844f59 GetKeyState:
- gtk1, gtk2: implement pressed state for mouse buttons
- qt: return state for X mouse buttons

git-svn-id: trunk@14294 -
2008-02-28 06:07:29 +00:00
paul
3faf42a722 qt: improve GetKeyState - make it more windows compatible
git-svn-id: trunk@14267 -
2008-02-27 06:07:35 +00:00
paul
d424e05321 qt:
- workaround CreatePatterBrush (issue #0010735)
- few changes in createbitmap

git-svn-id: trunk@14160 -
2008-02-16 18:06:23 +00:00
paul
2fd9462bd6 qt: follow carbon way of drawing designer items (though hintwindow is crashing sometimes)
git-svn-id: trunk@14026 -
2008-02-08 08:01:32 +00:00
paul
0d2554b287 qt: correct 3 system colors
git-svn-id: trunk@13983 -
2008-02-06 02:23:36 +00:00
paul
d9f544ab7f qt: workaround GetWindowRect bug
git-svn-id: trunk@13979 -
2008-02-05 05:57:24 +00:00
paul
1df101d12e qt:
- implement getObject for HFONT
- some fixes to TQtFont

git-svn-id: trunk@13966 -
2008-02-03 11:51:39 +00:00
paul
16cac2db2d qt:
- simplify SetScrollInfo
- fix hiding scroll when bRedraw is false
- improve GetScrollInfo
(issue #0010734)

git-svn-id: trunk@13945 -
2008-02-01 18:11:11 +00:00
paul
6f0fd6986d qt: improved scrollbars (no more doubling of scrollbars after control reparenting)
git-svn-id: trunk@13890 -
2008-01-27 09:42:22 +00:00
paul
d76c114093 qt:
- qDrawWinPanel: temporary use own implementation
- complete Frame3D

git-svn-id: trunk@13678 -
2008-01-09 04:40:54 +00:00
paul
a4c149115d qt:
- add qDrawPlainRect, qDrawShadeRect to TQtDeviceContext
- improve Frame3D (not finished) and FrameRect

git-svn-id: trunk@13676 -
2008-01-09 03:35:30 +00:00
paul
da6ce26096 qt: fix 2 bugs in GetWindowRect
git-svn-id: trunk@13587 -
2008-01-02 18:43:27 +00:00
paul
09d6e02546 remove CreatePixmapIndirect
git-svn-id: trunk@13344 -
2007-12-15 15:45:49 +00:00
paul
3ed6ba4007 TWinControl.PaintTo:
- implementation for win32 and qt
- initial implementation for gtk

git-svn-id: trunk@13209 -
2007-12-07 18:56:17 +00:00
paul
0b543bb9da qt:
- more correct return of QTabWidget ClientBounds (TCustomNotebook)
- restore Combobox text after switching between styles

git-svn-id: trunk@13058 -
2007-11-28 03:30:12 +00:00
paul
8bc69917b1 qt DrawText returned wrong result if text was multiline
git-svn-id: trunk@12970 -
2007-11-22 06:14:30 +00:00
paul
4746af795b Qt: fixed round rect coords (issue #0010178 by Patrick Chevalley)
git-svn-id: trunk@12876 -
2007-11-15 02:47:06 +00:00
paul
c6a5a6d431 - use CreateBrushIndirect for gtk and qt to implement CreatePatternBrush
- use changes of Luiz Americo from 0008814 to pattern brush

git-svn-id: trunk@12874 -
2007-11-15 01:55:33 +00:00
paul
de0119b05e - add CreatePatternBrush for win32 and qt
- fix qt CreateBitmap (winapi expect word alignment while qt needs dword and supports more formats now)
 

git-svn-id: trunk@12864 -
2007-11-14 07:11:42 +00:00
paul
c80a848d46 GetSystemMetrics: added SM_CYSIZEFRAME for gtk and qt
git-svn-id: trunk@12795 -
2007-11-09 08:25:33 +00:00
paul
4c440ab33d qt: correct TQtWidgetSet.DrawFocusRect
git-svn-id: trunk@12688 -
2007-11-02 05:49:31 +00:00
paul
af5c0eef84 qt: make TQtWidgetSet.GetSystemMetrics more safe
git-svn-id: trunk@12687 -
2007-11-02 05:34:12 +00:00
paul
2ea31e1d92 qt:
- fix previous error in StrechMaskBlt formula (r12581) {Thanks to Felipe and Mattias}
- take transform matrix of Source DC into account while Blitting (issue #0010018)

git-svn-id: trunk@12622 -
2007-10-29 06:42:13 +00:00
paul
72c2520711 qt: slightly change formula in StretchMaskBlt to prevent unneeded stretching (issue #10011)
git-svn-id: trunk@12581 -
2007-10-25 00:54:45 +00:00
zeljko
3de9cce666 Qt: Fixed LineTo() extra point drawing.
git-svn-id: trunk@12397 -
2007-10-09 20:57:59 +00:00
zeljko
096c6ceffd Qt: Repositioned scrollbars creation, fixed issues #9841 and #9864
git-svn-id: trunk@12340 -
2007-10-06 09:21:39 +00:00
paul
6c7ee16314 Qt: cleanup
git-svn-id: trunk@12300 -
2007-10-03 01:53:40 +00:00
zeljko
00578d83f3 Qt: Fixed debugging typos.
git-svn-id: trunk@12294 -
2007-10-02 11:58:37 +00:00
zeljko
df94f4122d Qt: Implemented GradientFill - copied from gtk implementation.
git-svn-id: trunk@12243 -
2007-09-29 16:12:00 +00:00
zeljko
f2c67b9f68 Qt: Comment writeln() in EnableScrollBar()
git-svn-id: trunk@12242 -
2007-09-29 15:33:56 +00:00
zeljko
c565a39dde Qt: Completely rewritten SetScrollInfo() & GetScrollInfo(), now scrollbars works ok and faster since invalidating of scrollbar is out of this routines now. Fixed EnableWindow() bug by reimplementation of SetScrollInfo() & GetScrollInfo().
git-svn-id: trunk@12241 -
2007-09-29 15:01:58 +00:00
zeljko
b9d2ceec0d Qt: Implemented ShowScrollBar() - qtwinapi.
git-svn-id: trunk@12239 -
2007-09-29 11:59:46 +00:00
zeljko
0c0bf8b39e Qt: use new getHeight & getWidth for TQtWidgets.
git-svn-id: trunk@12237 -
2007-09-29 11:06:13 +00:00
zeljko
5bdb68667e Qt: More winapi & TQtWidget routines implemented.
git-svn-id: trunk@12236 -
2007-09-29 10:54:55 +00:00
zeljko
62639b92b8 Qt: Small fix for TQtWidgetSet.TextOut()
git-svn-id: trunk@12233 -
2007-09-29 10:19:47 +00:00
paul
88dd7363cd Qt:
- improve keyhandling a bit
- remove some workarounds

git-svn-id: trunk@12205 -
2007-09-28 03:30:19 +00:00
zeljko
d1820a086c (Qt): ExtTextOut() bugfix. it's real boost for synedit now :)
git-svn-id: trunk@12201 -
2007-09-27 17:03:13 +00:00
paul
b2eddb8790 Qt: more GetSystemMetrics
git-svn-id: trunk@12191 -
2007-09-27 02:23:21 +00:00
paul
767f96d04f Qt: correct ExcludeClipRect
git-svn-id: trunk@12189 -
2007-09-27 01:34:44 +00:00
paul
13c1fd094c Qt:
- restored painting inside groupbox
- fix IntersectClipRect
- fix DrawText (clipping)

git-svn-id: trunk@12188 -
2007-09-27 01:16:33 +00:00
paul
d65866183a Qt:
- reimplement sendmessage same way as postmessage is done

git-svn-id: trunk@12174 -
2007-09-25 06:33:33 +00:00
paul
422599fafd Qt:
- fix bug with TQtCaret (no need to add 2 to pos anymore)
- revert some changes from previous commit

git-svn-id: trunk@12172 -
2007-09-25 02:51:23 +00:00
paul
a5a7bd7796 Qt:
- more checks while setting / getting scroll info
- another trial to speedup TCustomControl

git-svn-id: trunk@12171 -
2007-09-25 01:57:10 +00:00
paul
5269651533 Qt: implement PostMessage as postponed TWinControl.Perform
git-svn-id: trunk@12164 -
2007-09-24 12:37:29 +00:00
zeljko
8733c0037d (Qt): Reimplemented qtwinapi GetParent(), old implementation could fail with result - wrong parent returned. Check for nil parameter in QtObjectFromWidgetH() routine.
git-svn-id: trunk@12149 -
2007-09-23 09:01:38 +00:00
paul
60d836ccf8 widgetset: implement basic DrawFrameControl using TThemeServices class (no need for DrawFrameControl anymore in carbon, qt and maybe gtk widgetsets)
git-svn-id: trunk@12147 -
2007-09-23 06:48:16 +00:00
zeljko
4a83d24899 (Qt): Small fix in CreatePolygonRgn()
git-svn-id: trunk@12138 -
2007-09-22 18:26:16 +00:00
paul
589219fcdc Qt: implement SendMessage
git-svn-id: trunk@12137 -
2007-09-22 17:34:53 +00:00
paul
08ba2c42af Qt: trial to sppedup qt paintings through -dQtGraphicsSpeedUp
git-svn-id: trunk@12134 -
2007-09-22 13:02:04 +00:00
zeljko
7da21924fb (Qt): Commited workaround for issue #9746 (ListOutOfBounds in TCustomListView), fixed warning about uninitialized variable in EnumFontFamiliesEx()
git-svn-id: trunk@12117 -
2007-09-21 18:53:38 +00:00
paul
2e49cab4bb Qt: reduce amount of creating/destroying QFontMetrics (now it creates on demand one per font object)
git-svn-id: trunk@12112 -
2007-09-21 14:17:48 +00:00
paul
764b474b83 Qt:
- fix TQtWinControl.CanFocus
- fix FocusPolicy for widgets - they now have only Click policy. Tab policy is not needed since LCL handle tabbing itself
- remove setTabOrders and related code since LCL handle tabbing itself
(issue #0009726)

git-svn-id: trunk@12102 -
2007-09-21 05:08:35 +00:00
zeljko
fb0e89d0ad (Qt): Use local DC point instead of brushOrigin for pen operations, it's cheaper then brushOrigin() & setBrushOrigin() and possibly better solution.
git-svn-id: trunk@12096 -
2007-09-20 19:18:33 +00:00
zeljko
8935331948 (Qt): Workaround for qtcaret overlaping chars in editor (+2px).
git-svn-id: trunk@12088 -
2007-09-20 13:06:17 +00:00
paul
feb1dfe899 Qt:
- rework FileDialogs - now they understand more options and handle events (disadvantage - FileDialogs are no more native)
- fix ColorDialog (was wrong selected color)
- introduce TQtStringList which encapsulates QStringListH
- fix compilation of qt 4.2

git-svn-id: trunk@12083 -
2007-09-20 06:56:09 +00:00
paul
615e7fb75a Qt:
- move erase before paint in invalidateRect
- fix TQtWSCustomNotebook.GetTabIndexAtPos
- some code formatting and cleanup

git-svn-id: trunk@12078 -
2007-09-19 15:39:26 +00:00
zeljko
a3ec3fd317 (Qt): partial implementation of EnumFontFamiliesEx() by theo, with some changes from me.
git-svn-id: trunk@12067 -
2007-09-18 13:59:42 +00:00
zeljko
8cea39d3bc (Qt): winapi InvalidateRect() fixes.
git-svn-id: trunk@12063 -
2007-09-18 07:11:57 +00:00
zeljko
c3bcc5db17 (Qt): Implemented GetCaretRespondToFocus(), SetCaretRespondToFocus(). Improved qtCaret response.
git-svn-id: trunk@12050 -
2007-09-17 07:36:44 +00:00
paul
98dc3ac6bd Qt: misc
git-svn-id: trunk@12049 -
2007-09-17 03:09:29 +00:00
paul
293d27c168 Qt: Use GetUtf8String instead of utf8Decode. GetUtf8String tries to decode string at first and it is failed it uses raw string as result (so non unicode coded strings are also handled by this function).
git-svn-id: trunk@12047 -
2007-09-16 15:51:19 +00:00
paul
d712502a4c Qt:
- fix DrawEdge (was wrong colors and wrong rectangle)
- fix DrawText for cases where string is not utf8 coded

git-svn-id: trunk@12045 -
2007-09-16 15:35:38 +00:00
paul
9768db277b Qt: fix clInfoBk retrieval
git-svn-id: trunk@12043 -
2007-09-16 10:57:28 +00:00
paul
1e97d6741f Qt:
- remove unnecessary TQtWsBitBtn code (it is already in TQtWsButton)
- implement setShortcut and GetPreferedSize for TQtWsButton
- fix TQtWsButton.setText
- fix mem leak on setting shortcut

git-svn-id: trunk@11980 -
2007-09-09 17:01:51 +00:00
paul
3d77f2e0a2 Qt:
- postoned Destroying of widgets in case of destroy during event processing (introduced Release method)
- safer DeliverMessage
- cleanup

git-svn-id: trunk@11933 -
2007-09-04 02:28:26 +00:00
paul
d00181d3e6 forgotten files + cleanup
git-svn-id: trunk@11927 -
2007-09-03 08:04:01 +00:00
paul
0fbe24b1c2 - qt: reimplement getDeviceSize
git-svn-id: trunk@11926 -
2007-09-03 07:24:47 +00:00
paul
fa4fffcebe LCL: add posibility to crDefault to have zero handle
Qt: fix controls default cursor (it was Arrow and now it is default control cursor) issue #0009200 

git-svn-id: trunk@11900 -
2007-09-01 13:09:20 +00:00
paul
be308bee29 Qt: fix IntersectClipRect
git-svn-id: trunk@11882 -
2007-08-30 03:04:15 +00:00
paul
d8ab3c6a9c (Qt):
- fix mem leak in TQtWidget.RawImage_CreateBitmaps
- implementation of OwnerDrawn listbox (through ItemDelegate)
- cleanup

git-svn-id: trunk@11872 -
2007-08-28 13:16:46 +00:00
marc
04b4e27b62 * Implemented basic alpha support
* Implemented LCL side of imagelist
* restructured rawimage to more OO

Merged revisions 11289-11617 via svnmerge from 
http://svn.freepascal.org/svn/lazarus/branches/marc-lcl

........
  r11289 | marc | 2007-06-06 22:50:05 +0200 (Wed, 06 Jun 2007) | 1 line
  
  private branch for bitmap rework
........
  r11290 | marc | 2007-06-06 23:30:09 +0200 (Wed, 06 Jun 2007) | 2 lines
  
  * Initial linux and win32 implementation
........
  r11291 | paul | 2007-06-07 03:20:11 +0200 (Thu, 07 Jun 2007) | 3 lines
  
  - fix compilation with fpc 2.3.1
  - remove unneded code for converting cursor mask
  - enabled loading of standard windows status icons instead of LCL
........
  r11292 | paul | 2007-06-07 11:03:27 +0200 (Thu, 07 Jun 2007) | 1 line
  
  - some bugs with mask and alpha
........
  r11299 | marc | 2007-06-08 00:59:26 +0200 (Fri, 08 Jun 2007) | 2 lines
  
  * force alpha channel when PNG has alpha
........
  r11302 | paul | 2007-06-09 04:45:12 +0200 (Sat, 09 Jun 2007) | 1 line
  
  - fix black rectangles instead of manu item images
........
  r11303 | paul | 2007-06-09 04:46:14 +0200 (Sat, 09 Jun 2007) | 1 line
  
  formatting
........
  r11309 | marc | 2007-06-11 02:25:07 +0200 (Mon, 11 Jun 2007) | 3 lines
  
  * Added alpha premultiply
  * Published Colorbox selection property
........
  r11310 | paul | 2007-06-11 19:10:18 +0200 (Mon, 11 Jun 2007) | 1 line
  
  misc
........
  r11312 | marc | 2007-06-12 01:44:03 +0200 (Tue, 12 Jun 2007) | 2 lines
  
  * start with carbon
........
  r11313 | paul | 2007-06-12 14:02:48 +0200 (Tue, 12 Jun 2007) | 1 line
  
  - BitBtn glyph transparency
........
  r11315 | paul | 2007-06-13 05:20:40 +0200 (Wed, 13 Jun 2007) | 1 line
  
  - problems with internal bitmap saving/loading (is was 24bpp when 32bpp needed)
........
  r11319 | paul | 2007-06-14 06:32:04 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - More LCL way of painting images through ThemeServices
........
  r11320 | paul | 2007-06-14 06:32:56 +0200 (Thu, 14 Jun 2007) | 1 line
  
  - ability to override bitbtn glyph to nothing
........
  r11321 | paul | 2007-06-14 06:34:49 +0200 (Thu, 14 Jun 2007) | 1 line
  
  painting headercontrol images through ThemeServices
........
  r11325 | paul | 2007-06-17 10:14:27 +0200 (Sun, 17 Jun 2007) | 1 line
  
  fixing painting of 32bpp bitmaps with no Alpha
........
  r11326 | paul | 2007-06-17 10:16:00 +0200 (Sun, 17 Jun 2007) | 1 line
  
  missed file
........
  r11337 | paul | 2007-06-20 03:44:47 +0200 (Wed, 20 Jun 2007) | 3 lines
  
  - revert previous commit
  - create 24bpp bitmaps by default
........
  r11342 | marc | 2007-06-21 01:47:30 +0200 (Thu, 21 Jun 2007) | 3 lines
  
  * Added Alpha support on Carbon
  * Simplified win32 rawimage_fromdevice
........
  r11343 | paul | 2007-06-21 04:36:28 +0200 (Thu, 21 Jun 2007) | 1 line
  
  - adopt gtk2 code
........
  r11344 | paul | 2007-06-21 04:41:41 +0200 (Thu, 21 Jun 2007) | 1 line
  
  make gtk2 work
........
  r11353 | paul | 2007-06-22 10:12:19 +0200 (Fri, 22 Jun 2007) | 1 line
  
  - default WS imagelist implementation
........
  r11358 | marc | 2007-06-23 13:29:06 +0200 (Sat, 23 Jun 2007) | 2 lines
  
  * Implemented MaskBlit
........
  r11359 | paul | 2007-06-23 20:02:52 +0200 (Sat, 23 Jun 2007) | 1 line
  
  draw new imagelist bitmap on widget canvas
........
  r11371 | marc | 2007-06-25 23:50:13 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  * Rawimage rework
........
  r11372 | marc | 2007-06-25 23:51:00 +0200 (Mon, 25 Jun 2007) | 2 lines
  
  + Added header
........
  r11373 | marc | 2007-06-26 00:05:55 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * Swapped RGBA <-> ARGB defualt format since most widgetsets use ARGB
........
  r11374 | marc | 2007-06-26 00:09:36 +0200 (Tue, 26 Jun 2007) | 2 lines
  
  * added
........
  r11462 | marc | 2007-07-12 00:16:02 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  + added header
........
  r11463 | marc | 2007-07-12 00:18:49 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * Added alpha/masked strechblt support
........
  r11464 | marc | 2007-07-12 00:21:27 +0200 (Thu, 12 Jul 2007) | 2 lines
  
  * create DIBSection instead of DIBitmap
........
  r11502 | marc | 2007-07-14 00:23:42 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  * Fixed transparentcolor after loading bitmap
........
  r11505 | marc | 2007-07-14 15:10:56 +0200 (Sat, 14 Jul 2007) | 2 lines
  
  - Removed ARGB dataconversion, internal format is by default the same now
........
  r11531 | marc | 2007-07-17 01:23:34 +0200 (Tue, 17 Jul 2007) | 2 lines
  
  * changed TRawImage into object
........
  r11533 | paul | 2007-07-17 05:10:31 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init
  - change imagelist defines to use old imagelist (new is crashes ide)
  - change TWin32ThemeServices to use old imagelist
........
  r11534 | paul | 2007-07-17 05:19:02 +0200 (Tue, 17 Jul 2007) | 3 lines
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in Qt widgetset
  - change TRawImageDescription.IsEqual and TRawImage.IsEqual
........
  r11535 | paul | 2007-07-17 05:23:53 +0200 (Tue, 17 Jul 2007) | 1 line
  
  - change several occurrence of FillChar(..TRawImageDescription..) with call to Init in wince widgetset
........
  r11554 | marc | 2007-07-18 00:10:11 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation on 2.0.4
........
  r11555 | marc | 2007-07-18 00:10:44 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed compilation
........
  r11556 | marc | 2007-07-18 00:11:43 +0200 (Wed, 18 Jul 2007) | 2 lines
  
  * fixed fillchar on TRawImage object
........
  r11572 | marc | 2007-07-19 01:41:35 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * fixed crash when object has vmt
........
  r11573 | marc | 2007-07-19 01:42:14 +0200 (Thu, 19 Jul 2007) | 2 lines
  
  * Made TRawimage compatible with record again
........
  r11580 | marc | 2007-07-20 01:33:20 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * enabled newimagelist
........
  r11581 | marc | 2007-07-20 01:33:48 +0200 (Fri, 20 Jul 2007) | 2 lines
  
  * fixed font
........

git-svn-id: trunk@11861 -
2007-08-25 01:49:40 +00:00
zeljko
04f92b95dd (Qt): Fix Rectangle() compatibility with other widgetsets by Luiz.
git-svn-id: trunk@11828 -
2007-08-16 08:05:11 +00:00
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
paul
e720286a68 - all event attaching code moved to TQtWidget.AttachEvents, TQtWidget.DetachEvents and descendants
- initial implementation of Qt Caret by *Andreas Hausladen* with changes. Compile with -dShowQtCaret to test
- fixed bug caused memory corruption
- other minor fixes

git-svn-id: trunk@11465 -
2007-07-12 05:47:15 +00:00
paul
c73f4c6b4d - extending QT ExtTextOut support
git-svn-id: trunk@11456 -
2007-07-10 08:07:35 +00:00
paul
05b9d41eaf QT:
- cleanup (remove unused variables)
 - implemented AppMinimize, AppRestore, AppBringToFront

git-svn-id: trunk@11454 -
2007-07-10 06:01:58 +00:00
paul
c4eda87b12 - Distinct TCustomForm.Position poScreenCenter and poDesktopCenter. ScreenCenter uses sizes of primary Screen but DesktopCenter whole desktop size.
- reimplement QT GetSystemMetrics for SM_CXSCREEN, SM_CYSCREEN and move old method to SM_CXVIRTUALSCREEN, SM_CYVIRTUALSCREEN

git-svn-id: trunk@11450 -
2007-07-09 12:50:20 +00:00
sekelsenmat
8476560e0f Patch from zeljko. Bugfix for winapi GetScrollInfo on Qt.
git-svn-id: trunk@11404 -
2007-07-01 07:26:17 +00:00
sekelsenmat
a39c0e25b3 Patch from zeljko to qt. Fixes for ScrollBar and ShowModal
git-svn-id: trunk@11269 -
2007-06-03 03:55:24 +00:00
sekelsenmat
73b9c90569 Patch from zeljko to qt. Various improvements
git-svn-id: trunk@11265 -
2007-06-02 08:32:59 +00:00
sekelsenmat
16e603c725 Patch from zeljko for the qt interface. Implements SpinEdit and other improvements
git-svn-id: trunk@11238 -
2007-05-31 15:15:24 +00:00
sekelsenmat
b55c917aee Patch from zeljko for the qt interface. Improvements for TQtWSCustomEdit and fixes access violation on scrollbars
git-svn-id: trunk@11236 -
2007-05-31 10:19:01 +00:00
sekelsenmat
09025d10df Patch from zeljko for the qt interface. TPageControl now sets properly ActivePage while changing tabs, a bug with TScrollWinControls fixed.
git-svn-id: trunk@11226 -
2007-05-30 09:21:48 +00:00
sekelsenmat
ee57c2741e TScrollBar implementation from zeljko on qt interface
git-svn-id: trunk@11225 -
2007-05-30 07:26:54 +00:00
sekelsenmat
2ab9c1ae5a Patch from zeljko. Implements OnKeyXXX events for TEdit and also Critical Sections, both for Qt interface.
git-svn-id: trunk@11208 -
2007-05-27 07:54:28 +00:00
sekelsenmat
28b1b1be74 Minor identation and comments fixes on qt interface
git-svn-id: trunk@11112 -
2007-05-09 07:58:53 +00:00
paul
adef54eff4 - introduced new win32 compatability function SystemParametersInfo
- added support for parameter SPI_GETWHEELSCROLLLINES in base widgetset class with override in qt widgetset

git-svn-id: trunk@10830 -
2007-03-30 05:58:41 +00:00
paul
aec06c66dd - fixed error in cursor reading previously introduced by me
- fixed cursor creating code in widgetsets

git-svn-id: trunk@10779 -
2007-03-22 02:24:41 +00:00
sekelsenmat
5180096267 Patch from Paul Ishenin that implements SM_CXCURSOR and SM_CYCURSOR (GetSystemMetrics) under QT
git-svn-id: trunk@10700 -
2007-02-28 15:22:00 +00:00
sekelsenmat
ffb7a7d1a9 Patch from Paul Ishenin to qt interface, plus some modifications from me.
git-svn-id: trunk@10694 -
2007-02-27 18:03:00 +00:00
sekelsenmat
315a021fbd Small improvements on coordinate handling on Qt's StretchDraw.
git-svn-id: trunk@10524 -
2007-01-28 14:48:40 +00:00
sekelsenmat
4b90db323d Initial implementation for Frame winapis on qt widgetset.
git-svn-id: trunk@10523 -
2007-01-28 02:12:50 +00:00
sekelsenmat
c9441238fc Implements painting to TBitmap using a Canvas on Qt, and lot's of small changes to standarize debug messages, casing, identation on Qt Widgetset code.
git-svn-id: trunk@10518 -
2007-01-27 13:39:53 +00:00
sekelsenmat
879c6ecde9 Small improvement on TCustomControl support for qt interface
git-svn-id: trunk@10517 -
2007-01-27 12:13:13 +00:00
sekelsenmat
637112c8b5 Very large patch from Jesus Reyes. Among other things it updates qt bindings to 1.24, fixes the font color problem, implements SetBkColor, SetBkMode and makes TStringGrid almost work.
git-svn-id: trunk@10496 -
2007-01-23 00:51:41 +00:00
sekelsenmat
47e5345d72 Fixes component colors bug on Qt widgetset.
git-svn-id: trunk@10282 -
2006-12-03 19:10:33 +00:00
sekelsenmat
dc6ff66f9b Fixes on qt interface for 64-bits platforms from Giulio Bernardi.
git-svn-id: trunk@10217 -
2006-11-19 18:47:19 +00:00
sekelsenmat
4b16f5c25c Improves behavior of click event on buttons and implements TabOrder and TabStop on the Qt widgetset.
git-svn-id: trunk@10199 -
2006-11-14 19:14:35 +00:00
sekelsenmat
cdfcfafb10 Implements text rotation on Qt widgetset.
git-svn-id: trunk@10198 -
2006-11-14 16:41:31 +00:00
sekelsenmat
824e958f4e Partially implements GetTextMetrics and improves GetSystemMetrics on the Qt interface.
git-svn-id: trunk@10193 -
2006-11-13 01:43:05 +00:00
sekelsenmat
0e491cac43 Fixed MessageBox and other modal dialogs on Qt.
git-svn-id: trunk@10186 -
2006-11-10 13:08:11 +00:00
sekelsenmat
4969cee64b Patch from zeljko. Implements TQtAbstractSlider, TQtScrollBar, TQtTrackBar, TQtPen (
CreatePenIndirect) and TQtRegion ( CreateRectRgn ).

git-svn-id: trunk@10172 -
2006-11-04 21:09:12 +00:00
sekelsenmat
2448617cd6 Improvements for modal dialogs on qt.
git-svn-id: trunk@10162 -
2006-11-02 19:56:33 +00:00
sekelsenmat
62f7399c31 Implemented TBitmap.LoadFromDevice to take screenshots.
git-svn-id: trunk@10132 -
2006-10-30 12:15:06 +00:00
sekelsenmat
ddb0dca64d Fixes a crash on qt when the owner of a common dialog isn't a TWinControl.
git-svn-id: trunk@10103 -
2006-10-25 01:01:19 +00:00
sekelsenmat
a06f0d21c8 Many fixes and improvements. Fixed bug on window visibility. Improved modal dialog support.
git-svn-id: trunk@10065 -
2006-10-15 01:03:49 +00:00
sekelsenmat
c285bb3697 Fixed bug on the dialogs unit.
git-svn-id: trunk@10064 -
2006-10-13 14:53:45 +00:00
sekelsenmat
a284a1aea3 Implemented UTF-8 support. Fixed mouse messages. Other small fixes. Removed deprecated file.
git-svn-id: trunk@10059 -
2006-10-12 03:17:37 +00:00
sekelsenmat
1806819c79 Improved painting. Fixed painting position. Implemented BorderStyle and BorderIcons.
git-svn-id: trunk@10058 -
2006-10-12 01:17:05 +00:00
sekelsenmat
26bb559a8c Events for ComboBox in Qt from Luis. Also fixed TLabel position bug, and numerous other things.
git-svn-id: trunk@10057 -
2006-10-11 19:35:26 +00:00
mattias
d26a428920 qt intf: implements TBitmap (and all other image classes), Dialogs, font fix, ShowModal and much else for Qt from Felipe
git-svn-id: trunk@10053 -
2006-10-10 07:00:47 +00:00
vincents
502201703c qt interface: added support for menus, font, progressbar and statusbar from Felipe
git-svn-id: trunk@10049 -
2006-10-09 11:07:51 +00:00
mattias
2f449c60a7 qt intf: TLabel from Felipe
git-svn-id: trunk@9794 -
2006-09-02 20:38:21 +00:00
mattias
b428871a84 basic color handling for Qt widgets from zephod
git-svn-id: trunk@9439 -
2006-06-16 20:44:02 +00:00
vincents
62232c909b fixed compilation and improved (but not completed) the implementation of TBitmap from Felipe
git-svn-id: trunk@9348 -
2006-05-24 09:10:28 +00:00
mattias
e81c0f77a0 added WithThemSpace parameter to GetPreferredSize
git-svn-id: trunk@9331 -
2006-05-21 15:47:28 +00:00