Commit Graph

179 Commits

Author SHA1 Message Date
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
juha
2bffa65585 IDE: Fix ActivePageIndex range check error in ComponentPalette. Issue #26887, patch from Sandro Cumerlato.
git-svn-id: trunk@46652 -
2014-10-23 16:34:43 +00:00
juha
9501ec563c IDE: Make mouse wheel change tabs in Component Palette. Issue #26887, patch from Sandro Cumerlato.
git-svn-id: trunk@46597 -
2014-10-18 20:59:40 +00:00
mattias
305b621aa8 IDE: component palette: disabled scrollbars for LCL carbon widgetset
git-svn-id: trunk@45192 -
2014-05-27 07:52:12 +00:00
mattias
d641fda803 IDE: debug for component palette, carbon needs implementation of ShowScrollInfo
git-svn-id: trunk@45094 -
2014-05-19 13:55:18 +00:00
mattias
98ff9b979e IDE: removed gtk2 workaround
git-svn-id: trunk@45084 -
2014-05-18 17:04:48 +00:00
zeljko
5983ef2173 IDE: removed LCLQt from define, resize of components scrollbox is correct now.
git-svn-id: trunk@45073 -
2014-05-18 11:16:44 +00:00
mattias
889c3dc94a IDE: componentpalette: less resizes
git-svn-id: trunk@45070 -
2014-05-18 09:17:43 +00:00
zeljko
ec6c085242 IDE: do friendly calculation for lclqt as it's already for lclgtk2.Removed hardcoded 30 px, use ScrollBox.VerticalScrollBar.Size instead.
git-svn-id: trunk@44965 -
2014-05-07 15:07:52 +00:00
martin
a8209f74ec LCL: TScrollBox, workaround for bug in gtk2 WS
git-svn-id: trunk@44846 -
2014-04-29 12:18:03 +00:00
martin
c9f12054e9 IDE: Component-palette, when wrapping lines order right first, then down / fix calculating buttons per Row. Patch by x2nie / See forum topic=24387
git-svn-id: trunk@44828 -
2014-04-27 20:35:04 +00:00
mattias
d841be9240 IDE: less hints, initialize vars, use unused parameters
git-svn-id: trunk@44457 -
2014-03-17 11:25:57 +00:00
mattias
5a07230297 IDE: clean up
git-svn-id: trunk@44146 -
2014-02-18 18:47:15 +00:00
paul
7f4caeb374 ide, components: move images related code to use FPC resource instead of Lazarus resources
git-svn-id: trunk@42984 -
2013-09-27 12:27:04 +00:00
paul
347238c5e8 ide: start to use component images as FPC resources with ability to load them from Lazarus resource too
git-svn-id: trunk@42973 -
2013-09-27 08:46:08 +00:00
martin
0f05bac744 IDE: Move the "all component tabs" speedbutton into tabsheet
git-svn-id: trunk@42795 -
2013-09-14 13:22:10 +00:00
martin
40664e7c02 IDE: Move the "all component tabs" speedbutton into tabsheet
git-svn-id: trunk@42793 -
2013-09-14 13:12:50 +00:00
juha
3405cd2a57 IDE: implement storage for component palette options. Read and write it in GUI frame.
git-svn-id: trunk@42732 -
2013-09-11 06:21:29 +00:00
juha
e9417175c1 IDE: change PageComponent type from TComponent to TCustomPage. Eliminate type-casts etc.
git-svn-id: trunk@42731 -
2013-09-11 06:21:22 +00:00
martin
d60351775b IDE: Prepare using new LazControl Tabs (IFDEF'ed), and move icon to tabs
git-svn-id: trunk@42610 -
2013-09-05 12:02:41 +00:00
juha
ec2423a8e1 IDE: Refactor TComponentPalette.UpdateNoteBookButtons, split the code to sub-procedures.
git-svn-id: trunk@42572 -
2013-09-03 12:03:01 +00:00
juha
31b1199fa8 Formatting
git-svn-id: trunk@42570 -
2013-09-03 12:02:02 +00:00
mattias
d3184470ed IDE: component palette: right click does not select component and bring form to front
git-svn-id: trunk@41820 -
2013-06-23 12:57:58 +00:00
mattias
d602e69411 IDE: fixed crash when releasing non existing component palette select button
git-svn-id: trunk@38444 -
2012-08-31 01:53:32 +00:00
juha
98d07d051d IDE: Remove FindPaletteComp from Component Palette's popup menu. Was earlier replaced with Component List.
git-svn-id: trunk@36429 -
2012-03-29 11:04:21 +00:00
mattias
b80f4dd6e2 IDE: component palette: fixed option to hide hints for palette
git-svn-id: trunk@35723 -
2012-03-05 09:46:21 +00:00
juha
5084b5f3d5 IDE: show Component List from Component Palette's popup menu.
git-svn-id: trunk@35053 -
2012-01-31 11:00:45 +00:00
juha
48abc1c4c7 IDE: Show also unit name in the component hint in component palette. Issue #20723, patch from Anton
git-svn-id: trunk@33677 -
2011-11-21 20:49:24 +00:00
juha
86b4b1d1b0 IDE: Scroll components inside the component palette page. Issue #20410, patch from Alexander S. Klenin
git-svn-id: trunk@32677 -
2011-10-04 22:37:55 +00:00
sekelsenmat
a7bfcf6c9b Removes TPageControl.OnPageChanged to fix bug #19903 double OnChange calls
git-svn-id: trunk@32622 -
2011-10-02 18:03:18 +00:00
juha
035314b632 IDE: Bring form designer to front when selecting a component in ComponentPallete. Issue #19727, patch from Flávio Etrusco
git-svn-id: trunk@32065 -
2011-08-26 21:09:10 +00:00
sekelsenmat
73542b658a Renames TCustomNotebook to TCustomTabControl, a major breakthrough into fixing the tab-controls
git-svn-id: trunk@31767 -
2011-07-20 14:39:50 +00:00
juha
a3f3aa5439 IDE: unselect all component palette buttons in mouse up handler. Patch from Max Vlasov, issue #19657
git-svn-id: trunk@31688 -
2011-07-13 17:00:18 +00:00
juha
ff13ce1edd IDE: Replace BtnClick with BtnMouseDown in Component Palette. Fixes PATRLY issue #19657. Button still visually looks selected.
git-svn-id: trunk@31681 -
2011-07-12 17:51:01 +00:00
mattias
f2fdce8015 IDE: component palette: release buttons instead of free
git-svn-id: trunk@31602 -
2011-07-08 18:22:59 +00:00
mattias
51e1742910 IDE: clean up
git-svn-id: trunk@31329 -
2011-06-22 07:52:10 +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
juha
fdaf6cdf13 IDE: formatting
git-svn-id: trunk@29812 -
2011-03-13 15:26:38 +00:00
mattias
a28c311a69 IDEIntf: added TComponentPalette.DoAfterComponentAdded
git-svn-id: trunk@29599 -
2011-02-18 18:15:06 +00:00
mattias
6b6ad2d929 IDE+LCL: made LCL a normal package
git-svn-id: trunk@29210 -
2011-01-27 12:56:07 +00:00
mattias
65b68428b7 IDEIntf: added TBaseComponentPalette.Selected, feature 17936
git-svn-id: trunk@28326 -
2010-11-18 18:55:45 +00:00
mattias
7b03a2512f IDE: component palette: replaced TNoteBook with TPageControl
git-svn-id: trunk@27301 -
2010-09-11 13:59:52 +00:00
mattias
264e8abdc8 IDE: compute build macros in local package substitution
git-svn-id: trunk@27125 -
2010-08-17 13:56:18 +00:00
mattias
811e84764c IDE: removed TComponentInterface
git-svn-id: trunk@25457 -
2010-05-16 11:41:42 +00:00
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
353bd41718 IDE: component palette: keep order after updatevisible
git-svn-id: trunk@24822 -
2010-04-22 17:24:18 +00:00
mattias
6ffc05a7d9 IDE: update component palette button and page visibility
git-svn-id: trunk@24795 -
2010-04-21 17:39:09 +00:00
mattias
4338c54822 IDEIntf: added voting handler for component palette button visibility
git-svn-id: trunk@24794 -
2010-04-21 16:22:37 +00:00
mattias
e77e383461 IDE: designer forms are now created with delayed autosize
git-svn-id: trunk@24423 -
2010-04-05 00:29:46 +00:00
mattias
e7b5a78d0f LCL: added debugging for Disable/EnableAutoSizing
git-svn-id: trunk@24094 -
2010-03-19 11:11:47 +00:00
mattias
0374dc7a00 IDE: reduced autosizing
git-svn-id: trunk@23900 -
2010-03-09 17:00:25 +00:00
paul
9622c8cd82 ide: convert forms to use fpc resources
git-svn-id: trunk@23458 -
2010-01-15 02:06:37 +00:00
paul
c680ad8794 designer, component palette: turn "multy" mode on when shift is pressed during component selection (issue #0008052)
git-svn-id: trunk@21537 -
2009-09-02 14:17:19 +00:00
mattias
8edea32cee IDE: double click on component palette invokes selection dialog
git-svn-id: trunk@20489 -
2009-06-06 18:56:56 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
paul
e5afe6b193 ide: dont declare that unneeded bitmap :)
git-svn-id: trunk@14898 -
2008-04-19 18:10:35 +00:00
marc
5538f0bbf8 * Removed unnesecary bitmap creation
git-svn-id: trunk@14897 -
2008-04-19 17:42:27 +00:00
marc
481f2563c1 * Fixed memleakfix (r14889) so asignment works if TBitmap is separte class
git-svn-id: trunk@14894 -
2008-04-19 16:49:06 +00:00
paul
45b2451fb2 ide: fix mem leak
git-svn-id: trunk@14889 -
2008-04-19 13:28:26 +00:00
marc
c81003eefa * Introduced TCustomBitmap as base class for all pixelbased imageclasses. Currently backward comatible (and equal to) TBitmap
* Added resource loading support to TPicture and Glyps to avoid image quality loss when converted to TBitmap
* Removed copy paste code for imagelist resource loading
* Moved some graphic classes to their own ini file

git-svn-id: trunk@14876 -
2008-04-17 23:43:11 +00:00
mattias
31ca6d4fa8 IDE: fixed crash when componentpalette width too small
git-svn-id: trunk@13174 -
2007-12-05 22:35:37 +00:00
paul
1b68ef3e5c ide: allow other types than XPM as component images
git-svn-id: trunk@12947 -
2007-11-21 04:23:07 +00:00
mattias
8e45b505de IDE: various layout improvements for IDE dialogs
git-svn-id: trunk@12490 -
2007-10-16 17:30:54 +00:00
mattias
1eff85d939 gtk2 intf: improved resizing code to not need the caching trick
git-svn-id: trunk@11212 -
2007-05-29 00:30:26 +00:00
mattias
78509220c9 LCL: TSpeedButton: if mouse capture lost then update state, fixed state when invoking Click which triggers ShowModal
git-svn-id: trunk@11211 -
2007-05-28 12:12:51 +00:00
mattias
87cb2dde3f IDE: component palette: aligning buttons in multiple rows if there is enough space
git-svn-id: trunk@10239 -
2006-11-24 14:30:26 +00:00
mattias
8416ec2b2d IDE: using new unitname instead of default unitname
git-svn-id: trunk@9975 -
2006-09-25 20:34:51 +00:00
mattias
b45d740067 sorted IDE macros
git-svn-id: trunk@9796 -
2006-09-02 21:10:32 +00:00
mattias
6fc60316d1 component palette: added resourcestrings
git-svn-id: trunk@9705 -
2006-08-06 08:52:27 +00:00
mattias
b17384ebc1 TButtonGlyph now uses shared bitmaps, improved debugging mem leaks
git-svn-id: trunk@9629 -
2006-07-18 17:20:34 +00:00
mattias
a681ab7b71 added TXMLConfigStorage
git-svn-id: trunk@9438 -
2006-06-15 21:49:57 +00:00
mattias
63dd31ff22 implemented a dialog to find components in the palette
git-svn-id: trunk@9434 -
2006-06-14 17:50:08 +00:00
mattias
84a4d25163 added example for HTML help
git-svn-id: trunk@9311 -
2006-05-19 21:56:07 +00:00