zeljko
f6fe5420e0
Qt: Fixed crash on initialization of viewport.
...
git-svn-id: trunk@12314 -
2007-10-04 16:31:14 +00:00
zeljko
e779284d35
Qt: Fixed MouseWheel problem for all TCustomControls, introduced by TQtViewport.
...
git-svn-id: trunk@12313 -
2007-10-04 15:08:01 +00:00
zeljko
913a6539fa
Qt: Introduced new class - TQtViewPort. Known problems: Mouse wheel does not work inside some TCustomControls (eg.SynEdit, TTreeView), but works inside eg. TStringGrid.
...
git-svn-id: trunk@12312 -
2007-10-04 14:26:06 +00:00
paul
7f4f699fb3
Qt: fix misuse of viewportEvent
...
git-svn-id: trunk@12308 -
2007-10-04 07:18:47 +00:00
zeljko
17de2cbca3
Qt: Fixed crash on abstractscrollarea introduced by latest patch.
...
git-svn-id: trunk@12306 -
2007-10-04 06:46:25 +00:00
paul
9e05f89ab6
qt: paint TCustomControls on viewport of QAbstractScrollArea
...
git-svn-id: trunk@12305 -
2007-10-04 05:22:15 +00:00
sekelsenmat
58d1ed40c9
Fixed compiling the Qt interface under Mac OS X.
...
git-svn-id: trunk@12295 -
2007-10-02 13:19:30 +00:00
zeljko
c874dadef0
Qt: fixed menubar creation under macosx in ide & app runtime.
...
git-svn-id: trunk@12288 -
2007-10-02 06:29:12 +00:00
zeljko
cecd2455c2
Qt: Fix for disabled tabbar scrollbuttons under mac, now it's enabled as default option (as in linux & win32)
...
git-svn-id: trunk@12276 -
2007-10-01 15:06:32 +00:00
zeljko
0e6f105e48
Qt: Fixed typo.
...
git-svn-id: trunk@12275 -
2007-10-01 14:44:29 +00:00
zeljko
a05aa657e8
Qt: Fixed invisible main menu under lazarus IDE for win32.
...
git-svn-id: trunk@12273 -
2007-10-01 14:21:29 +00:00
paul
ef8fc0400f
qt: simplify code
...
git-svn-id: trunk@12262 -
2007-10-01 08:52:23 +00:00
zeljko
12625a722d
Qt: MenuBar should be created on demand, if form contains assigned menu - fixes problem with menus under Darwin. Fixed problem with tabBar under Darwin (others accept this too). More optimized global event filter for win32. All tested on Linux, MaxOSX & winXP.
...
git-svn-id: trunk@12260 -
2007-10-01 08:44:30 +00:00
paul
1fdddb7bd2
Qt: fix possible caret crash
...
git-svn-id: trunk@12246 -
2007-09-29 17:34:45 +00:00
zeljko
8f0ac349b1
Qt: Simplify TQtAbstractScrollArea.getClientBounds()
...
git-svn-id: trunk@12244 -
2007-09-29 16:44:38 +00:00
zeljko
c565a39dde
Qt: Completely rewritten SetScrollInfo() & GetScrollInfo(), now scrollbars works ok and faster since invalidating of scrollbar is out of this routines now. Fixed EnableWindow() bug by reimplementation of SetScrollInfo() & GetScrollInfo().
...
git-svn-id: trunk@12241 -
2007-09-29 15:01:58 +00:00
zeljko
0c0bf8b39e
Qt: use new getHeight & getWidth for TQtWidgets.
...
git-svn-id: trunk@12237 -
2007-09-29 11:06:13 +00:00
zeljko
5bdb68667e
Qt: More winapi & TQtWidget routines implemented.
...
git-svn-id: trunk@12236 -
2007-09-29 10:54:55 +00:00
zeljko
06c51688cf
(Qt): Fix for #9811 - wrong focus policy setted up for TQtMainWindow.
...
git-svn-id: trunk@12222 -
2007-09-28 19:47:27 +00:00
paul
f5d04db9c5
Qt: prevent ScrollBar to handle keys
...
git-svn-id: trunk@12209 -
2007-09-28 07:22:58 +00:00
paul
88dd7363cd
Qt:
...
- improve keyhandling a bit
- remove some workarounds
git-svn-id: trunk@12205 -
2007-09-28 03:30:19 +00:00
zeljko
f27afa16e1
(Qt): fix for #9777 .
...
git-svn-id: trunk@12193 -
2007-09-27 06:43:45 +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
3be4827bfd
Qt:
...
- process paint event only for widgets where they are make any sense
- fix bug with grabbing focus by viewport in any QAbstractScrollArea descendants (QTextEdit, QListBox and so on). This cause sometimes wrong bg and other problems
git-svn-id: trunk@12186 -
2007-09-26 08:57:37 +00:00
paul
1620b29272
Qt:
...
- significantly improved speed of synedit
git-svn-id: trunk@12183 -
2007-09-26 05:49:32 +00:00
paul
d65866183a
Qt:
...
- reimplement sendmessage same way as postmessage is done
git-svn-id: trunk@12174 -
2007-09-25 06:33:33 +00:00
paul
5e815b536b
Qt:
...
- remove unneeded more code in TQtCaret
- add define QtPaintOnViewport (to switch painting from QAbstractScrollArea to viewport of that area)
git-svn-id: trunk@12173 -
2007-09-25 05:46:45 +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
a5a7bd7796
Qt:
...
- more checks while setting / getting scroll info
- another trial to speedup TCustomControl
git-svn-id: trunk@12171 -
2007-09-25 01:57:10 +00:00
paul
5269651533
Qt: implement PostMessage as postponed TWinControl.Perform
...
git-svn-id: trunk@12164 -
2007-09-24 12:37:29 +00:00
paul
a22f679f0d
Qt:
...
- minor changes for menu
- cleanup
git-svn-id: trunk@12156 -
2007-09-24 07:49:58 +00:00
paul
763779959f
Qt: menu rework (also fixed issue with destroying menu items - they had not destroyed their handles)
...
git-svn-id: trunk@12153 -
2007-09-24 06:03:19 +00:00
paul
55a9f353b2
Qt:
...
- fix problem with grabbing mouse capture for TCustomControl
- remove toolbar and toolbutton implementation into ifdefs since ToolBar and ToolButton are TCustomControl descendants and fully implemented by LCL means
git-svn-id: trunk@12148 -
2007-09-23 06:52:30 +00:00
paul
015e551c12
qt: probably fix tab change by mouse click in TPageControl
...
git-svn-id: trunk@12142 -
2007-09-23 02:56:28 +00:00
paul
589219fcdc
Qt: implement SendMessage
...
git-svn-id: trunk@12137 -
2007-09-22 17:34:53 +00:00
paul
76329d2b67
Qt:
...
- improve key handling:
a) it is possible now to stop key handling if OnKeyDown/KeyUp/KeyPress charcode become 0
b) it is possible now to change vk code or char code in Key events
- implement WantReturns for TCustomMemo
git-svn-id: trunk@12135 -
2007-09-22 15:55:39 +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
63185c68cf
Qt:
...
- fix statusbar panels width
- change statusbar penels frame to styled
git-svn-id: trunk@12114 -
2007-09-21 16:01:14 +00:00
paul
34cccaa939
Qt:
...
- set mode objfpc instead of delphi in qtwidgets.pas
- some fixes for Tabbing
git-svn-id: trunk@12113 -
2007-09-21 14:55:56 +00:00
paul
764b474b83
Qt:
...
- fix TQtWinControl.CanFocus
- fix FocusPolicy for widgets - they now have only Click policy. Tab policy is not needed since LCL handle tabbing itself
- remove setTabOrders and related code since LCL handle tabbing itself
(issue #0009726 )
git-svn-id: trunk@12102 -
2007-09-21 05:08:35 +00:00
paul
aab25fd9e6
Qt:
...
- fix listbox selection (extended selection was turned on single select mode too)
git-svn-id: trunk@12093 -
2007-09-20 14:35:43 +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
f40ff94387
Qt: use native VK code provided by qt in TLMKey under windows instead of qt key code -> VK mapping
...
git-svn-id: trunk@12079 -
2007-09-19 15:46:16 +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
zeljko
06f54aae9b
(Qt): Fixed AV when deleting item from TCustomListView.
...
git-svn-id: trunk@12074 -
2007-09-19 07:25:16 +00:00
zeljko
36f9cf22e2
(Qt): Implemented AutoSelect for comboboxes.
...
git-svn-id: trunk@12058 -
2007-09-17 19:29:29 +00:00
paul
98dc3ac6bd
Qt: misc
...
git-svn-id: trunk@12049 -
2007-09-17 03:09:29 +00:00
paul
6eb5685e9e
Qt: cleanup
...
git-svn-id: trunk@12046 -
2007-09-16 15:39:51 +00:00