Commit Graph

36 Commits

Author SHA1 Message Date
juha
ef3f193b45 LCL: Make menu items call OnClick correctly when moving mouse sideways, on GTK2 and QT. (On Windows works). Patch from August Klein, issue #17565
git-svn-id: trunk@30426 -
2011-04-22 09:09:28 +00:00
juha
866731d664 LCL: Make GTK2 menu items call OnClick even if they have sub-items. Patch from August Klein, issue #17565
git-svn-id: trunk@30369 -
2011-04-18 11:56:09 +00:00
juha
5d796b9cbb LCL: Remove OldShortCut from SetShortCut parameters and add the real shortcut keys there.
git-svn-id: trunk@29872 -
2011-03-16 16:53:36 +00:00
juha
4e95f6a390 LCL: Show menu shortcuts also when they are sequencial keys combinations (like Ctrl+Q, B)
git-svn-id: trunk@29853 -
2011-03-15 14:05:55 +00:00
paul
2d658d768b gtk2: make TPopupMenu.Popup synchronous
git-svn-id: trunk@29831 -
2011-03-14 02:54:06 +00:00
paul
eaa88d5d11 gtk2: revert accidentally committed gtk2wsmenus changes
git-svn-id: trunk@29830 -
2011-03-14 02:53:10 +00:00
paul
f0bce37226 interfaces: remove AssignSelf method
git-svn-id: trunk@29827 -
2011-03-14 02:17:55 +00:00
marc
46ebaabc7a gtk-splitup: merged gtk source into gtk2, removed gtk1 ifdefs
git-svn-id: trunk@26012 -
2010-06-09 23:01:52 +00:00
zeljko
e46700c2e1 Gtk2: do not trigger OnClick() on mouseover for menu subitems parents. fixes #7215
git-svn-id: trunk@25485 -
2010-05-17 20:51:44 +00:00
mattias
484a5efedb gtk2 intf: fixed TGtk2WSMenu.SetBiDiMode checking if HandleAllocated
git-svn-id: trunk@25193 -
2010-05-04 20:28:05 +00:00
mattias
1370bedf98 gtk2 intf: Add Bidi to Menus, bug #16387
git-svn-id: trunk@25174 -
2010-05-04 09:58:30 +00:00
zeljko
311af64daa Gtk2: give full control to LCL over radio menu items.
git-svn-id: trunk@24187 -
2010-03-24 10:14:37 +00:00
zeljko
7b2852cad0 Gtk2: fixed bug with gtk menu radio buttons which doesn't take autocheck param into account.
git-svn-id: trunk@24183 -
2010-03-23 16:07:51 +00:00
zeljko
46ac431f2b Gtk2: fix bug when root menu item without sub menu needs to be clicked twice until OnClick() triggers. fixes #15986
git-svn-id: trunk@24169 -
2010-03-22 14:18:59 +00:00
paul
b67e10007a gtk2: apply patch by cobines which improves menu icon positioning (issue #0015565)
git-svn-id: trunk@24004 -
2010-03-15 04:15:11 +00:00
paul
75c0134975 gtk2: fix menu item spacing for menus with images based on patch of cobines (issue #0015565)
git-svn-id: trunk@23989 -
2010-03-14 11:04:35 +00:00
paul
405bc268f5 gtk, gtk2: handle situations when popup menu has been inserted into main menu submenu (remaining part of issue #0014144)
git-svn-id: trunk@20862 -
2009-07-15 07:31:18 +00:00
paul
9edbd4c618 gtk2: remove checkbox from menu item if Image and Check are not needed
git-svn-id: trunk@20195 -
2009-05-25 09:37:04 +00:00
mattias
3f95284e56 gtk2 intf: removed gtk1 workaround for TmenuItem check items, bug #13741
git-svn-id: trunk@20049 -
2009-05-19 13:28:26 +00:00
paul
98bb8821bd gtk: cleanup
git-svn-id: trunk@20017 -
2009-05-18 01:30:00 +00:00
mattias
6383c1a4a7 gtk2 intf: menu items, radioitem: not send LM_ACTIVATE when unchecking, bug #13733
git-svn-id: trunk@20015 -
2009-05-17 20:03:07 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
cef5fc775d gtk, gtk2: port menu item fix to the gtks
git-svn-id: trunk@18583 -
2009-02-05 15:09:11 +00:00
paul
565ee9773a widgetsets: use cLineCaption instead of '-' for menus
wince: port the same fix as for win32 (not tested)

git-svn-id: trunk@18582 -
2009-02-05 15:05:19 +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
paul
6c6dd13642 gtk2: define use of 2.8 version by default
git-svn-id: trunk@17306 -
2008-11-10 04:34:24 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
paul
30d1e0adcc set application hint when user selects menu items:
- TMenuItem.IntfDoSelect
- win32, qt, gtk2 implementation

git-svn-id: trunk@15002 -
2008-04-29 07:06:44 +00:00
mattias
5b11d49d7e clean up
git-svn-id: trunk@14996 -
2008-04-28 07:11:35 +00:00
paul
dbddffe2cb lcl: bidi mode patch from Ido with modifications
git-svn-id: trunk@14991 -
2008-04-27 14:24:22 +00:00
sekelsenmat
6b91ca9e45 Fallbacks to old code in new shortcut code.
git-svn-id: trunk@14843 -
2008-04-16 00:27:57 +00:00
sekelsenmat
f54bea2fc5 Separates gtk1 and gtk2 menu item code. Started implementing shortcuts for gtk2 menu items, but was unable to finish it. It didn't work before, so commited anyway because the new code is at least cleaner.
git-svn-id: trunk@14842 -
2008-04-16 00:22:08 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
marc
897fe72887 * Fixes some typos and changes uses clause cases
git-svn-id: trunk@5317 -
2004-03-17 19:59:56 +00:00
marc
34c1c7f47b * Interface reconstruction. Created skeleton units, classes and wscontrols
git-svn-id: trunk@5311 -
2004-03-17 00:34:37 +00:00