Commit Graph

4871 Commits

Author SHA1 Message Date
zeljko
c61a173237 Qt: reverted patch for #12230 (introduced more size problems), bug reopened, will be fixed in 0.9.27 ...
git-svn-id: trunk@16722 -
2008-09-25 08:22:37 +00:00
zeljko
4f0d06645d Qt: fix for #12230. QTabWidget_contentsRect() always return rect without tabbar, so, no need to dec result of getClientBounds()
git-svn-id: trunk@16721 -
2008-09-25 08:10:53 +00:00
paul
cdbcd54d0e qt: fix pen position after lineTo (fixes Jesus troubles with grid)
git-svn-id: trunk@16716 -
2008-09-25 06:25:02 +00:00
paul
562a275928 carbon: skip last point in polyline to be delphi/win32
git-svn-id: trunk@16714 -
2008-09-25 01:55:31 +00:00
tombo
051af46383 LCL Carbon: fixed TSaveDialog.InitialDir - nil was passed instead of FileDialog to call back
git-svn-id: trunk@16711 -
2008-09-24 14:57:24 +00:00
tombo
564d824e9a LCL Carbon: disable showing debug info for application object
git-svn-id: trunk@16709 -
2008-09-24 14:27:53 +00:00
paul
7f06e41a7c qt:
- improve LineTo
  - PolyLine must skip last pixel to be delphi/win32 compatible

git-svn-id: trunk@16690 -
2008-09-24 01:44:22 +00:00
paul
d0f9e88743 gtk, gtk2: PolyLine must skip last point draw to be delphi/win32 compatible
git-svn-id: trunk@16689 -
2008-09-23 23:29:10 +00:00
paul
0c2102095d carbon: implement GetsysColor for clActivecaption, clInactiveCaption
git-svn-id: trunk@16676 -
2008-09-23 03:28:53 +00:00
paul
724d7b8199 carbon: focus rect must be drawn inside passed rect
git-svn-id: trunk@16675 -
2008-09-23 02:30:55 +00:00
paul
09983c4aa0 qt: clCaptionText color must be visible on clActiveCaption bg
git-svn-id: trunk@16666 -
2008-09-21 14:01:58 +00:00
paul
eee75551b6 gtk: don't try to draw Text if Rect is empty
git-svn-id: trunk@16665 -
2008-09-21 13:32:30 +00:00
tombo
e7e9a83d4a LCL Carbon: improved item index handling for TListBox
git-svn-id: trunk@16664 -
2008-09-21 12:29:49 +00:00
paul
d611ff1e39 qt: handle other toolbar parts the same way as a button in themeservices
git-svn-id: trunk@16663 -
2008-09-21 11:26:15 +00:00
paul
9cc9099e3f carbon:improve themed toolbar drawing
git-svn-id: trunk@16662 -
2008-09-20 16:51:19 +00:00
tombo
a83c1c5a70 LCL Carbon: better scrollbar handling, fixes bug #0012044: TListBox scrollbars on Carbon
git-svn-id: trunk@16660 -
2008-09-20 12:47:41 +00:00
zeljko
160b31e9dc Qt: qtthemes - when toolbar is flat, then make toolbar buttons also flat.
git-svn-id: trunk@16659 -
2008-09-19 21:31:42 +00:00
zeljko
0f1e56d462 Qt: bugfix - cannot blindly convert shared image, must use new QImage for such ops.
git-svn-id: trunk@16656 -
2008-09-19 17:46:12 +00:00
tombo
ddeee54b5c LCL Carbon: implemented GetTextColor, fixes bug #0012166: TSpeedButton in carbon
git-svn-id: trunk@16655 -
2008-09-19 16:53:19 +00:00
tombo
b7bcb7ed2c LCL Carbon: TMemo hide selection when inactive, part of bug #0012042: TMemo selection
git-svn-id: trunk@16654 -
2008-09-19 16:45:55 +00:00
zeljko
6fd04c98b8 Qt: fixed crash with QLCLAbstractItemDelegate for win32 & macosx under some circumstances.
git-svn-id: trunk@16653 -
2008-09-19 16:27:55 +00:00
zeljko
f03215b59b Qt: Fixed regression in TQtDeviceContext.drawImage().
git-svn-id: trunk@16651 -
2008-09-19 16:01:42 +00:00
zeljko
eda775b4f0 Qt: added QtX11WaitForWindowManager() to all QWidget_showXX calls.Such call avoid unexpected behaviour under some X11 window managers.
Fixed AV with QLCLItemDelegate_destroy() which raises AV under linux in some circumstances.Added TODO for this case.

