Commit Graph

6791 Commits

Author SHA1 Message Date
paul
a3dac0b6df lcl: redo context menu message handling:
- when called by keyboard pass -1, -1 coords
  - remove child->parent loop from LCL to widgetsets (win32 and wince do this automatically, qt do it too if mouse propagation is on)
  - don't show parent context menu if child has own standard menu (like TEdit)
qt: redo mouse handling, turn on mouse propagation and mouse tracking for most of widgets, stop propagation in event filters
gtk2: implement context menu loop
widgetsets: remove LM_PRESSED, LM_RELEASED messages (LCL does not use them and they are not needed for any compatbility reasons)

git-svn-id: trunk@26637 -
2010-07-14 08:47:02 +00:00
dmitry
82860f9b73 carbon: fix inproper scrollbars showing #16613
git-svn-id: trunk@26636 -
2010-07-14 08:19:46 +00:00
zeljko
b6beec0f82 Qt: fixed warnings
git-svn-id: trunk@26626 -
2010-07-13 14:55:49 +00:00
zeljko
cbc5a306cd Qt: cleanup
git-svn-id: trunk@26625 -
2010-07-13 14:40:29 +00:00
zeljko
b06d7701df Qt: don't touch flags if we are in design time.
git-svn-id: trunk@26624 -
2010-07-13 14:38:54 +00:00
zeljko
32353ca72a Qt: fixed bug where fsStayOnTop forms after hide cannot be shown anymore (visible in window list but invisible on screen).
git-svn-id: trunk@26623 -
2010-07-13 14:11:17 +00:00
zeljko
df22fafe9f Qt: do not create scrollbar handles from TQtCustomControl.getClientBounds(), also better workaround for infinite loop with scrollingwincontrols, it happens only if Form.AutoScroll=True (there's no scrollbars for forms under qt yet - need different implementation).
git-svn-id: trunk@26621 -
2010-07-13 13:18:33 +00:00
zeljko
cab3089111 Qt: make viewportNeeded & viewportDelete virtual, so allow subclassing
git-svn-id: trunk@26612 -
2010-07-13 07:56:55 +00:00
zeljko
df68a7ddf6 Qt: big performance boost in StretchMaskBlt(), now mask is stretched (if needed) to image size.Removed destination width & height stretching from StretchMaskBlt(), since it is done internally in TQtDeviceContext.DrawImage()
git-svn-id: trunk@26607 -
2010-07-12 11:14:37 +00:00
zeljko
5c853d1f08 Qt: StretchMaskBlt(): fixed bug in statement for stretching dst width & height. fixes #16910
git-svn-id: trunk@26603 -
2010-07-11 20:03:57 +00:00
dmitry
59f9b13b95 carbon: fix compilation due to GetStockObject result type changes
git-svn-id: trunk@26600 -
2010-07-11 16:10:58 +00:00
zeljko
b0336c670d Qt: let the TQtWidget remember it's last caret pos, fixes various problems with TSynEdit.
git-svn-id: trunk@26583 -
2010-07-10 19:25:22 +00:00
mattias
152fbbfa9c gtk2 intf: when a window gets focus, send the LM_SETFOCUS message to the ActiveControl to follow the LCL logic
git-svn-id: trunk@26563 -
2010-07-10 06:51:28 +00:00
zeljko
158bd528ca Qt: allow non spontaneous key event for IQtEdit.
git-svn-id: trunk@26555 -
2010-07-09 22:11:21 +00:00
dmitry
3e688d4f5d carbon: allow BitBtns to set custom fonts. fix for #16882
git-svn-id: trunk@26544 -
2010-07-09 06:03:03 +00:00
zeljko
e489b279cb Qt: set empty text for menuitem which is separator. fixes #16871
git-svn-id: trunk@26536 -
2010-07-08 20:35:48 +00:00
zeljko
d0a7a15d11 Gtk2: properly set wordwrap for TGtk2WSCustomMemo. fixes #16875
git-svn-id: trunk@26535 -
2010-07-08 20:29:59 +00:00
mattias
77c0853887 debugging
git-svn-id: trunk@26534 -
2010-07-08 20:24:51 +00:00
dmitry
fecbf2d56a carbon: setting interface constraints for CarbonComboBox
git-svn-id: trunk@26531 -
2010-07-08 17:07:53 +00:00
dmitry
7d448a1242 carbon: started carbon buttons drawing workaround
git-svn-id: trunk@26530 -
2010-07-08 16:37:36 +00:00
zeljko
60513eeef8 Qt: introduced new class TQtCheckListBox which is handle for TCheckListBox, now all mouse events are ok.
git-svn-id: trunk@26523 -
2010-07-08 11:16:03 +00:00
zeljko
a1c909bffc Qt: postpone mouse release event in TQtListWidget when it's lclobject is TListView class.
git-svn-id: trunk@26518 -
2010-07-08 08:38:30 +00:00
zeljko
afba07ab92 Qt: postponed mouserelease in TQtTreeWidget, fixes #16712.
TQtAbstractScrollArea: overrided GetContainerWidget(),getClientOffset(), getClientBounds()

git-svn-id: trunk@26517 -
2010-07-08 07:46:35 +00:00
mattias
6b13c586b6 qt intf: clean up
git-svn-id: trunk@26514 -
2010-07-07 20:30:22 +00:00
zeljko
e1c4c31217 Qt: fixed bug in TQtWidgetSet.ScrollWindowEx().Wrong argument passed to TQtWidget.scroll()
git-svn-id: trunk@26509 -
2010-07-07 16:31:12 +00:00
sekelsenmat
29d3c92962 Improvements to the wince menu code
git-svn-id: trunk@26506 -
2010-07-07 14:16:23 +00:00
zeljko
d2fd11cca9 Gtk2: fixed LTOR & RTOL for complex widgets (listviews etc). fixes #16865
git-svn-id: trunk@26505 -
2010-07-07 14:02:49 +00:00
mattias
81f8e13285 gtk2 intf: do not send LM_SETFOCUS to active form to prevent resetting ActiveControl
git-svn-id: trunk@26500 -
2010-07-07 12:18:20 +00:00
sekelsenmat
e2ed529beb Fixes setting top-level caption and click events for atKeyPadDevices under wince
git-svn-id: trunk@26489 -
2010-07-06 15:39:57 +00:00
zeljko
02e440173b Gtk2: fixed wrong result from GetTabRect. fixes #16459
git-svn-id: trunk@26488 -
2010-07-06 14:54:52 +00:00
sekelsenmat
7ceff41935 Activates support for top-aligned tabs for TPageControl under wince
git-svn-id: trunk@26483 -
2010-07-06 12:44:49 +00:00
paul
c371775065 qt: implement native cut, copy, paste for edit and descendants
git-svn-id: trunk@26481 -
2010-07-06 11:53:10 +00:00
paul
321a2f3d30 lcl, win32, wince: use system cut, copy, paste operations for TEdit control and descendants
git-svn-id: trunk@26480 -
2010-07-06 11:43:02 +00:00
zeljko
47760320eb Qt: add X11 selection lock for open filenames too (in case of QT_NATIVE_DIALOGS).
git-svn-id: trunk@26479 -
2010-07-06 09:35:05 +00:00
zeljko
d3af90a31d Qt: added X11 selection lock,so we don't ask QMimeData when selection changes in case of native dialogs.fixes #16625
git-svn-id: trunk@26478 -
2010-07-06 09:27:17 +00:00
sekelsenmat
fd89723591 Fixes wince listview column width
git-svn-id: trunk@26476 -
2010-07-05 20:35:23 +00:00
sekelsenmat
49396fee36 Fixes arm-wince compilation
git-svn-id: trunk@26475 -
2010-07-05 20:10:39 +00:00
sekelsenmat
06d9c193a5 Large update to wince listview
git-svn-id: trunk@26474 -
2010-07-05 20:00:54 +00:00
dmitry
4b6492764d win32: updated Win7 opensave dialog library dir selection. fix #16797
git-svn-id: trunk@26471 -
2010-07-05 13:50:08 +00:00
zeljko
1cb4bc91ba Gtk2: formatting
git-svn-id: trunk@26461 -
2010-07-04 16:10:30 +00:00
paul
fe54310b0f lcl: introduce new widgetset functions for rubberband creation and moving, implement them for win32, qt and gtk2
git-svn-id: trunk@26446 -
2010-07-03 15:25:36 +00:00
zeljko
ef1accc0b0 Qt: do not set taskbar rules for mdichild forms.
git-svn-id: trunk@26445 -
2010-07-03 15:07:38 +00:00
zeljko
97298eab5c Qt: implemented ShowInTaskbar under X11. fixes #16832.
Gtk2: fixed compilation under linux.

git-svn-id: trunk@26444 -
2010-07-03 14:51:15 +00:00
zeljko
3a5c21dea4 Qt: initialize TXClientMessageEvent with zero bytes.
git-svn-id: trunk@26443 -
2010-07-03 13:57:36 +00:00
zeljko
47f86d679e Qt: added X11 helper routine SetSkipX11Taskbar() to implement ShowInTaskbar property.
git-svn-id: trunk@26442 -
2010-07-03 13:18:49 +00:00
paul
a04f5338a4 gtk2: fix compilation under windows
git-svn-id: trunk@26441 -
2010-07-03 12:15:44 +00:00
paul
195d1c5013 win32: improve DrawDefaultDockImage - use it with winxp too since it looks prettier, prevent window and application deactivation
git-svn-id: trunk@26439 -
2010-07-03 09:20:13 +00:00
zeljko
7add8e0cd5 Gtk2: formatting
git-svn-id: trunk@26438 -
2010-07-03 08:40:57 +00:00
zeljko
358af10c61 Gtk2: fixed caret blinking with gtk2 >= 2.18
git-svn-id: trunk@26431 -
2010-07-02 22:04:05 +00:00
zeljko
db22564763 Gtk2: fixed mouse capture locks. fixes #15271
git-svn-id: trunk@26430 -
2010-07-02 21:19:26 +00:00