summaryrefslogtreecommitdiff
path: root/editor/editor_inspector.cpp
AgeCommit message (Collapse)Author
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-06Add missing SNAME macro optimization in some function callsjmb462
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-03Remove get_focus_owner() from Control, replaced by ↵Gilles Roudière
get_viewport()->gui_get_focus_owner()
2022-02-02EditorHelpBit: Fix content height fit and RTL theme propagationRémi Verschelde
This reverts #51619 and fixes the issue properly, as well as enabling `fit_content_height` which is necessary following #57304. Fixes #57174. Also adds a placeholder for property and signal tooltips with no description, factoring the code while at it. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2022-01-28Improve some signal bindings to use specific `Object` subtypesRémi Verschelde
2022-01-26Rename String::is_subsequence_ofi to String::is_subsequence_ofnWilson E. Alvarez
2022-01-23Merge pull request #56474 from brennengreen/keying-boundsRémi Verschelde
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-19[Editor] Move some animation specific keying logic out of inspector.Fabio Alessandrelli
Most of the custom logic to handle special keying cases is now inside the AnimationPlayerEditorPlugin. The EditorInspector now emits a signal when inspecting a new object.
2022-01-07[Editor] Fix inspector keying signals argument count.Fabio Alessandrelli
The second parameter of the signals `EditorInspector.property_keyed` and `EditorProperty.property_keyed_with_value` can be NIL, causing the event to fire with less arguments when using `emit_signal` that accepts Variant arguments, so we use the pointer version instead.
2022-01-04add bounds to next keying nextBrennen Green
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #55487 from YeldhamDev/scroll_bikesheddingRémi Verschelde
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2021-12-11Stop asuming a default value of NIL means there's no defaultPedro J. Estébanez
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-07ScrollContainer's scrollbar visibility is now enumkobewi
2021-12-06Merge pull request #55662 from ↵Rémi Verschelde
KoBeWi/update_minimum_size_changed_to_update_minimum_size
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06Rename minimum_size_changed() methodkobewi
2021-12-06Fix EditorPlugin.remove_inspector_plugin() instance cleanupHaoyu Qiu
2021-11-30Rename all methods that return `ScrollBar` nodes to `get_*_scroll_bar()`Michael Alexsander
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Merge pull request #53987 from groud/tile_data_inspector_pluginRémi Verschelde
2021-11-10Fix EditorInspectorPlugin virtual bindings and add parse_group callbackYuri Sizov
2021-11-08Add property value pinningPedro J. Estébanez
2021-11-07Unify determination of default property valuesPedro J. Estébanez
2021-11-04Add is_built_in() method to Resourcekobewi
2021-10-26Implement polygons editors in the tiles selection modeGilles Roudière
2021-10-05Use a yellow color for editable children properties instead of redHugo Locurcio
This matches the usual "Changes may be lost!" warning color. - Remove a duplicate editor theme color setting declaration.
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-16Merge pull request #52376 from rcorre/prop_path_copy_fixRémi Verschelde
Don't handle property_editor shortcuts on release.
2021-09-15Merge pull request #32068 from aaronfranke/transform-editorRémi Verschelde
Reformat Transform(2D) matrix display in the inspector
2021-09-14Merge pull request #52636 from Jummit/highlight_categoriesGilles Roudière
Highlight hovered inspector categories
2021-09-14Merge pull request #52259 from ↵Rémi Verschelde
jmb462/fix-ctrl-V-wrong-behavior-in-inspector-textedit Fix Ctrl+V wrong behavior in inspector textedit (Fix #52208)
2021-09-13Highlight hovered inspector categoriesJummit
2021-09-07Fix undo/redo for properties set as PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIEDPouleyKetchoupp
Full inspector update was triggered only on property changed, but not on undo/redo actions, which can cause inspector discrepancies when some properties are supposed to be shown or hidden. Now update all flag is passed into _edit_set() method which already has logic to handle this case properly (it still triggers update_tree() down the line).
2021-09-07Implement properties arrays in the Inspector.Gilles Roudière
2021-09-05Apply set_read_only() to child classes of EditorProperty elementsSilc 'Tokage' Renew
2021-09-03Don't handle property_editor shortcuts on release.Ryan Roden-Corrent
Fixes #52336. EditorProperty::unhandled_key_input was handling both press and release. This means that if you press `ctrl+v` on an EditorProperty line input, it will paste as expected on pressing `ctrl+v`, and accept the event so EditorProperty will not see it. However, on release, LineEdit ignores the event and EditorProperty still catches and handles it, using its own paste implementation.
2021-08-31Reformat Transform(2D) inspector menusAaron Franke
Move, rename, recolor, and fix the inspector for these in the inspector. Coloring is now done by a helper method in "editor_inspector.cpp".
2021-08-30Fix CTRL+V doesn't work properly in inspector texteditjmb462
2021-08-27Fix crash on scenes with tool scripts and mismatched node typesSaracenOne
2021-08-23Copy/Paste property paths/values in inspector.Ryan Roden-Corrent
Resolves godotengine/godot-proposals#106. Adds the following property menu options with default bindings: - Copy Property (ctrl+c) - Paste Property (ctrl+v) - Copy Property Path (ctrl+shift+c) If you hover over a property label in the inspector dock, you can copy either the property value or the property path to the system clipboard using the shortcuts above This is especially useful for the `AnimationTree`, where code might reference properties like "parameters/state/aim/move/blend_position". One issue is that if you click a property, then click on the node you currently have selected in the node tree, then press ctrl+shift+c, it will still copy the selected property path rather than the node path. If you click on a different node in the nodetree, however, ctrl+shift+c will return to copying the nodepath. The property value copy/paste was implemented by @KoBeWi at #39398 and merged into this PR due to their similarity.