git-svn-id: trunk@16645 -
2008-09-19 11:18:43 +00:00
zeljko
7dcfdfde0f Qt: check enable state of TQtLineEdit & TQtComboBox when using AutoSelect property.
git-svn-id: trunk@16636 -
2008-09-18 20:29:47 +00:00
zeljko
2c9245741e Qt: removed IFDEF WINDOWSUNICODESUPPORT from TQtWidgetSet.FontCanUTF8()
git-svn-id: trunk@16631 -
2008-09-18 06:22:44 +00:00
zeljko
7be0d54a71 Qt: check grabWidget for nil before call to QWidget_releaseMouse().
git-svn-id: trunk@16629 -
2008-09-17 16:41:26 +00:00
zeljko
707ff6d34c Qt: all color conversions changed from QColor_setRgb() to QColor_fromRgb(), cause it can return unexpected result.
git-svn-id: trunk@16626 -
2008-09-17 14:49:58 +00:00
zeljko
36729ad9c3 Qt: fix TQtAbstractItemView should use QPaletteBase; Convert colors using QColor_fromRGB() in qtobjects.ColorRefToQColor()
git-svn-id: trunk@16621 -
2008-09-17 13:29:26 +00:00
tombo
cc181b888f LCL carbon: set empty image, if bitbtn or menu item bitmap width or height is zero, fixes #0011710: Carbon: Small dot now on left side of menu items and button labels
git-svn-id: trunk@16619 -
2008-09-17 13:26:28 +00:00
zeljko
c3e3cf9a44 Qt: fixed #11602, problem was in TQtWidgetSet.DCSetPixel().
git-svn-id: trunk@16618 -
2008-09-17 12:11:09 +00:00
zeljko
b0367ba1d7 Qt: fixed QPalette mess with TQtWidget, TQtComboBox, TQtAbstractScrollArea, TQtLineEdit, TQtTextEdit, TQtAbstractSpinBox, TQtAbstractButton.
git-svn-id: trunk@16610 -
2008-09-16 17:19:33 +00:00
vincents
8c49e607af win32 issues: fixed typos
git-svn-id: trunk@16606 -
2008-09-16 14:40:30 +00:00
paul
10cb184641 win32: fix range check error (by Martin Friebe, #0012157)
git-svn-id: trunk@16602 -
2008-09-16 02:44:11 +00:00
paul
f7c01f9fda gtk: revert part of 16324. use g_idle_add. gtk_timeout_add leads to crash (#0012114)
git-svn-id: trunk@16601 -
2008-09-15 22:34:04 +00:00
zeljko
6ce78376aa Qt: added comment about QFontMetrics::averageCharWidth() under MacOsX.
git-svn-id: trunk@16600 -
2008-09-15 21:19:29 +00:00
zeljko
ffec5a52a8 Qt: fix latest patch, only DT_NOCLIP should be changed ...
git-svn-id: trunk@16599 -
2008-09-15 17:17:07 +00:00
zeljko
b15a1073c9 Qt: bugfix in TQtWidgetSet.drawText()
git-svn-id: trunk@16598 -
2008-09-15 17:01:19 +00:00
tombo
d53f365f5e LCL carbon: fixed range error
git-svn-id: trunk@16595 -
2008-09-15 14:51:06 +00:00
zeljko
e638219510 Qt: fix synedit AV under darwin.
git-svn-id: trunk@16591 -
2008-09-15 12:08:45 +00:00
mattias
7d321ea70b gtk2 intf: disabled gtk2 threading, bug #12145
git-svn-id: trunk@16590 -
2008-09-15 11:43:07 +00:00
zeljko
0152132972 Qt: fixed #11101, #11281 (dbgrid AV)
git-svn-id: trunk@16588 -
2008-09-14 13:04:18 +00:00
tombo
82d37a3e72 LCL carbon: fixed range check error
git-svn-id: trunk@16586 -
2008-09-14 09:38:10 +00:00
tombo
98670ae7f4 LCL Carbon: fixed range errors and warnings, fixes #0011704: Range checks when Carbon compiled with -Cr
git-svn-id: trunk@16585 -
2008-09-14 09:22:51 +00:00
tombo
56b2d3f9c3 LCL Carbon: finally find solution for #0011287: Mac OS X : Double Click when Showing forms does not work correctly... - postpone down message to start of mouse tracking
git-svn-id: trunk@16581 -
2008-09-13 12:43:18 +00:00
tombo
22aa8a9284 LCL carbon: commented debugln
git-svn-id: trunk@16580 -
2008-09-13 12:07:12 +00:00
tombo
0c3d73c74e LCL Carbon: improved menu item short cut setting - perhaps fixes #0011961: un-commanded Meta-A menu event
git-svn-id: trunk@16579 -
2008-09-13 11:03:14 +00:00
vincents
273220e891 fixed compilation after merging of the fpc Unicode branch to fpc 2.3.1
git-svn-id: trunk@16573 -
2008-09-12 21:24:45 +00:00
zeljko
de65490e4a Qt: added TQtFontMetrics.averageCharWidth(), we use this one instead of blind charWidth('x',0) in qtwinapi.
git-svn-id: trunk@16565 -
2008-09-12 14:02:41 +00:00
paul
7a25527898 qt: revert commit of debug code
git-svn-id: trunk@16561 -
2008-09-12 03:25:37 +00:00
paul
362c46dac6 lcl: use UTF8 versions of LowerCase, UpperCase internally
git-svn-id: trunk@16560 -
2008-09-12 03:24:27 +00:00