Commit Graph

172 Commits

Author SHA1 Message Date
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
zeljko
fc59aceece Qt: More fixes for TQtFont, TQtFont getters can produce AV's , especially in GetTextMetrics()
git-svn-id: trunk@15830 -
2008-07-21 13:57:00 +00:00
zeljko
ef36a9fada Qt: Fixes #11717, fixed via TQtFont.getMetrics() which could lead us into AV eg. via qtwinapi.GetTextMetrics(), so we check TQtFont.Widget for nil state.
git-svn-id: trunk@15827 -
2008-07-21 10:24:45 +00:00
paul
6f4939f96d qt: don't use exact QFont handles but create a new copy of them - this way we protect ourself from handle owner destruction (#0011615)
git-svn-id: trunk@15746 -
2008-07-11 14:38:13 +00:00
paul
a8beee2e0b lcl:
- add ability to store icon to TTrayIcon
- qt: fix TQtTrayIcon Icon handling

git-svn-id: trunk@15633 -
2008-07-01 01:37:51 +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
7872f8a8db qt: extend TQtIcon
git-svn-id: trunk@15380 -
2008-06-11 02:17:18 +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
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
zeljko
223441d326 Qt: TQtPrinter->OsPrinters must know when our printer is active, but not via paint context.
git-svn-id: trunk@14983 -
2008-04-26 12:05:00 +00:00
zeljko
e31ded9715 Qt: Added devicecontext to TQtPrinter, some cleanups
git-svn-id: trunk@14981 -
2008-04-26 06:53:20 +00:00
zeljko
a47d7719f1 Qt: Fixed all clipboard operations ,no more clipboard problems with copy-paste from other apps into ide editor.
git-svn-id: trunk@14958 -
2008-04-25 08:52:42 +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
4551450205 qt: don't make difference between widget device context and image device context in internal object creating/destroying (issue: #0011171)
git-svn-id: trunk@14890 -
2008-04-19 13:34:21 +00:00
paul
81ae62103b qt: workaround problem with QBitmap_fromImage on linux (issue #0011141)
git-svn-id: trunk@14815 -
2008-04-14 08:30:48 +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
682a924368 typo in comments
git-svn-id: trunk@14377 -
2008-03-03 08:23:10 +00:00
paul
fea0292e3d qt: cleanup
git-svn-id: trunk@14360 -
2008-03-02 05:37:15 +00:00
zeljko
8d4d35c742 Qt: fix win32 problems with new clipboard workaround.
git-svn-id: trunk@14313 -
2008-02-29 14:03:39 +00:00
zeljko
2f9c799570 Qt: workaround for #10881. Clipboard should be initialized at app start. Workaround for clipboard (synedit) blocking linux desktop.Small optimizations for clipboard.
git-svn-id: trunk@14311 -
2008-02-29 13:33:38 +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
zeljko
369132766d Qt: added NumCopies property into TQtPrinter class
git-svn-id: trunk@14113 -
2008-02-12 14:44:51 +00:00
zeljko
8a4b55bf34 Qt: TQtPrinter - more routines implemented
git-svn-id: trunk@14066 -
2008-02-10 10:00:22 +00:00
sekelsenmat
fa14be1de9 Removed the USE_QT_4_3 define. Now only Qt 4.3 or superior is supported.
git-svn-id: trunk@14057 -
2008-02-09 20:32:37 +00:00
zeljko
a7835482d9 Qt: initial implementation of TQtPrinter object.
git-svn-id: trunk@14052 -
2008-02-09 18:33:26 +00:00
paul
d66e2c9627 qt: fix drawing text with rotated font
git-svn-id: trunk@13990 -
2008-02-06 07:58:43 +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
zeljko
09c4368afe Qt: bugfix - QPainter::begin: Widget painting can only begin as a result of a paintEvent while application starts.
git-svn-id: trunk@13962 -
2008-02-03 09:57:05 +00:00
paul
f1d8f78b0c initial implementation of TWinControl.SetShape for gtk, qt, win32 + example
git-svn-id: trunk@13874 -
2008-01-25 06:56:57 +00:00
paul
fea0888a37 fix qt crashes
git-svn-id: trunk@13808 -
2008-01-20 14:22:38 +00:00
paul
b1c2ed3d9b typo
git-svn-id: trunk@13737 -
2008-01-13 11:44:16 +00:00
paul
3a3a47ada3 fix qt 4.2 compilation
git-svn-id: trunk@13736 -
2008-01-13 11:42:22 +00:00
paul
62bc2eb101 qt: change some rules for TQtObject.Release (to fix crashes during some docking operations)
git-svn-id: trunk@13709 -
2008-01-10 03:39:49 +00:00
paul
c756a546fe fix qt compilation
git-svn-id: trunk@13708 -
2008-01-10 02:14:13 +00:00
paul
b4acdbf66f qt: restore qt 4.2 support (from Den)
git-svn-id: trunk@13707 -
2008-01-10 01:46:55 +00:00
paul
2540b48f08 use q_DrawWinPanel in TQtDeviceContext.qDrawWinPanel
git-svn-id: trunk@13706 -
2008-01-10 01:32:19 +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
bf7f64a57c qt: use 2 ways of protection from free in event
git-svn-id: trunk@13638 -
2008-01-05 17:47:48 +00:00
paul
5a15a014bf qt: try to improve destroy in event protection
git-svn-id: trunk@13613 -
2008-01-04 10:09:40 +00:00
paul
82db25ed28 reimplement qt event protection from destroy inside them (now reparent inside mouse event doesnot crash)
git-svn-id: trunk@13606 -
2008-01-03 13:49:57 +00:00
paul
f83c8f994c qt:
- add missing part of RawImage_FromBitmap
- TQtImage new constructor Create and method CopyFrom
- improve TQtWSBitBtn.SetGlyph

git-svn-id: trunk@13603 -
2008-01-03 08:38:34 +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
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
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
4dfe601068 qt:
- add qtdefines.inc (place for global qt defines)
- force qt 4.3 under windows

git-svn-id: trunk@12630 -
2007-10-29 15:11:49 +00:00
zeljko
67a225075b Qt: Fix - TQColor.Alpha & TQColor.Pad must be properly initialized in ColorRefToTQColor().
git-svn-id: trunk@12403 -
2007-10-10 09:59:12 +00:00
zeljko
6e14738195 Qt: Added missing color specification to ColorRefToTQColor().
git-svn-id: trunk@12394 -
2007-10-09 13:25:29 +00:00
paul
5cf5011af9 Qt: formatting
git-svn-id: trunk@12190 -
2007-09-27 01:46:30 +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
1620b29272 Qt:
- significantly improved speed of synedit

git-svn-id: trunk@12183 -
2007-09-26 05:49:32 +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
08ba2c42af Qt: trial to sppedup qt paintings through -dQtGraphicsSpeedUp
git-svn-id: trunk@12134 -
2007-09-22 13:02:04 +00:00
paul
dd07f217c6 reduce hints
git-svn-id: trunk@12127 -
2007-09-22 08:13:08 +00:00
paul
e05a24834f Qt:
- install global application EvenFilter (now it is used to remove Tab FocusPolicy from widgets)
- fix Tabbing
- move QtObjectFromWidgetH to right place

git-svn-id: trunk@12116 -
2007-09-21 18:41:42 +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
d892b764bb Qt: simplifying TQtDeviceContext.drawText
git-svn-id: trunk@12105 -
2007-09-21 08:32:12 +00:00
sekelsenmat
fb74cf2f73 Started moving TTrayIcon to LCL. Implemented basics and the Qt implmentation.
git-svn-id: trunk@12097 -
2007-09-20 21:33:28 +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
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
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
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
0fbe24b1c2 - qt: reimplement getDeviceSize
git-svn-id: trunk@11926 -
2007-09-03 07:24:47 +00:00
sekelsenmat
09e1f9441a Small fixes for the qt4 interface on mac os x
git-svn-id: trunk@11894 -
2007-08-31 21:44:03 +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
f51fb2b0b1 (Qt): Fixed QPainter warning "QPainter::begin: Widget painting can only begin as a result of a paintEvent" when calling QtScreenContext for the first time.
git-svn-id: trunk@11738 -
2007-08-04 12:43:45 +00:00
zeljko
bcc6d8567f (Qt): Completely fixed mem leaks (vFont on demand) with TQtDeviceContext.
git-svn-id: trunk@11737 -
2007-08-04 12:28:53 +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
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
2c67444d20 (Qt): tested on winxp and removed ifdef linux
git-svn-id: trunk@11720 -
2007-08-03 01:59:21 +00:00
zeljko
b360405b18 (Qt): Fixed few memleaks inside TQtDeviceContext (ifdef-ed for linux only pls. remove those ifdefs and test on Win32&Mac) provoked mostly by SynEdit & Bitmaps. At this moment each SynEdit&Bitmaps leaves 3 unfreed mem blocks because of vBackgroundBrush & vFont creation inside TQtDeviceContext.Create(). All tests maded with heaptrc enabled.
git-svn-id: trunk@11718 -
2007-08-02 21:31:58 +00:00
paul
70ee268b83 (Qt):
- new class TQtIcon
- implemented TQtWSWinControl.ConstraintsChange

git-svn-id: trunk@11704 -
2007-08-01 11:51:37 +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
669a0e96f9 (Qt): TQtTimer moved to qtobjects since it is not TQtWidget descendant
git-svn-id: trunk@11663 -
2007-07-29 08:12:09 +00:00
paul
02fbc366d2 (Qt): process Clipboard change event
git-svn-id: trunk@11643 -
2007-07-27 07:56:08 +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
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
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
27a0b1dee3 * Fixed typo in qobjects.pas
git-svn-id: trunk@11578 -
2007-07-19 13:22:11 +00:00
zeljko
a8a022e871 * Fixed paintings out of paintEvent().
git-svn-id: trunk@11577 -
2007-07-19 12:19:19 +00:00
paul
ab36a6a9e3 - new class in Qt Object hierarchy TQtObject
- TQtTimer now inherits TQtObject

git-svn-id: trunk@11562 -
2007-07-18 03:08:47 +00:00
zeljko
f1d1abb3bd * Re-patch from Paul.
git-svn-id: trunk@11543 -
2007-07-17 12:45:10 +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
paul
72d601e943 (QT)
- QT bindings updated to 1.43
- QT ThemeServices is working now. Can paint Buttons (w/wo Flat), CheckBox, RadioButton, Header

git-svn-id: trunk@11523 -
2007-07-16 09:26:28 +00:00
paul
77dc0b4f95 TQtImage.AsPixmap
git-svn-id: trunk@11460 -
2007-07-11 08:37:31 +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
abc335dd5a - fixing "point" issues (change from PPoint to PQtPoint)
- fixing lazarus splash screen launch (there was assumption in the code that application already has MainForm, so all calls like Application.MainForm.Visible causes AV)
- fixing issues with Menu

git-svn-id: trunk@11448 -
2007-07-09 05:56:24 +00:00
paul
9d62526137 - (QT) TQtImage.AsIcon
- (QT) set image to menu item
- (LCL) destroy menu item bitmap if ImageIndex reseted to -1

git-svn-id: trunk@11423 -
2007-07-05 03:47:03 +00:00
sekelsenmat
0fb48e3d21 patch from zeljko. TCalendar implemented. Reimplemented TCustomCheckGroup and TCustomRadioGroup. Workaround for "Hidden radio button" problem. Added to this many small changes and switched the default qt version to 4.2
git-svn-id: trunk@11355 -
2007-06-23 07:13:18 +00:00
sekelsenmat
236bcd8d46 Added support for Qt 4.2.x
git-svn-id: trunk@11352 -
2007-06-21 13:43:20 +00:00
sekelsenmat
78205ce402 Improves menu code on qt
git-svn-id: trunk@10622 -
2007-02-11 21:19:12 +00:00
sekelsenmat
bd436baa2d Small improvements related to trayicon on qt interface and upgrades qt bindings to 1.27
git-svn-id: trunk@10599 -
2007-02-07 05:33:48 +00:00
sekelsenmat
eeab5cc377 Small bugfix for menus on qt interface
git-svn-id: trunk@10534 -
2007-01-29 21:36:52 +00:00