Commit Graph

103 Commits

Author SHA1 Message Date
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