Commit Graph

151 Commits

Author SHA1 Message Date
juha
c7510d07b7 IDE: ComponentPalette cleanup. Move MainBase reference from implementation to interface.
git-svn-id: trunk@47274 -
2014-12-31 20:36:26 +00:00
juha
9e3b5ca504 IDE: Use truely original pages and comps as reference when saving palette configuration.
git-svn-id: trunk@47261 -
2014-12-28 13:50:35 +00:00
juha
bd2c2fa3c4 IDE: Cleanup
git-svn-id: trunk@47257 -
2014-12-28 09:28:50 +00:00
giuliano
21c320f037 IDE: componentpalette.pas - workaround for Qt + minor fixes
git-svn-id: trunk@47255 -
2014-12-27 17:36:07 +00:00
juha
f32fbcaf5d IDE: Check for non-existent components when filling component palette. Prevents crash when a package has been uninstalled.
git-svn-id: trunk@47242 -
2014-12-24 22:02:01 +00:00
juha
2c2157ca92 IDE: minor tweak in component palette code.
git-svn-id: trunk@47232 -
2014-12-21 13:44:37 +00:00
juha
eac1654958 IDE: Improve component palette update calls on Windows.
git-svn-id: trunk@47220 -
2014-12-18 07:52:20 +00:00
juha
2186ba086d IDE: Force update for all component palette pages after changing configuration.
git-svn-id: trunk@47218 -
2014-12-17 23:27:25 +00:00
juha
651c16ed62 IDE: Explode a with-block in code creating component palette buttons. Revealed a bug with PopupMenu.
git-svn-id: trunk@47217 -
2014-12-17 23:27:23 +00:00
juha
6d84d67bba IDE: Fix crash in Component List when selecting a component from an uninitialized page. Issue #27174.
git-svn-id: trunk@47215 -
2014-12-17 23:27:14 +00:00
mattias
c66cfdb9b2 IDE: less hints
git-svn-id: trunk@47143 -
2014-12-08 21:45:05 +00:00
juha
cfdbbbb410 IDE: Do not trigger palette update with OnComponentVisibleChanged and OnPageVisibleChanged events. Will be triggered by other means.
git-svn-id: trunk@47140 -
2014-12-08 20:22:31 +00:00
juha
136a5214a6 IDE: Delay creation of palette component buttons until a page is selected.
git-svn-id: trunk@47130 -
2014-12-07 17:29:54 +00:00
juha
ae16efe8ac IDE: Store Index of a page in Pages into ComponentPage itself.
git-svn-id: trunk@47129 -
2014-12-07 17:29:53 +00:00
juha
f5a445a699 IDE: Remove an exception from TComponentPalette.AssignOrigCompsForPage. Can be triggered in some strange cases.
git-svn-id: trunk@47128 -
2014-12-07 17:29:51 +00:00
juha
df3f0370d6 IDE: Move ReAlignButtons logic to TComponentPage class.
git-svn-id: trunk@47127 -
2014-12-07 17:29:50 +00:00
juha
8deedb773e IDE: New TComponentPage class. Move some methods from TComponentPalette to it.
git-svn-id: trunk@47126 -
2014-12-07 17:29:49 +00:00
juha
35c07f3d3c IDE: Minor refactoring in TComponentPalette.OnScrollBoxResize.
git-svn-id: trunk@47125 -
2014-12-07 17:29:48 +00:00
juha
483871416f IDE: Call ReAlignButtons only for the active page at the end of UpdateNoteBookButtons.
git-svn-id: trunk@47115 -
2014-12-05 07:19:18 +00:00
juha
2c6049da98 IDE: Call ReAlignButtons in OnScrollBoxResize also during startup. Needed on Windows.
git-svn-id: trunk@47114 -
2014-12-05 07:19:07 +00:00
juha
d798261135 IDE: Align the buttons of current page again after palette configuration changed.
git-svn-id: trunk@47112 -
2014-12-04 23:29:05 +00:00
juha
96987c1d32 IDE: Less updates for the component palette during startup.
git-svn-id: trunk@47111 -
2014-12-04 23:29:03 +00:00
juha
149ad1651b IDE: More debug messages for component palette ReAlignButtons.
git-svn-id: trunk@47110 -
2014-12-04 23:29:01 +00:00
juha
be294a7bed IDE: fix a bug in component palette configuration.
git-svn-id: trunk@47109 -
2014-12-04 23:28:54 +00:00
juha
9f65b18ff8 IDE: Use a unique name for a method, SelectButton -> SelectAButton.
git-svn-id: trunk@47101 -
2014-12-04 17:12:19 +00:00
juha
69a98b68c7 IDE: Call ReAlignButtons in TComponentPalette.ActivePageChanged only when needed.
git-svn-id: trunk@47100 -
2014-12-04 17:12:10 +00:00
juha
4de7814bed IDE: remove a call to Application.ProcessMessages in TComponentPalette.CreateButtons. Not needed any more.
git-svn-id: trunk@47083 -
2014-12-04 10:18:42 +00:00
mattias
00ec38b2e0 IDE: component palette: fixed realign
git-svn-id: trunk@47079 -
2014-12-03 23:31:41 +00:00
mattias
3f081fac2d IDE: simplified
git-svn-id: trunk@47078 -
2014-12-03 23:06:39 +00:00
mattias
59f4935c70 IDE: clean up
git-svn-id: trunk@47077 -
2014-12-03 22:23:59 +00:00
juha
58df23696a IDE: Prevent adding a page with a name that already exists in component palette options.
git-svn-id: trunk@47076 -
2014-12-03 21:25:46 +00:00
juha
51cdfe8e79 IDE: Save component palette options correctly when palette is filtered by DataModule.
git-svn-id: trunk@47074 -
2014-12-03 17:57:02 +00:00
juha
cfcbe4b9c7 IDE: Update component palette correctly when icons are filtered by DataModule.
git-svn-id: trunk@47073 -
2014-12-03 17:57:00 +00:00
juha
1892eb35a8 IDE: refactoring, move local functions from UpdateNoteBookButtons to private methods.
git-svn-id: trunk@47072 -
2014-12-03 17:56:58 +00:00
juha
c0564de3f2 Debug messages for ComponentPalette.ActivePageChanged etc.
git-svn-id: trunk@47023 -
2014-11-28 15:04:19 +00:00
juha
a5164be292 Component palette: revert to a working TBaseComponentPage.UpdateVisible; There is still another problem when components are filtered.
git-svn-id: trunk@47012 -
2014-11-28 09:41:19 +00:00
mattias
bc0015e054 IDE: fixed hints
git-svn-id: trunk@47011 -
2014-11-27 21:41:53 +00:00
juha
c6ec72dd8a IDE: Store component objects to palette page cache lists for the sake of symmetry and possible future needs.
git-svn-id: trunk@47007 -
2014-11-27 20:31:39 +00:00
juha
76602fb2f4 IDE: Cache also user ordered pages in component palette, use it in UpdateVisible method.
git-svn-id: trunk@47005 -
2014-11-27 20:31:36 +00:00
juha
c7486b1bf9 IDE: Simplify component palette code, ComponentPage.Priority is not used. Rename a method.
git-svn-id: trunk@47004 -
2014-11-27 20:31:34 +00:00
juha
75c4a0f8df IDE: Change names of component palette cache methods.
git-svn-id: trunk@47003 -
2014-11-27 20:31:33 +00:00
juha
8b4eac20a9 IDE: Use the cache when writing component palette configuration.
git-svn-id: trunk@47001 -
2014-11-27 20:31:30 +00:00
juha
4ccb281acd IDE: In component palette, cache original component names by page name.
git-svn-id: trunk@47000 -
2014-11-27 20:31:28 +00:00
juha
ca628990f5 IDE, Component Palette options: Refactoring. Implement "Restore defaults". Don't change settings when user clicks Cancel.
git-svn-id: trunk@46871 -
2014-11-18 00:01:51 +00:00
mattias
1021bbb19a IDE: docking: restore: keep autosizing disabled during restore
git-svn-id: trunk@46859 -
2014-11-15 12:39:26 +00:00
juha
0f7c742f16 IDE: Return an accidentally removed assignment in component palette. Patch from Sandro Cumerlato.
git-svn-id: trunk@46844 -
2014-11-14 01:40:23 +00:00
juha
ffa4d82af8 IDE: Fix loading user configuration for component palette.
git-svn-id: trunk@46843 -
2014-11-14 01:40:21 +00:00
juha
084dd37ed0 IDE: Prevent a crash when adding a component palette tab with an existing name.
git-svn-id: trunk@46840 -
2014-11-14 01:40:07 +00:00
juha
57840d4dcb IDE: Properly implement component palette reordering. Loading the user defined order does not work yet.
git-svn-id: trunk@46829 -
2014-11-12 20:35:24 +00:00
juha
b2834f51cc IDE: Partly implement component palette reordering.
git-svn-id: trunk@46828 -
2014-11-12 20:35:22 +00:00