Commit Graph

1313 Commits

Author SHA1 Message Date
juha
e267057612 Menu designer: adjust visibility.
git-svn-id: trunk@51615 -
2016-02-13 13:09:30 +00:00
juha
8536adb457 New files refactored from MenuShadows.
git-svn-id: trunk@51614 -
2016-02-13 12:58:47 +00:00
juha
c440bfd8e0 Menu designer: Cleanup. Move few nested functions to methods.
git-svn-id: trunk@51552 -
2016-02-09 12:52:35 +00:00
juha
ad856b47a0 Menu designer: Set Parent of ShadowMenu in a right place.
git-svn-id: trunk@51551 -
2016-02-09 12:52:30 +00:00
maxim
7a2e8400dc IDE: simplified menueditor i18n
git-svn-id: trunk@51548 -
2016-02-08 23:08:55 +00:00
juha
d3c7bafc88 Menu designer: Move GUI related classes and functions to MenuEditorForm.
git-svn-id: trunk@51547 -
2016-02-08 21:47:25 +00:00
juha
4f0a8f60aa Menu editor: Fix indentation.
git-svn-id: trunk@51546 -
2016-02-08 21:47:24 +00:00
juha
969f23b12f Menu designer: Free the designer correctly. The GUI form is not a master any more.
git-svn-id: trunk@51545 -
2016-02-08 21:47:18 +00:00
juha
3f1790264f Menu designer: Separate GUI from logic better. Reduce dependencies. Use a new TMenuDesignerBase.
git-svn-id: trunk@51542 -
2016-02-08 20:00:31 +00:00
juha
b406073c5d New files refactored out from MenuShadows.
git-svn-id: trunk@51541 -
2016-02-08 19:55:38 +00:00
maxim
a83a7e46fd Menu designer: strings cleanup
git-svn-id: trunk@51533 -
2016-02-06 18:44:09 +00:00
juha
324fc443c5 Menu designer: Reduce circular references from MenuShadows to MenuDesigner.
git-svn-id: trunk@51497 -
2016-02-04 10:51:46 +00:00
juha
627d6ce032 Menu designer: Refactoring, formatting. Reduce nested functions in MenuShadows.
git-svn-id: trunk@51496 -
2016-02-04 10:51:40 +00:00
juha
23e3213c00 Use the new unit MenuShortcuts in MenuEditorForm and MenuShadows.
git-svn-id: trunk@51492 -
2016-02-03 20:17:28 +00:00
juha
d8eb3a2d5c Menu designer: Remove useless code.
git-svn-id: trunk@51491 -
2016-02-03 20:17:27 +00:00
juha
cf1e8aa093 Menu designer: Refactoring, reduce cyclic dependency between MenuShadows and MenuDesigner.
git-svn-id: trunk@51490 -
2016-02-03 20:17:26 +00:00
juha
233b5770d2 Menu designer: Reduce nested functions in TMenuDesigner.GetPopupAssignmentCount.
git-svn-id: trunk@51489 -
2016-02-03 20:17:24 +00:00
juha
b205f54650 Menu designer: Improve variable usage and visibility in TMenuDesigner.GetItemCounts.
git-svn-id: trunk@51488 -
2016-02-03 20:17:19 +00:00
juha
52af02512e Menu designer: New unit MenuShortcuts containing code refactored out from MenuShadows.
git-svn-id: trunk@51487 -
2016-02-03 20:14:21 +00:00
jesus
f4900d9e51 IDE, fix compiling and some corruption on logging when VerboseMenuIntf directive is enabled
git-svn-id: trunk@51475 -
2016-02-02 06:19:08 +00:00
juha
fe93606ec3 Menu editor: Improve painting of menu items and their chevron graphs. Issue #29480, patch from Howard Page-Clark.
git-svn-id: trunk@51409 -
2016-01-25 14:44:01 +00:00
ondrej
b69d0962f6 designer: forward unhandled keys from designer to OI. Issue #29488
git-svn-id: trunk@51398 -
2016-01-24 10:58:59 +00:00
ondrej
cb844b833c ide: correctly size translated resourcestring labels in menueditor. Issue #29468, patch by Howard Page-Clark
git-svn-id: trunk@51376 -
2016-01-22 11:52:15 +00:00
juha
83ecb7738d Menu designer: Improve texts in resourcestrings. Issue #29411, patch from Péter Gábor.
git-svn-id: trunk@51311 -
2016-01-18 15:13:42 +00:00
ondrej
e6fe690982 IDE: menu designer: make "delete menu with subitems" dialog simpler
git-svn-id: trunk@51305 -
2016-01-16 20:53:54 +00:00
juha
8faa0fe7f0 Menu editor: organize uses sections.
git-svn-id: trunk@51299 -
2016-01-15 12:37:31 +00:00
ondrej
68078c15d0 ide: menu designer: remove scroller panel and use scroll box. Issue #29369, #29399
git-svn-id: trunk@51298 -
2016-01-15 10:23:33 +00:00
ondrej
488a24c48b IDE: menu designer: improve resourcestrings. By Howard Page-Clark
git-svn-id: trunk@51263 -
2016-01-12 23:09:39 +00:00
ondrej
2874f98ddf IDE: menu designer: prevent AV
git-svn-id: trunk@51254 -
2016-01-11 17:09:36 +00:00
ondrej
d1790be9f0 IDE: menu designer:
- The Checkmark and RadioItem dialog has been removed.
- A new groupbox in the side panel reports on GroupIndex values for each submenu (if relevant).
- Unnecessary resourcestrings in the original patch have been removed.
- Fake insertion entry has been implemented with self-descriptive texts and removal of the patterned background.
Issue #29205, by Howard Page-Clark

