Commit Graph

49 Commits

Author SHA1 Message Date
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
sekelsenmat
0cb3dd8bb1 Improvements to TPopUpMenu, and TMenuItem on qt interface
git-svn-id: trunk@10530 -
2007-01-29 17:55:51 +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
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
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
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
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
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
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
ab3ba51719 qt intf: combobox from Luis
git-svn-id: trunk@10004 -
2006-09-29 11:06:13 +00:00
mattias
61d1db9fdb qt intf: small improvements for TMemo, mouse move
git-svn-id: trunk@9971 -
2006-09-22 23:57:50 +00:00
mattias
112b816466 qt intf: implemented TListBox
git-svn-id: trunk@9893 -
2006-09-14 17:54:21 +00:00
mattias
2f449c60a7 qt intf: TLabel from Felipe
git-svn-id: trunk@9794 -
2006-09-02 20:38:21 +00:00
mattias
444e56f095 qt intf: fixed TMemo clear from Felipe
git-svn-id: trunk@9273 -
2006-05-13 12:51:52 +00:00
mattias
fef1681254 qt intf: fixes spin edit from Felipe
git-svn-id: trunk@9268 -
2006-05-13 09:36:47 +00:00