Commit Graph

5104 Commits

Author SHA1 Message Date
paul
3657fbfe4f lcl: retrieve font handle from the window handle, don't retrieve it from the LCL font when we want to measure text size of a control (bug #0012857)
git-svn-id: trunk@18079 -
2009-01-03 16:23:13 +00:00
paul
4d0461b78b qt: use LCL page index when pass events from widgetset to the LCL (resolves #0012901)
git-svn-id: trunk@18034 -
2009-01-02 10:13:50 +00:00
paul
554dc2b087 qt: set colors for radio button and checkbox
git-svn-id: trunk@18033 -
2009-01-02 08:58:51 +00:00
paul
4543ee3e94 win32: better autosize checkbox (bug #0012857)
git-svn-id: trunk@18031 -
2009-01-02 07:48:21 +00:00
paul
cd79a420be win32: don't fire Wheel events for disabled windows (bug #0012803)
git-svn-id: trunk@18019 -
2009-01-01 19:17:29 +00:00
paul
5f3e254b15 qt: stop mouse capture on showing modal message box
git-svn-id: trunk@18011 -
2009-01-01 15:11:05 +00:00
paul
c0bf8bbc48 win32: repair focus rectangle for themed windows (bug #0012885)
git-svn-id: trunk@18004 -
2008-12-31 09:06:18 +00:00
paul
d9491a4528 lcl: fix header
git-svn-id: trunk@18002 -
2008-12-31 03:07:17 +00:00
paul
3569305392 gtk: fix SetSelStart for TEdit from Valdas Jankunas (bug #0011800)
git-svn-id: trunk@17987 -
2008-12-30 08:22:37 +00:00
paul
4faf5f9e77 qt: inherit TQtTextEdit from TQtFrame
git-svn-id: trunk@17972 -
2008-12-29 06:44:31 +00:00
vincents
7ba4ba7464 gtk2 interface: fixed trayicon compilation on windows from Mazen
git-svn-id: trunk@17888 -
2008-12-22 22:33:21 +00:00
sekelsenmat
2beaaa8625 Patch from Mazen, improves gtk2 trayicon
git-svn-id: trunk@17853 -
2008-12-17 12:43:32 +00:00
jesus
d0c213de66 LCL, fix SelStart for gtk2 that cause typing in wrong order in stringgrid
git-svn-id: trunk@17788 -
2008-12-10 21:31:19 +00:00
sekelsenmat
226434bc52 Moves freeing TStrings from standard controls to the widgetset. Necessary for widgets with a native TStrings.
git-svn-id: trunk@17787 -
2008-12-10 21:12:10 +00:00
sekelsenmat
abf11caaf2 Small update to fpgui-lcl from Graeme
git-svn-id: trunk@17786 -
2008-12-10 20:53:50 +00:00
paul
3659841c55 lcl: disable docking at the design time (#0012772)
git-svn-id: trunk@17776 -
2008-12-10 01:56:37 +00:00
andrew
a58d3f7a02 Reverted to revision 17770 #a8e24520cd
git-svn-id: trunk@17773 -
2008-12-09 22:45:22 +00:00
andrew
ee3221683b * Implemented TGtk2WSCustomTrayIcon.ShowBalloonHint
git-svn-id: trunk@17771 -
2008-12-09 21:33:38 +00:00
sekelsenmat
ab4f4a7e27 Fixes getting a pixel color in Qt
git-svn-id: trunk@17760 -
2008-12-09 14:13:03 +00:00
paul
4bd4fa8fb0 win32: apply patch of Martin Friebe which allows triple and quad-mouse-click action for windows (only for left mouse button though) #0012767
git-svn-id: trunk@17742 -
2008-12-09 05:57:18 +00:00
zeljko
7348c85216 Qt: bugfix - result was wrong in TQtWSCustomListView.ItemGetChecked()
git-svn-id: trunk@17728 -
2008-12-08 14:31:21 +00:00
paul
9e6ad52bfa lcl: force treeview to reset scrollbar info after window recreation (#0012761)
win32: redraw scrollbars also if themes are not used but available (xp application without manifest)

git-svn-id: trunk@17722 -
2008-12-08 07:58:31 +00:00
paul
a3e167cc37 gtk: don't crash on polygon when pen is clear, brush is not clear and winding fill mode is used (#0012759)
git-svn-id: trunk@17721 -
2008-12-08 07:23:13 +00:00
zeljko
0cf2427cdd Qt: fixed scrolling of TCustomFrame.
git-svn-id: trunk@17704 -
2008-12-06 18:25:28 +00:00
zeljko
738fb1f569 Qt: reduce getSysColor() overhead by caching colors.
git-svn-id: trunk@17700 -
2008-12-06 13:03:05 +00:00
zeljko
fb451cc154 Qt: Avoid crash in qtthemes when changing application style programatically.
git-svn-id: trunk@17698 -
2008-12-06 11:19:19 +00:00
sekelsenmat
1b7c183342 Makes the correction of the form height to avoid overlapping the menu be automatic.
git-svn-id: trunk@17693 -
2008-12-05 16:11:36 +00:00
zeljko
15eeba4708 Qt: fix wheel event for customcontrols which uses custom painted scrollbars by it's own (fastcube).
git-svn-id: trunk@17692 -
2008-12-05 09:46:56 +00:00
sekelsenmat
98d9f5d134 Initial code for auto detecting menu position.
git-svn-id: trunk@17685 -
2008-12-04 16:45:42 +00:00
zeljko
9a5c600991 Qt: bugfix GetDCOriginRelativeToWindow() returned wrong origin when form contains mainmenu.
git-svn-id: trunk@17683 -
2008-12-04 16:19:14 +00:00
sekelsenmat
e42f38b071 Adds the MaximizedWindowHeightCorrection property to correct window height in Windows CE.
git-svn-id: trunk@17681 -
2008-12-04 13:24:18 +00:00
tombo
fb1ea9e664 LCL carbon: applied patch from Dmitry - fixes updating client bounds of controls with scrolling content
git-svn-id: trunk@17680 -
2008-12-04 13:02:44 +00:00
zeljko
81c926981b Qt: fix for qt window hints, fixes bug #12430.
git-svn-id: trunk@17673 -
2008-12-03 13:46:50 +00:00
paul
16a1602bb1 carbon: fix memory leak from Dmitry
git-svn-id: trunk@17659 -
2008-12-02 11:59:18 +00:00
sekelsenmat
49a0f4403e Adds calendar support to Windows CE
git-svn-id: trunk@17657 -
2008-12-02 02:13:47 +00:00
sekelsenmat
73eb411b61 Fixes compilation of Carbon-Cocoa with FPC 2.2.2
git-svn-id: trunk@17656 -
2008-12-02 00:56:31 +00:00
zeljko
d2a489e5c4 Qt: better DrawFocusRect() patch.
git-svn-id: trunk@17654 -
2008-12-01 20:30:20 +00:00
zeljko
e23cf3a342 Qt: fixed bug inside SelectClipRgn(), reproducable on Mac & Linux only (now FastCube works fine ;) ).
git-svn-id: trunk@17653 -
2008-12-01 19:14:24 +00:00
paul
893a5a4867 qt: don't draw DrawEdge for empty rects
git-svn-id: trunk@17651 -
2008-12-01 16:58:34 +00:00
paul
cbdd72b1b2 qt: fix retrieving of few menu system colors
git-svn-id: trunk@17650 -
2008-12-01 15:54:32 +00:00
zeljko
5411abe0a1 Qt: fixed DrawFocusRect().
git-svn-id: trunk@17649 -
2008-12-01 15:43:42 +00:00
paul
3c5d2f3da3 qt: retrieve more correct titlebar colors. use direct windows call under qt-windows
git-svn-id: trunk@17648 -
2008-12-01 15:31:30 +00:00
zeljko
befdca0dbb Qt: drawEdge(), removed unecesarry color conversions.
git-svn-id: trunk@17647 -
2008-12-01 15:15:01 +00:00
paul
1e9b89230d qt: remove last pixel on line draw if pen is cosmetic (to mimic windows)
git-svn-id: trunk@17646 -
2008-12-01 15:03:36 +00:00
paul
eda677114d qt: fix few issues with DrawEdge
git-svn-id: trunk@17645 -
2008-12-01 14:23:42 +00:00
paul
cda2f61ad0 qt: fix DrawEdge colors
git-svn-id: trunk@17644 -
2008-12-01 13:35:25 +00:00
marc
7728e82c3e * added todo for SB_THUMBPOSITION when tracking is finished
git-svn-id: trunk@17637 -
2008-11-30 23:35:12 +00:00
paul
7fad68ae28 lcl: don't return incorrent ItemIndex (valid values are from -1 to Count - 1)
git-svn-id: trunk@17628 -
2008-11-29 10:41:48 +00:00
zeljko
f861906cc1 Qt: implemented GetDCOriginRelativeToWindow()
git-svn-id: trunk@17623 -
2008-11-28 15:35:35 +00:00
paul
1394f53c75 gtk, gtk2: fix visibility warnings and some other
git-svn-id: trunk@17620 -
2008-11-28 04:08:16 +00:00