git-svn-id: trunk@51252 -
2016-01-11 15:04:44 +00:00
ondrej
a4cd23f7ac IDE: menu designer: simplify delete dialog
git-svn-id: trunk@51249 -
2016-01-11 13:38:19 +00:00
ondrej
61b8894157 IDE: menueditor improvements:
- allow empty menus
- remove menu start-up prompt

git-svn-id: trunk@51248 -
2016-01-11 12:29:01 +00:00
ondrej
f3ec76381d MenuDesigner: new method IsUpdate for MenuDesigner (related to BeginUpdate and EndUpdate) to prevent IDE crash. Fix for issue #29362. (merged from sparta, by hnb)
git-svn-id: trunk@51241 -
2016-01-10 20:58:45 +00:00
juha
d5272def5e MenuDesigner: BeginUpdate and EndUpdate methods to prevent AV. Related changes in menushadows.pp inside method TShadowMenu.DeleteChildlessShadowAndItem
(operation ownsIt.RemoveComponent(mi) was the starting point for many TMenuDesigner.OnDesignerSetSelection calls, especially visible with Sparta package.
During execution OnDesignerSetSelection, caller object TShadowMenu was destroyed after RemoveComponent operation, before end of DeleteChildlessShadowAndItem).
Issue #29328, from Maciej.

git-svn-id: trunk@51212 -
2016-01-06 15:16:20 +00:00
ondrej
d0db90af50 ide, designer: handle next/prior editor commands in docked designer. Bug #29038
git-svn-id: trunk@51158 -
2016-01-03 13:53:22 +00:00
ondrej
7fcc772645 designer, ideintf: rename TPropHookType htMouse* to htDesignerMouse*
git-svn-id: trunk@51156 -
2016-01-03 13:35:38 +00:00
ondrej
cdfb590aee ideintf, designer: add MouseDown and MouseUp event handlers for designer
git-svn-id: trunk@51144 -
2016-01-03 12:06:07 +00:00
ondrej
00c6de89c7 designer: fix TJITForms.IsJITForm
git-svn-id: trunk@51136 -
2016-01-02 20:16:39 +00:00
ondrej
0ba709770d lcl, designer: add and use GetDesignerForm
git-svn-id: trunk@51133 -
2016-01-02 18:20:54 +00:00
ondrej
bcca492fd6 designer: unify menu editor PopupParent/PopupMode code with r51051 #175c0031c0
git-svn-id: trunk@51052 -
2015-12-27 13:23:11 +00:00
ondrej
874f07c4da designer: menudesigner: set PopupMode and PopupParent to ObjectInspector (or its parent form in case of docked environment). Remove fsStayOnTop as it is buggy
git-svn-id: trunk@51008 -
2015-12-23 13:41:44 +00:00
ondrej
4fbab4bd38 designer: set TCheckMarkDialog PopupMode to pmAuto.
git-svn-id: trunk@50993 -
2015-12-22 20:53:51 +00:00
juha
5beb73daf3 New Menu Designer by Howard Page-Clark. Issue #29205.
git-svn-id: trunk@50992 -
2015-12-22 19:17:29 +00:00
mattias
d4675305e2 IDEIntf: deprecated ChildsAsSubMenu, typo
git-svn-id: trunk@50816 -
2015-12-15 15:34:01 +00:00
mattias
bf5fbcb10a IDE: designer: fixed Change class dialog
git-svn-id: trunk@50351 -
2015-11-16 22:42:34 +00:00
mattias
9e47be687c IDE: less with-blocks for FPC 3.1.1
git-svn-id: trunk@50314 -
2015-11-12 10:24:07 +00:00
mattias
c6391b6a34 IDE: fixed Disable/EnableAutosizing debug designer form
git-svn-id: trunk@50180 -
2015-10-26 22:21:14 +00:00
mattias
9b0d4c01b6 IDE+LCL: debugging Disable/EnableAutoSizing
git-svn-id: trunk@50176 -
2015-10-26 21:34:11 +00:00
juha
79858e55f1 Designer: Improve AskCompNameDlg layout. Issue #28780.
git-svn-id: trunk@49988 -
2015-10-08 07:39:15 +00:00
mattias
2d873789da IDE: designer: implemented csDesignInteractive
git-svn-id: trunk@49803 -
2015-09-09 22:34:53 +00:00