Commit Graph

223 Commits

Author SHA1 Message Date
Juha
0aa083ac3f IdeIntf: Cleanup. 2024-03-08 23:06:32 +02:00
Juha
790df77a21 IDE,IdeIntf: Simplify code passing keys from Designer to OI. Debug why works wrong with GT5. Issue #10155. 2024-03-08 09:59:35 +02:00
Juha
cc4760393b Reserve "On..." prefix for events and name functions differently. 2023-07-25 11:07:57 +03:00
Juha
dc2902bd6e IDE, IdeIntf: Add multi-word search for Object inspector. Refactor and reuse code. Issue #40270, patch by n7800. 2023-05-21 18:19:55 +03:00
Juha
f99bd70b72 Improve scaling of DateTimePicker. Leave GetDetailSize in places which are not fully tested yet. 2023-04-29 19:44:23 +03:00
Juha
c14934764c LCL: Call TThemeServices.GetDetailSizeForPPI with proper arguments. Revert 1138d26280. 2023-04-27 17:23:33 +03:00
Juha
870e1c8e71 Menu designer: Forward typed keys from menu editor to OI. Add missing GPL headers. Issue #34231. 2023-04-22 15:17:20 +03:00
Juha
5f4aa96422 LazControls, FilterEdits: Improve setting the filter programmatically. Invalidate after properties change. 2022-12-22 20:50:05 +02:00
Marc
f67149d196 Ideintf: check parent row interface when checking if TInterfacePropertyEditor is expandable 2021-09-27 20:12:45 +02:00
Basile Burg
45a590ed0b Revert partly "Add HookGetCheckboxForBoolean handler in OI only once."
This reverts partly commit 943e4e4ff7.
2021-09-26 21:07:43 +03:00
Basile Burg
0b368ce10d Revert "IdeIntf: Synchronize TTIPropGrid checkbox for bool props. Issue #39378, patch by Basile.B."
This reverts commit d3c2bb5ce6.
2021-09-26 16:36:52 +02:00
Juha
d3c2bb5ce6 IdeIntf: Synchronize TTIPropGrid checkbox for bool props. Issue #39378, patch by Basile.B. 2021-09-20 17:56:37 +03:00
Maxim Ganetsky
d47af6022a IDEIntf: Reverted part of 79519f5acc (Improve an exception error message in OI for issue #35322).
This message improvement didn't help in case of issue #35322 ("Access violation" became "Access violation with value "(True)"") and broke error messages in object inspector in case the entered name there is not a valid Pascal identifier.
2021-08-03 00:41:52 +03:00
michl
5a21cedcbb IdeIntf: Disable copy/paste of TAction in Object Inspector tree because it does not work for some reason. Issue #19530.
git-svn-id: trunk@65354 -
2021-07-03 08:31:39 +00:00
juha
3fb4c2c8a7 IdeIntf: Disable copy/paste of TMenuItem in Object Inspector tree because it does not work for some reason. Issue #19530.
git-svn-id: trunk@65341 -
2021-07-02 18:52:02 +00:00
michl
a2d9e364aa IDE: Workaround to refresh values of CollectionPropertyEditor when control of same class is selected. Issue #38910
git-svn-id: trunk@65134 -
2021-05-25 20:51:17 +00:00
mattias
39035d597a IDEIntf: objectinspector: fixed frreing not used prop editors
git-svn-id: trunk@65013 -
2021-04-17 11:34:48 +00:00
juha
d608622e30 IdeIntf: Reduce calls to UpperCase() and LowerCase().
git-svn-id: trunk@64548 -
2021-02-12 10:26:41 +00:00
juha
077ebbe494 Optimise string manipulation. Reduce calls to Copy().
git-svn-id: trunk@64527 -
2021-02-11 14:08:24 +00:00
juha
e6d96156ec BuildIntf, IdeIntf, LazUtils: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64464 -
2021-02-05 11:28:07 +00:00
juha
b5423bfb19 IdeIntf: Refresh OI's component TreeView also when it is not initially open.
git-svn-id: trunk@64433 -
2021-01-29 14:52:03 +00:00
juha
33cb0bd3a6 IdeIntf: Remember the expanded/collapsed state in OI's ComponentTree when changing designer form. Issue #33464.
git-svn-id: trunk@64313 -
2020-12-31 12:37:14 +00:00
juha
b4fc035018 Restore the "const" removed in r64300 #943e4e4ff7. Affected 3rd party components.
git-svn-id: trunk@64312 -
2020-12-31 10:57:48 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
943e4e4ff7 IdeIntf: Remove "const" from an event. Add HookGetCheckboxForBoolean handler in OI only once.
git-svn-id: trunk@64300 -
2020-12-29 22:47:34 +00:00
juha
deba76613b IdeIntf, Designer: Improve deleting components from OI's tree. Make a special case for PairSplitterSide. Issue #38235.
git-svn-id: trunk@64254 -
2020-12-20 14:46:02 +00:00
juha
14d83904c3 IdeIntf: Do not autoexpand ComponentTree in OI after component delete or ZOrder change. Issue #37434.
git-svn-id: trunk@64138 -
2020-11-15 11:41:43 +00:00
juha
9fe47fd5a6 IdeIntf: Do not autoexpand ComponentTree in OI after a component is added. Issue #33464.
git-svn-id: trunk@64133 -
2020-11-13 21:47:19 +00:00
juha
1945f8b61d IDE: In SearchResultsView replace PageControl with ExtendedNotebook which allows reordering tabs. Rename SearchAgainButton -> NewSearchButton.
git-svn-id: trunk@64038 -
2020-10-17 16:19:15 +00:00
juha
c83c7f8279 IdeIntf: Simplify hint handling in TOICustomPropertyGrid.MouseMove a little. Add comments.
git-svn-id: trunk@64029 -
2020-10-16 19:44:46 +00:00
juha
8088c1378b IdeIntf: Improve a comment about hint fonts added in previous commit.
git-svn-id: trunk@64027 -
2020-10-16 12:53:32 +00:00
juha
fa76f4f43b IdeIntf: In OI grid show the name/value in a hint if it does not fit. The "Show Hint" setting now affects only long descriptions. Issue #37901.
git-svn-id: trunk@64026 -
2020-10-16 12:01:17 +00:00
ondrej
0e850a7b51 IDE: object inspector: use font for default row height calculation - higher to match old value
git-svn-id: trunk@63969 -
2020-10-08 07:08:43 +00:00
ondrej
999954fab8 IDE: object inspector: use font for default row height calculation
git-svn-id: trunk@63968 -
2020-10-08 06:41:08 +00:00
juha
5dbd8cdf67 IdeIntf: Do not undo property editor without paRevertable in Object Inspector. Issue #0037207, patch from Sven Barth.
git-svn-id: trunk@63437 -
2020-06-24 10:07:56 +00:00
juha
d8c0fef5d2 IdeIntf: Formatting.
git-svn-id: trunk@63274 -
2020-06-02 06:56:46 +00:00
michl
917aadc2e0 ObjectInspector: Don't clear CompFilterEdit in SetSelection or it will always select the root note in Application.OnIdle. Related to r37349 #2d53c6ccb3. Issue #37149.
git-svn-id: trunk@63242 -
2020-05-28 21:49:21 +00:00
juha
d14e99f26b IdeIntf, BuildIntf, Packager: Clean up uses sections, adjust used units.
git-svn-id: trunk@62800 -
2020-03-23 20:33:04 +00:00
juha
5a0a107a61 IdeIntf: Minor optimization, use hard typecast when appropriate.
git-svn-id: trunk@62774 -
2020-03-18 18:54:21 +00:00
juha
79519f5acc IdeIntf: Improve an exception error message in OI for issue #35322. Rename variables to avoid confusion.
git-svn-id: trunk@62091 -
2019-10-19 11:17:35 +00:00
juha
5ff78d5320 Designer: Support Undo-action for changed Parent of a component. Issue #26815.
git-svn-id: trunk@61996 -
2019-10-05 19:47:24 +00:00
juha
3bb6b19392 IdeIntf: Allow F12 and other hotkeys in Object Inspector when the selection Combobox is active. Issue #29335, patch from ptvs.
git-svn-id: trunk@60745 -
2019-03-22 09:36:22 +00:00
juha
fcdd4db4dc IdeIntf: Fix coordinates for TTIPropertyGrid.OnPropertyHint. Issue #34689, patch from Zhengji.
git-svn-id: trunk@60708 -
2019-03-17 09:16:48 +00:00
juha
6921b150ee IDE: Add checkbox to show/hide property filter in object inspector. Issue #35043, patch from ptvs.
git-svn-id: trunk@60406 -
2019-02-11 16:35:11 +00:00
juha
7b640a0f3c Object Inspector: Formatting.
git-svn-id: trunk@59804 -
2018-12-12 13:51:55 +00:00
juha
c8545b8956 Object Inspector: Prevent component-tree hiding the component-values pane. Issue #34562.
git-svn-id: trunk@59803 -
2018-12-12 13:51:49 +00:00
juha
78f99157f2 LCL: Rename function NewLineMI back to NewLine for Delphi-compatibility. Issue #34667.
git-svn-id: trunk@59760 -
2018-12-09 15:37:15 +00:00
martin
8d45fef409 ObjectInspector: Reduce Painting in OI-Grid for smother scrolling. (ShowScrollBar in UpdateScrollBar let to a full Invalidate on each Paint). Unnecessary moving of FCurrentEdit (TWinControl), while outside visible area also increases InvalidationRect after ScrollWindowEx.
git-svn-id: trunk@59624 -
2018-11-22 10:27:04 +00:00
martin
075d701aad ObjectInspector: Make OI-Grid.Paint respect Canvas.ClipRect
git-svn-id: trunk@59623 -
2018-11-22 10:22:41 +00:00
martin
8765ceb4f1 ObjectInspector: Reduce calls to ComponentTree.Invalidate (changing the positon of FCurrentButton or FCurrentEdit in the OI-Grid can trigger a call to Resize of the Form, even so the Size did not change / Win10)
git-svn-id: trunk@59622 -
2018-11-22 10:21:27 +00:00