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