Commit Graph

225 Commits

Author SHA1 Message Date
ondrej
d3776d5030 IDE: OI: High-DPI
git-svn-id: trunk@54190 -
2017-02-19 10:15:03 +00:00
mattias
99b5de9bd3 IDEIntf: added TInterfacePropertyEditor, issue #31324, from Michal Gawrycki
git-svn-id: trunk@54067 -
2017-02-02 11:13:45 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
ondrej
870a757670 IDEIntf: object inspector: fix hint position
git-svn-id: trunk@53369 -
2016-11-15 09:02:55 +00:00
ondrej
c49f1ff869 IdeIntf: objectinspector: fix Hint flickering
git-svn-id: trunk@53366 -
2016-11-15 08:17:52 +00:00
mattias
36882d29bb IDEIntf: object inspector: support unicodestring properties, added Filter property
git-svn-id: trunk@53348 -
2016-11-11 18:53:12 +00:00
mattias
16b61e3228 IDEIntf: GetChangeParentCandidates: check CheckNewParent
git-svn-id: trunk@53173 -
2016-10-20 00:10:55 +00:00
mattias
48275b470f IDEIntf: OI: when setting PropertyEditorHook use its selection
git-svn-id: trunk@53170 -
2016-10-19 23:41:06 +00:00
mattias
ffa60a93df IDE: designer: fixed enabling Change Parent when no OI is present
git-svn-id: trunk@53169 -
2016-10-19 23:12:08 +00:00
juha
d5d8e2f420 IdeIntf: Improve and harmonize the drawing of Boolean Checkboxes.
git-svn-id: trunk@52622 -
2016-07-04 18:13:11 +00:00
juha
7e929ec112 ObjectInspector: Update ComponentTree's Scrollbars when rezising or moving splitter.
git-svn-id: trunk@52603 -
2016-07-03 12:35:46 +00:00
ondrej
bd2fb1f4bc IDEIntf: improve set active page in designer on OI selection change.
git-svn-id: trunk@52344 -
2016-05-22 10:51:17 +00:00
juha
1236d8fbe8 LCL: Implement WriteVariant for TLRSObjectWriter. Fix variant property editor. Issue #28040, patch from Michal Gawrycki.
git-svn-id: trunk@52328 -
2016-05-19 08:15:02 +00:00
juha
26de115dbb Object Inspector: Restore Invalidate removed in r52208 #4e1e1dc645. Grid on Windows needs it. Issue #30062.
git-svn-id: trunk@52255 -
2016-04-27 10:54:25 +00:00
juha
3a9c90d806 Object Inspector: Update component tree after changing parent. Issue #30051.
git-svn-id: trunk@52243 -
2016-04-24 14:15:09 +00:00
juha
1ed4646b29 IdeIntf: Revert r52208 #4e1e1dc645 partly, grid column properties were not updated while editing.
git-svn-id: trunk@52237 -
2016-04-22 20:39:52 +00:00
juha
2b97e8c1c4 IdeIntf: Improve locking of TObjectInspectorDlg.SetSelection.
git-svn-id: trunk@52236 -
2016-04-22 20:02:12 +00:00
juha
618bfe6da9 IdeIntf: Support multi-line text in property editors also in Carbon. Issue #27867, patch from Hans Luijten.
git-svn-id: trunk@52234 -
2016-04-22 11:34:44 +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
maxim
3294b7ee32 IDEIntf: i18n-ed 'Properties' filteredit caption in Object Inspector
git-svn-id: trunk@52221 -
2016-04-19 22:53:21 +00:00
juha
a229be6936 IdeIntf: Cleanup and formatting.
git-svn-id: trunk@52218 -
2016-04-19 20:48:48 +00:00
juha
14e5168217 Formatting
git-svn-id: trunk@52211 -
2016-04-18 11:05:09 +00:00
juha
775b31bcdd IdeIntf: Optimize drawing ComponentTree in OI. RebuildComponentNodes was called many times.
git-svn-id: trunk@52210 -
2016-04-18 11:05:08 +00:00
juha
4e1e1dc645 OI: Remove useless invalidate and refresh calls.
git-svn-id: trunk@52208 -
2016-04-18 11:05:01 +00:00
juha
58317e2f8a Designer: Remove direct OI dependency of "Change Parent" feature, use events.
git-svn-id: trunk@52194 -
2016-04-14 10:02:16 +00:00
juha
47e2727bb5 Designer, IdeIntf: Improve "Change Parent" feature, use a dialog. Issue #29868, patch from FTurtle.
git-svn-id: trunk@52193 -
2016-04-14 10:02:14 +00:00
juha
2355da2c35 IdeIntf: Create proper name for Constraints.OnChange handler in Object Inspector. Issue #29562.
git-svn-id: trunk@52192 -
2016-04-14 10:02:12 +00:00
juha
a9f11cacba IdeIntf: Formatting
git-svn-id: trunk@52191 -
2016-04-14 10:02:07 +00:00
jesus
7aba13f0ce IdeIntf: initialize FValueDifferBackgrndColor default value to DefValueDifferBackgrndColor at runtime which must match ValueDifferBackgrndColor declaration, it fixes GTK error dumps in LazReport when moving bands containing objects
git-svn-id: trunk@52187 -
2016-04-13 17:42:59 +00:00
juha
54e12af225 Object Inspector: Fix memory leaks caused by the new property name filter. Issue #29921, patch from shobits1.
git-svn-id: trunk@52097 -
2016-04-01 09:36:48 +00:00
juha
faa105a248 Object Inspector: Implement FilterEdit also for property names. Issue #29921, patch from shobits1.
git-svn-id: trunk@52092 -
2016-03-31 12:14:19 +00:00
juha
b347db1483 Object Inspector: Refactor the long TOICustomPropertyGrid.PaintRow into shorter functions.
git-svn-id: trunk@52088 -
2016-03-30 17:57:10 +00:00
juha
9aab2a374d Object Inspector: Differentiate multi-selected properties which have different values using background color. Issue #23151.
git-svn-id: trunk@52075 -
2016-03-28 10:37:25 +00:00
juha
350461f95e Object Inspector: Formatting.
git-svn-id: trunk@52074 -
2016-03-28 10:37:19 +00:00
bart
623ef8e528 OI: Use normal CheckBoxThemed as Boolean editor again by default.
git-svn-id: trunk@52018 -
2016-03-22 21:31:02 +00:00
juha
915691f819 Object Inspector: Remember last active property. Issue #29510, patch from Balázs Székely.
git-svn-id: trunk@51440 -
2016-01-28 23:17:12 +00:00
juha
850ec52c41 Object Inspector: Deal with different widgetset sorting rules when selecting next value for a Class Combobox. Issue #29503.
git-svn-id: trunk@51419 -
2016-01-26 12:44:50 +00:00
juha
cf3a735d93 Object Inspector: Align only "normal" CheckBox vertically, not CheckBoxThemed. Issue #29412.
git-svn-id: trunk@51416 -
2016-01-25 19:50:21 +00:00
juha
6c55ef9be7 Object Inspector: Set next value also when double-clicking a ComboBox with Class values. Issue #29503.
git-svn-id: trunk@51410 -
2016-01-25 16:08:57 +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
juha
30a53a3bb8 OI: Use normal CheckBox as Boolean editor until problems with CheckBoxThemed are solved. Issues #29406 and #29412.
git-svn-id: trunk@51304 -
2016-01-16 12:14:46 +00:00
bart
363ef73d76 ObjectInspector: fix wrong ifdef.
git-svn-id: trunk@51303 -
2016-01-15 22:12:21 +00:00
juha
59e349c1ae Bug fix for OnEditorFilter (was not called for sub TPersistent). From Maciej.
git-svn-id: trunk@51090 -
2015-12-31 09:07:51 +00:00
juha
ec869d657e IdeIntf: Remove an extra frame from info panel in Object Inspector. Issue #29069, patch from Alexey Torgashin.
git-svn-id: trunk@50471 -
2015-11-22 17:05:15 +00:00
mattias
a416d683ab IDEIntf: Object Inspector: added HideClassNames, from Gabor Boros
git-svn-id: trunk@50394 -
2015-11-18 15:10:16 +00:00
mattias
67a9e199e1 IDEIntf: ObjectInspector: fixed FInSelection in recursive calls
git-svn-id: trunk@49954 -
2015-10-06 10:13:00 +00:00
juha
6e00fb5ddc Object Inspector: Fix the default value when saving CheckboxForBoolean.
git-svn-id: trunk@49939 -
2015-10-05 17:04:09 +00:00
juha
ac56c10378 Object inspector: Set "Checkbox for Booleans" as the default. Also use the themed Checkbox, can be changed with define UseOINormalCheckBox.
git-svn-id: trunk@49914 -
2015-10-02 13:27:18 +00:00
juha
7ef382f0bd IdeIntf: Use TCheckBoxThemed as a Boolean property editor in OI. Issue #28518, patch from Vojtech Cihak.
git-svn-id: trunk@49677 -
2015-08-15 21:40:16 +00:00
juha
fe64bb3834 OI: Revert r49480 #27f9198058 and update text value in OI control in a better way. Issue #23918.
git-svn-id: trunk@49489 -
2015-07-02 18:50:29 +00:00
juha
3c9da5e47b OI: Don't cover PopupMenu with a hint. Issue #28365, patch from Péter Gábor.
git-svn-id: trunk@49482 -
2015-07-01 09:24:11 +00:00
juha
27f9198058 OI: Update text value also when the control is changed but property remains the same. Remove useless paAutoUpdate flag. Issue #23918.
git-svn-id: trunk@49480 -
2015-06-30 19:57:01 +00:00
juha
75347d7f7c Object Inspector: Prevent adding the same parent candidates repeatedly for "Change Parent" menu.
git-svn-id: trunk@49427 -
2015-06-24 09:29:48 +00:00
juha
a4f5469c56 IdeIntf: Add "Change Parent" menu tree to popup menu of Object Inspector. Issue #19003, based on patch from Vojtech Cihak.
git-svn-id: trunk@48552 -
2015-03-31 17:10:32 +00:00
juha
f51604367b IdeIntf: Add "Change Class" feature also to popup menu of Object Inspector.
git-svn-id: trunk@48551 -
2015-03-31 17:10:25 +00:00
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
juha
e0fbbdd0c4 Object Inspector: Improve scrolling, reduce flicker using ScrollWindowEx. Issue #27667.
git-svn-id: trunk@48440 -
2015-03-21 08:07:12 +00:00
juha
f78dd6dbd5 Object Inspector: Scrolling works without Invalidate and messages, remove them. Issue #27667.
git-svn-id: trunk@48439 -
2015-03-20 21:49:38 +00:00
juha
45a96a8c27 Object Inspector: Restrict scrolling improvemets to Windows platform. Issue #27667.
git-svn-id: trunk@48434 -
2015-03-20 18:31:21 +00:00
juha
326bf8d567 Object Inspector: Improve scrolling, reduce flicker. Issue #27667.
git-svn-id: trunk@48433 -
2015-03-20 17:07:52 +00:00
juha
307f5059e3 IdeIntf: Use CheckBox as boolean editor also for Set elements.
git-svn-id: trunk@48014 -
2015-02-26 09:28:38 +00:00
juha
e9dc6f1eff TI Grid: move HookGetCheckboxForBoolean from OI dialog to PropertyGrid. Publish CheckboxForBoolean. Solves issue #27521.
git-svn-id: trunk@47994 -
2015-02-25 21:14:31 +00:00
juha
01cc0f741c TI Grid: Make a CheckBox boolean editor work somehow. Was stuck on 'True'. Must be fixed properly later.
git-svn-id: trunk@47983 -
2015-02-24 22:57:04 +00:00
maxim
e2866a78a0 Object Inspector: i18nalize '(Mixed)' value
git-svn-id: trunk@47441 -
2015-01-20 22:13:57 +00:00
juha
3151750571 OI: show '(Mixed)' for Checkbox caption when multiselect and values are mixed.
git-svn-id: trunk@47410 -
2015-01-17 00:05:03 +00:00
juha
1a64d63b36 OI: Update Boolean value from a Checkbox also when the control is changed but property remains the same.
git-svn-id: trunk@47401 -
2015-01-16 09:35:21 +00:00
juha
b4de0f46fc IdeIntf: Draw a grey CheckBox for Boolean property editor when multi-selection has mixed values.
git-svn-id: trunk@47311 -
2015-01-05 21:36:34 +00:00
juha
174e17c841 IdeIntf: Check every time if Boolean Checkbox property editor is needed. Was wrong when component changed and value differed.
git-svn-id: trunk@47291 -
2015-01-04 14:10:49 +00:00
juha
39430447fa Object Inspector: Show info contents right after making InfoPanel visible.
git-svn-id: trunk@47040 -
2014-11-30 15:44:33 +00:00
juha
c589873743 Designer, OI: Synchronize z-order changes. Issue #20450, patch from Mike Thompson.
git-svn-id: trunk@47039 -
2014-11-30 13:13:08 +00:00
juha
4f2765f6c2 Object Inspector: remove unused units.
git-svn-id: trunk@47009 -
2014-11-27 20:31:42 +00:00
juha
7d9296fe56 Object Inspector: Fix the alignment of Checkbox editor.
git-svn-id: trunk@46991 -
2014-11-26 00:35:13 +00:00
juha
3cc613425f Object Inspector: formatting.
git-svn-id: trunk@46990 -
2014-11-26 00:35:04 +00:00
juha
8e8d5a2fdf Object Inspector: Show parenthesis around True and False when using the Checkbox Boolean editor.
git-svn-id: trunk@46989 -
2014-11-25 19:48:33 +00:00
juha
45eab13451 Object Inspector: Fix resizing selected edit after horizontal resize, remove useless Invalidate. Patch from Sandro Cumerlato.
git-svn-id: trunk@46976 -
2014-11-23 18:42:33 +00:00
juha
aa460b80b4 Object Inspector: Remove code that prevents SpeedButton background erase. Patch from Sandro Cumerlato.
git-svn-id: trunk@46975 -
2014-11-23 18:42:28 +00:00
juha
1fe3846321 Object Inspector: Fix inconsistent DefaultItemHeight for Combobox. Patch from Sandro Cumerlato.
git-svn-id: trunk@46974 -
2014-11-23 17:26:38 +00:00
juha
579e8170bd Object Inspector: Set TComboBox.ItemHeight in a better way. Patch from Sandro Cumerlato.
git-svn-id: trunk@46970 -
2014-11-23 15:01:56 +00:00
juha
686309b70a Object Inspector: Set ComboBox editor's ItemHeight again. Lazarus built with QT crashes otherwise when Color combobox list is opened.
git-svn-id: trunk@46966 -
2014-11-22 18:43:13 +00:00
juha
c0488fb460 Object Inspector: Fix CheckBox editor vertical alignment. Patch from Sandro Cumerlato.
git-svn-id: trunk@46890 -
2014-11-19 19:35:04 +00:00
juha
ca7db2fdc6 Object Inspector: Fix redraw errors. Patch from Sandro Cumerlato.
git-svn-id: trunk@46887 -
2014-11-19 14:57:47 +00:00
mattias
dd34c8e045 IDEIntf: fixed typo
git-svn-id: trunk@46886 -
2014-11-19 13:52:48 +00:00
juha
a8e80b673c Object Inspector: Test code for redraw errors in some Windows machines. Cleanup.
git-svn-id: trunk@46885 -
2014-11-19 10:26:20 +00:00
juha
63400d9ec8 IDE: Add an option GUI for using CheckBox for Booleans in Object Inspector.
git-svn-id: trunk@46881 -
2014-11-18 23:40:20 +00:00
juha
0be2affe39 Object inspector: Solve the redraw problem with Boolean CheckBox editor using AutoSize instead of SetBounds. Issue #22347.
git-svn-id: trunk@46880 -
2014-11-18 16:28:11 +00:00
juha
f66d606172 Object Inspector: use theme services to draw the new CheckBox Boolean editor.
git-svn-id: trunk@46877 -
2014-11-18 14:00:21 +00:00
mattias
9d1210247e IDEIntf: less hints
git-svn-id: trunk@46700 -
2014-10-30 10:25:07 +00:00
juha
eb2e358f20 Object Inspector: Improve Mouse wheel scroll behavior. Issue #21795, patch from Sandro Cumerlato.
git-svn-id: trunk@46580 -
2014-10-17 16:56:07 +00:00
juha
d6f255f9f6 IdeIntf, Object Inspector: new strategy for putting StatusBar below InfoPanel. Set Top coord and the layout engine takes care of it. Issue #26788.
git-svn-id: trunk@46393 -
2014-10-01 14:46:49 +00:00
juha
2e85f426f7 IdeIntf, Object Inspector: Make sure the top splitter goes always to right place.
git-svn-id: trunk@46375 -
2014-09-30 17:46:29 +00:00
juha
bf4042ab81 IdeIntf, Object Inspector: Improve hiding / showing the info panel and statusbar.
git-svn-id: trunk@46374 -
2014-09-30 17:45:59 +00:00
juha
c6f67446c5 IdeIntf, Object Inspector: fix ComponentTreeHeight and code using it. ComponentPanel.Height was assigned to itself. Issue #26788.
git-svn-id: trunk@46337 -
2014-09-26 15:26:16 +00:00
juha
85fa5c550a Object Inspector: use Constraints.MinHeight for InfoPanel. It cannot be resized any more if Height becomes 0.
git-svn-id: trunk@46293 -
2014-09-22 17:19:24 +00:00
juha
2d6147eb18 ObjectInspector: locate the arrow on left side vertically better. Issue #26258, patch from Howardpc.
git-svn-id: trunk@46239 -
2014-09-15 15:39:49 +00:00
juha
ba96b04000 IdeIntf: use 2 hint windows in THintWindowManager, one for text and one for rendered HTML.
git-svn-id: trunk@45938 -
2014-07-20 18:27:21 +00:00
juha
daf9f126f0 IdeIntf: comment out TOIHintWindow.OnMouseDown. The inherited protected property is available, too. (A bug?)
git-svn-id: trunk@45832 -
2014-07-11 16:32:23 +00:00
juha
a8c3ea866d IdeIntf: Clean TOICustomPropertyGrid.HintTimer
git-svn-id: trunk@45831 -
2014-07-11 16:32:10 +00:00
juha
613426fbe9 IdeIntf: remove useless parameters from TOIPropertyHint event.
git-svn-id: trunk@45830 -
2014-07-11 16:31:58 +00:00
juha
f6cd1a888f IDE: Make object inspector use the new HintManager class.
git-svn-id: trunk@45829 -
2014-07-11 16:31:42 +00:00
juha
e8c25a5a34 IdeIntf: don't explicitly free owned hint controls from HintWindow. Formatting.
git-svn-id: trunk@45825 -
2014-07-11 16:30:27 +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
914882e83c IDEIntf: set free notification for TPropertyEditorHook.LookupRoot, changed TPropertyEditorHook to TComponent, set freenotification for TCustomPropertiesGrid.TIObject, bug #25872
git-svn-id: trunk@44455 -
2014-03-17 10:02:36 +00:00
mattias
86fdb15eae IDEintf: object inspector: comment
git-svn-id: trunk@44251 -
2014-02-26 18:15:38 +00:00
mattias
56d751c730 IDEIntf: TOIPropertyGrid: distinguish calling property Edit and changing the value
git-svn-id: trunk@44226 -
2014-02-24 10:59:57 +00:00
mattias
f9ba490c53 IDEIntf: fixed setting value in propertygrid if only a basic designer is available
git-svn-id: trunk@44177 -
2014-02-19 23:33:12 +00:00
mattias
41460c7d4f IDE: fixed renaming components, simplified designer undo
git-svn-id: trunk@44173 -
2014-02-19 18:57:53 +00:00
mattias
1217b68eb7 IDE: designer IsUndoLocked
git-svn-id: trunk@44172 -
2014-02-19 17:59:47 +00:00
mattias
baabe96213 IDE: undo for designer, patch #22584
git-svn-id: trunk@44156 -
2014-02-18 21:46:36 +00:00
juha
dfd9836690 LCL, ObjectInspector: Prevent triggering double-click when expanding ComboBox quickly. Issue #19918, patch from Flávio Etrusco
git-svn-id: trunk@43642 -
2014-01-04 14:17:24 +00:00
paul
1b5a11694a ideintf: fix images
git-svn-id: trunk@43067 -
2013-10-04 12:25:35 +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
juha
5604d3b049 IdeIntf: Cleanup
git-svn-id: trunk@42079 -
2013-07-13 21:20:46 +00:00
mattias
bbf5c1f087 IDEIntf: object inspector: fixed DoCallEdit checking for focus
git-svn-id: trunk@41867 -
2013-06-24 12:33:34 +00:00
mattias
4a4b3a8ecd IDEIntf: object inspector: fixed SetRowValue checking for focus
git-svn-id: trunk@41866 -
2013-06-24 12:14:46 +00:00
mattias
6d49af0c96 IDEIntf: Object inspector: do not commit changes if not focused
git-svn-id: trunk@41859 -
2013-06-23 20:10:50 +00:00
juha
ecd140c985 Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
juha
154590fc1b IDE: show property's class, name and type in OI StatusBar.
git-svn-id: trunk@41380 -
2013-05-24 08:23:49 +00:00
juha
32ce55442c IDE: add a setting to OI options. Reorder.
git-svn-id: trunk@41368 -
2013-05-23 11:37:40 +00:00
juha
40c7d580c7 IDE: show more popup menuitems in Object Inspector.
git-svn-id: trunk@41367 -
2013-05-23 11:37:34 +00:00
juha
c4566910d4 IDE: formatting
git-svn-id: trunk@41360 -
2013-05-22 16:50:18 +00:00
juha
412fa177a5 IDE: show the info box at bottom of Object Inspector by default.
git-svn-id: trunk@41359 -
2013-05-22 16:50:02 +00:00
juha
c256dea046 ObjectInspector: prevent range check error in some rare situations.
git-svn-id: trunk@40905 -
2013-04-28 11:06:08 +00:00
juha
1d10ee3b3d IdeIntf: improve texts and FocusControl in SelectProps and ObjectInspector
git-svn-id: trunk@40895 -
2013-04-27 07:18:39 +00:00
mattias
7dfc6db3f0 ideintf: moved to components
git-svn-id: trunk@40882 -
2013-04-23 07:04:51 +00:00