Commit Graph

155 Commits

Author SHA1 Message Date
ondrej
3a7e2ee5dd IdeIntf: propedits: fix highlighting default (=not stored) properties.
git-svn-id: trunk@54955 -
2017-05-17 18:27:55 +00:00
ondrej
697a3ee6fa IdeIntf: propedits: always write property values to objects. The property setter method has to decide about the need of update, not the propedit code.
git-svn-id: trunk@54954 -
2017-05-17 14:57:07 +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
73aa9aa4bb Order uses sections again to see dependencies better.
git-svn-id: trunk@53738 -
2016-12-20 16:26:44 +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
48ab9d2cbb IDEIntf: TPasswordStringPropertyEditor: draw empty field on empty password and allow to override value, patch #30842, from Silvio Clécio
git-svn-id: trunk@53313 -
2016-11-08 14:59:32 +00:00
mattias
42ea23f324 IDEIntf: TPasswordStringPropertyEditor: show fixed amount of *
git-svn-id: trunk@53286 -
2016-11-02 12:42:26 +00:00
mattias
c08ab12276 IDEINtf: added TPasswordStringPropertyEditor and TPasswordWideStringPropertyEditor, from Silvio Clécio, issue #30842
git-svn-id: trunk@53279 -
2016-11-02 10:31:07 +00:00
juha
e008aa5d53 IDEIntf: Add a functional TNoteBook.Pages property editor. Issue #30710, patch from Michl.
git-svn-id: trunk@53267 -
2016-10-30 18:16:52 +00:00
juha
dc5c4b535c Packager: Support dotted package names. Issue #30467.
git-svn-id: trunk@52813 -
2016-08-17 10:40:39 +00:00
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +00:00
mattias
96b2691e94 IDEIntf: less hints
git-svn-id: trunk@52699 -
2016-07-16 08:09:13 +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
mattias
4c9d5e70ca IDEIntf: less hints
git-svn-id: trunk@52557 -
2016-06-22 14:26:48 +00:00
bart
2a41a0e2f4 Fix spelling errors. Issue #0030258. Patch by Paul Gevers.
git-svn-id: trunk@52489 -
2016-06-12 16:07:57 +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
e692bb38fe Revert r52227 #672ab540ee. TStringsPropertyEditor.Edit is actually used. Issue #30046.
git-svn-id: trunk@52235 -
2016-04-22 11:49:24 +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
672ab540ee IdeIntf: Remove unused code from TStringsPropertyEditor.Edit.
git-svn-id: trunk@52227 -
2016-04-21 20:39:53 +00:00
juha
6060f5b9ab IdeIntf: Create default event handlers without assertion failure. Issue #30027.
git-svn-id: trunk@52212 -
2016-04-18 11:05:11 +00:00
juha
bb389f40bf IdeIntf: Add PropName param to PropertyEditor.Modified. Do not redraw comp tree after prop change. Issue #29574.
git-svn-id: trunk@52209 -
2016-04-18 11:05:06 +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
juha
2ab7a2e3f5 Object Inspector: Prevent infinite recursive loop in property name filter. Issue #29921, patch from shobits1.
git-svn-id: trunk@52190 -
2016-04-14 10:00:07 +00:00
mattias
72163698e7 IDEIntf: clean up
git-svn-id: trunk@52158 -
2016-04-10 17:43:20 +00:00
juha
a1f09debb2 IdeIntf: Prevent a recursive loop in IsInteresting, IsPropInClass function. Issue #29921.
git-svn-id: trunk@52128 -
2016-04-06 22:15:56 +00:00
juha
9e0eaa8431 IdeIntf: Simplify sub-functions of IsInteresting used by OI. The same value was used always for parameters.
git-svn-id: trunk@52115 -
2016-04-06 13:42:40 +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
f0030ec7cd IdeIntf: Optimize function IsInteresting used by OI. Convert APropNameFilter to uppercase only once. Don't use Unicode for prop names.
git-svn-id: trunk@52093 -
2016-03-31 12:14:21 +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
71d5d7517e IdeIntf: formatting.
git-svn-id: trunk@52091 -
2016-03-31 12:14:12 +00:00
juha
8423094db4 Partly revert r52070 #66bc82cf72. Caused side-effects when creating new event handlers. Issue #25954.
git-svn-id: trunk@52089 -
2016-03-30 17:57:15 +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
66bc82cf72 IDE: Show Action Execute method also when in another unit/form. Improve on earlier r52020 #75791c984b. Issue #25954.
git-svn-id: trunk@52070 -
2016-03-27 10:39:15 +00:00
juha
e5845a0818 Formatting
git-svn-id: trunk@52021 -
2016-03-22 21:57:06 +00:00
juha
75791c984b IDE: Show methods when clicked in OI also when they are in another unit/form. Issue #25954.
git-svn-id: trunk@52020 -
2016-03-22 21:57:01 +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
db51e758b5 Cleanup and comments
git-svn-id: trunk@51470 -
2016-02-01 21:04:59 +00:00
juha
deeef8296e IdeIntf: Create also Constraints.OnChange handler when clicked in Object Inspector. Issue #29562.
git-svn-id: trunk@51469 -
2016-02-01 21:04:53 +00:00
juha
468a5a31d3 IdeIntf: Reduce debug msgs in TPropertyEditorHook. Rename a variable.
git-svn-id: trunk@51417 -
2016-01-25 20:04:49 +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
2adb9b25c1 IDEIntf: use decimal point always in property editor for floating point values.
git-svn-id: trunk@51253 -
2016-01-11 15:36:52 +00:00
ondrej
56e2b65b29 ideintf: fix autosize ShortCutPropertyEditor. Issue #29266
git-svn-id: trunk@51173 -
2016-01-03 20:38:23 +00:00
ondrej
7fcc772645 designer, ideintf: rename TPropHookType htMouse* to htDesignerMouse*
git-svn-id: trunk@51156 -
2016-01-03 13:35:38 +00:00
ondrej
cdfb590aee ideintf, designer: add MouseDown and MouseUp event handlers for designer
git-svn-id: trunk@51144 -
2016-01-03 12:06:07 +00:00
juha
f4b38428a6 Allow to use any class with RTTI for RunTimeTypeInfoControls (previously only using descendants of TPersistent was legal). Now is possible to use any ORM system with RTTI controls like mORMot. From Maciej.
git-svn-id: trunk@51089 -
2015-12-31 09:07:46 +00:00
ondrej
175c0031c0 ideintf: set PopupMode/PopupParent for collection editor and actions editor. Issue #24711
git-svn-id: trunk@51051 -
2015-12-27 13:06:05 +00:00
juha
db5c09e762 IdeIntf: Add checks to TPropertyEditorHook.GetComponentName and match the return type with Component.Name's type.
git-svn-id: trunk@50940 -
2015-12-19 15:28:40 +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
juha
f86c5c935c IdeIntf: Show values in OI Combobox Boolean editor. Using the themed Checkbox broke it. Issue #28790.
git-svn-id: trunk@49976 -
2015-10-07 16:38:47 +00:00
mattias
81d84416e9 IDEIntf: less hints
git-svn-id: trunk@49942 -
2015-10-05 18:53:52 +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
mattias
3333661fda IDEIntf: clean up
git-svn-id: trunk@49697 -
2015-08-20 09:23:11 +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
c242431af9 PropEdits: Don't create lists in InitPropEdits. Created in other funcs which are called from many initialization sections.
git-svn-id: trunk@49548 -
2015-07-14 18:39:52 +00:00
juha
140203ca19 PropEdits: New event TPropHookPersistentDeleted (called after component deletion). r49377 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49531 -
2015-07-12 23:05:17 +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
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
23077a602f IdeIntf: Minor changes in Key Grab dialog. Issue #28353, patch from Alexey Torgashin.
git-svn-id: trunk@49461 -
2015-06-28 12:27:54 +00:00
maxim
58a102b2c5 IDEIntf: improved i18n, regenerated translations and updated Russian translation, bug #28067
git-svn-id: trunk@49002 -
2015-05-12 21:30:53 +00:00
mattias
7688e7b21f IDE: OI: implemented Revert to inherited for some base types of TComponent properties
git-svn-id: trunk@48682 -
2015-04-08 20:50:17 +00:00
juha
2368d8ad9a IdeIntf: Prevent invalid shortcut entries in TCustomShortCutGrabBox. Issue #27705, patch from Howard Page-Clark.
git-svn-id: trunk@48506 -
2015-03-25 21:21:19 +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
d15ee98ee4 IdeIntf: Support restoring default value in Object Inspector for Set types. Issue #18734.
git-svn-id: trunk@48023 -
2015-02-26 18:10:46 +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
66daecb69a IdeIntf: Show Meta- menuitem shortcuts in Object Inspector only for Mac. Issue #27456, patch from Howard Page-Clark.
git-svn-id: trunk@47850 -
2015-02-17 00:12:22 +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
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
blikblum
b7962c5068 IDE: register TValueListPropertyEditor only for TValueListEditor Strings property to prevent be used in other TStrings properties (TitleCaptions)
git-svn-id: trunk@47288 -
2015-01-04 13:42:03 +00:00
juha
304f54dde0 IdeIntf: one more tweak for the Boolean Checkbox editor position.
git-svn-id: trunk@47010 -
2014-11-27 20:31:44 +00:00
juha
d9b6126447 IdeIntf: comment
git-svn-id: trunk@46999 -
2014-11-27 20:31:22 +00:00
juha
80fc1404b6 IdeIntf: Make a compromise for Boolean property editor Checkbox left position. Actually depends on widgetset and theme.
git-svn-id: trunk@46992 -
2014-11-26 09:23:48 +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
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
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
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
e09f10816f IDE: object inspector: show error if integer out of range
git-svn-id: trunk@45620 -
2014-06-23 16:23:51 +00:00
juha
a2742e90b3 IdeIntf: Hard-coded quotations in resourcestrings.
git-svn-id: trunk@45523 -
2014-06-15 11:52:37 +00:00
mattias
fba12fd265 IDEIntf: fixed TPropertyEditorHook compiling with -CR
git-svn-id: trunk@44897 -
2014-05-03 09:00:32 +00:00
jesus
fcb975e5e9 LCL, implemented multiline TGridColumnTitle property, from wp, issue #25902
git-svn-id: trunk@44781 -
2014-04-22 00:32:27 +00:00
juha
18858b8e2d IdeIntf: Property editor for Strings in ValueListEditor. Does not work well yet.
git-svn-id: trunk@44575 -
2014-04-01 00:12:59 +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
6390494ff4 IDEIntf: comments
git-svn-id: trunk@44401 -
2014-03-10 23:29:36 +00:00
mattias
02b09d18e6 IDEIntf: form designer: added AddClicked hook, called whenever the user selected a component class and clicked on the designer to add a new component
git-svn-id: trunk@44335 -
2014-03-03 20:03:24 +00:00
mattias
6c43d476c4 IDEIntf: fixed ControlAcceptsStreamableChildComponent, allow inherited forms, do not allow nested components or any child of nested component
git-svn-id: trunk@44276 -
2014-02-27 10:37:14 +00:00
mattias
8a1eedadd8 IDEIntf: fixed uninitialized vars, less hints
git-svn-id: trunk@44242 -
2014-02-26 08:48:25 +00:00
martin
1bb786fda7 IDE: allow adding to inherited form and to child-controls on inherited forms (but not frames)
git-svn-id: trunk@44234 -
2014-02-25 11:32:34 +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
3ae6e6f978 IDE: added VK_OEM_COMMA to key list
git-svn-id: trunk@44165 -
2014-02-19 11:45:41 +00:00
mattias
f82edfb981 IDEIntf: fixed typo
git-svn-id: trunk@44164 -
2014-02-19 11:36:26 +00:00
mattias
446747ed6c IDE: designer: fixed adding components on inherited form, bug #25084
git-svn-id: trunk@42945 -
2013-09-26 13:48:25 +00:00
juha
0a0a90e99b IDEIntf: Change TComponentPropertyEditor back to original behavior so it lists all components from all forms.
git-svn-id: trunk@42886 -
2013-09-19 18:59:22 +00:00
juha
dbf7469826 Propedits: remove a test version of TCoolBarControlPropertyEditor.CheckNewValue
git-svn-id: trunk@42832 -
2013-09-16 05:06:27 +00:00
juha
0381e3d330 PropEdits: Use a proper designer form for file filter property editor and add up/down buttons. Issue #24811
git-svn-id: trunk@42762 -
2013-09-12 23:33:23 +00:00
mattias
e140abe386 IDE, IDEIntf: fixed componentreeview dragover check
git-svn-id: trunk@42713 -
2013-09-10 09:30:35 +00:00
maxim
cb5b0d6691 IDEIntf: do not substitute ampersand with underscore in Object Inspector. Patch by Do-wan Kim, bug #24585
git-svn-id: trunk@41689 -
2013-06-12 11:07:39 +00:00
paul
da07c70180 ideintf: implement IInterface property support (issue #0024570)
git-svn-id: trunk@41645 -
2013-06-10 05:12:53 +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