Commit Graph

167 Commits

Author SHA1 Message Date
Juha
0bc32656ed LazUtils, LCL: Move LCLProc.CompareRect() -> GraphMath.SameRect(). Deprecate LCLProc.CompareRect(). 2023-07-03 16:54:10 +03:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
Juha
eac9c6e5c6 IdeConfig: Remove LCL dependency from IdeConfig package. Add comments in uses sections, helps locate dependencies. 2023-06-11 20:34:36 +03:00
Juha
73bf0767a7 Designer: Simplify and fix minor bugs. Use psSolid for selection line. Issue #40295, patch by n7800. 2023-06-05 16:01:26 +03: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
d99c3b888f Designer: Move code from TComponentPalette.CheckComponentDesignerVisible to function ComponentIsInvisible.
git-svn-id: trunk@64163 -
2020-11-30 19:42:22 +00:00
juha
7a87464490 Designer: Fix moving multiple controls with keyboard after deselecting one. Issue #35255, idea from ptvs.
git-svn-id: trunk@62881 -
2020-04-04 10:56:40 +00:00
juha
1cefe1d894 IDE: Formatting.
git-svn-id: trunk@57120 -
2018-01-19 12:12:42 +00:00
mattias
50a915579e IDE: designer: fixed store selection bounds for mediator, patch from Anton
git-svn-id: trunk@56281 -
2017-11-04 14:54:43 +00:00
ondrej
bfec6d9c02 IDE: designer: tune up r56001 #c4eba5ff15, issue #32397
git-svn-id: trunk@56003 -
2017-10-09 09:13:50 +00:00
ondrej
c4eba5ff15 IDE: designer: High-DPI: selection grabber. Issue #32397
git-svn-id: trunk@56001 -
2017-10-09 07:08:51 +00:00
ondrej
8ea54156de IDE: update edit menu for designer. Issue #31519
git-svn-id: trunk@54382 -
2017-03-10 15:09:31 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
juha
8ed63aff69 IDE: Update OI properly when closing a project. Issue #31153.
git-svn-id: trunk@53764 -
2016-12-22 22:29:17 +00:00
juha
fa6c3b0d21 Designer, IdeIntf: Update Object Inspector tree after adding/deleting components. Optimize excess updates. Issue #30033
git-svn-id: trunk@52230 -
2016-04-21 20:40:02 +00:00
juha
6d991af10c Formatting, comment
git-svn-id: trunk@52229 -
2016-04-21 20:40:00 +00:00
juha
ce7000ecf8 Designer: Improve the fix for #24386. Prevent Copy/Paste of PageControl only with GTK2 bindings.
git-svn-id: trunk@52096 -
2016-04-01 09:12:15 +00:00
juha
4b11aaff8c Designer: Prevent copying/cutting TCustomTabControl and TCustomPage. Can lead to halt or crash.
git-svn-id: trunk@51950 -
2016-03-15 11:22:28 +00:00
mattias
415968937e IDE: less hints
git-svn-id: trunk@49610 -
2015-08-07 16:36:17 +00:00
juha
2f54ed431e Designer: IDEComponentsMaster class proposition for manipulating components (now with single method). r49372 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49529 -
2015-07-12 23:05:13 +00:00
juha
2ca8f21e64 IdeIntf: Improve identification of designer forms. r49352,r49367,r49371,r49510 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49528 -
2015-07-12 23:05:08 +00:00
mattias
0c578bd921 IDE: designer: keep resizing with old bounds as long bounds stay the same (e.g. not changed by OI)
git-svn-id: trunk@48747 -
2015-04-13 10:32:48 +00:00
mattias
f07f7ec8a7 IDE: designer: simplified TSelectedControl.SetFormRelativeBounds
git-svn-id: trunk@48745 -
2015-04-13 10:16:29 +00:00
mattias
21ab8152c3 IDE: designer: simplified TSelectedControl
git-svn-id: trunk@48743 -
2015-04-13 10:08:30 +00:00
mattias
05d3490005 IDE: designer: simplified TSelectedControl.SetBounds
git-svn-id: trunk@48741 -
2015-04-13 10:04:26 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
mattias
dab5d2ef91 IDE: designer: resize multiple controls: round mathematically instead of always down, needed for increase size by 1
git-svn-id: trunk@47900 -
2015-02-19 12:34:47 +00:00
mattias
ef2ddfca01 IDE: designer: initialize FIsNonVisualComponent, bug #27502
git-svn-id: trunk@47898 -
2015-02-19 12:07:14 +00:00
mattias
b69bf50553 IDE: designer: clean up undo code
git-svn-id: trunk@46476 -
2014-10-08 17:46:51 +00:00
mattias
5656db6508 IDE: indentiation
git-svn-id: trunk@45217 -
2014-05-28 23:12:11 +00:00
mattias
8844f15f3a IDE: designer mediator: fixed non visual components selection and moving, patch #26234
git-svn-id: trunk@45216 -
2014-05-28 22:43:19 +00:00
mattias
d599292ff9 IDE: designer: snap to nearest grid, instead of form grid, bug #18579
git-svn-id: trunk@44733 -
2014-04-14 20:22:29 +00:00
mattias
baabe96213 IDE: undo for designer, patch #22584
git-svn-id: trunk@44156 -
2014-02-18 21:46:36 +00:00
mattias
51d0aff5e3 IDE: clean up
git-svn-id: trunk@40695 -
2013-04-02 10:11:26 +00:00
mattias
251a4c02ff IDE: designer: fixed csDesignFixedBounds
git-svn-id: trunk@40153 -
2013-02-03 11:51:16 +00:00
juha
22c9f39a9c Designer: formatting
git-svn-id: trunk@39089 -
2012-10-15 10:42:04 +00:00
juha
a4875743e3 Designer: TControlSelection method optimizations by Zex Atilla
git-svn-id: trunk@39063 -
2012-10-13 09:13:51 +00:00
juha
50b8a2fee5 Designer: formatting
git-svn-id: trunk@38466 -
2012-08-31 16:19:43 +00:00
mattias
0fa5af44a5 IDE: designer selection: emit OnChange before OnChangeProperties
git-svn-id: trunk@37452 -
2012-05-29 11:10:04 +00:00
mattias
fb9c855546 IDEIntf: added TObjectInspectorDlg.EnableHookGetSelection, IDE: designer selection is now stored in TheControlSelection, as OI does not always exist
git-svn-id: trunk@37450 -
2012-05-29 09:42:07 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
paul
41160c3a52 designer: disable snapping when Alt key is pressed (issue #0001974)
git-svn-id: trunk@26910 -
2010-07-30 08:17:49 +00:00
paul
9999081da8 lazarus: extract some classes from propedits to propeditutils by Ask (issue #0015531)
git-svn-id: trunk@23472 -
2010-01-17 07:12:12 +00:00
paul
e4cdead4c8 ide, ideintf: component treeview improvements
- add menu item to add collection items for TCollection and TCollectionItem
  - better find selected persistent
  - fix all calls of GetDesignerForm (no need to cast to TComponent) so if persistent changes then IDE also sets modified state

git-svn-id: trunk@23163 -
2009-12-17 14:05:01 +00:00
mattias
c64b628c67 IDE: fixed painting datamodules
git-svn-id: trunk@23103 -
2009-12-12 15:51:01 +00:00
paul
835f394fbd ide: allow deletion of TCollectionItems (todo: don't allow deletion of TCollection)
git-svn-id: trunk@22919 -
2009-12-02 10:38:03 +00:00
mattias
f246b17923 IDE: controlselection: using FreeNotification opRemove for selected components
git-svn-id: trunk@22627 -
2009-11-16 15:12:14 +00:00
mattias
e6d6a54eb9 reduced warnings
git-svn-id: trunk@22382 -
2009-11-02 10:47:24 +00:00
paul
72ca561bdb designer: reduce debug output
git-svn-id: trunk@21925 -
2009-09-30 03:41:38 +00:00