Commit Graph

123 Commits

Author SHA1 Message Date
paul
7c5ecf3461 qt: return *real* bitmap description, not the *default* (fixes #0011905)
git-svn-id: trunk@16096 -
2008-08-18 02:34:56 +00:00
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