summaryrefslogtreecommitdiffstats
path: root/editor/editor_sectioned_inspector.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Scene] Add `SceneStringNames::text/value_changed`A Thousand Ships2024-06-191-1/+1
|
* [Core] Add case-insensitive `String::containsn`A Thousand Ships2024-05-081-1/+1
|
* Add context support for editor property name i18nHaoyu Qiu2024-03-311-3/+3
|
* Fix unexpected auto translation of Tree contentHaoyu Qiu2024-03-181-0/+1
|
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Add EditorStringNames singletonkobewi2023-09-031-2/+3
|
* Allow EditorInspector to change its property name style when necessaryHaoyu Qiu2023-04-291-11/+0
| | | | | | | | | | Previously, an EditorInspector's property name can only be set from outside. Inspectors used for settings needs to respond to changes in editor settings. So a few boilerplate code is almost always needed, including watching for a certain editor setting in `_notification()`. This commit adds a `set_use_settings_style()` function to tell the inspector to watch for editor settings changes on its own.
* Make solving project setting errors easierRedMser2023-03-271-1/+2
| | | | | Show full project setting path in error messages. Force filtering for advanced settings if filter is not empty.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Don't update EditorSettings dialog unnecessarilykobewi2022-11-211-1/+3
|
* Only show named layers in layer menuHaoyu Qiu2022-10-081-1/+3
|
* Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-3/+3
| | | | change warnings=all to use /W4.
* Fix property revert logic in the sectioned inspectorYuri Sizov2022-09-021-9/+4
| | | | Co-authored-by: derammo <817160+derammo@users.noreply.github.com>
* Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky2022-08-301-1/+1
| | | | | | | | | `set_tooltip` -> `set_tooltip_text` `get_tooltip` -> `get_tooltip_text` For consistency: `get_button_tooltip` -> `get_button_tooltip_text` And the `tooltip` parameter in `add_button` was renamed to `tooltip_text`
* [GDExtension] Fix `_property_can_revert` and `_property_get_revert` methods ↵bruvzg2022-08-231-2/+2
| | | | using incorrect string type.
* Make `property_*_revert` methods multilevel and expose them for scriptingYuri Sizov2022-08-181-2/+2
|
* Add GLOBAL_DEF_INTERNAL to hide specific settingskobewi2022-06-071-5/+0
|
* Hide redundant categories from project settingskobewi2022-05-281-0/+5
|
* Add property name style toggle to InspectorHaoyu Qiu2022-03-281-5/+22
|
* Improve inspector filteringHaoyu Qiu2022-03-181-1/+15
|
* i18n: Make property paths and categories translatableHaoyu Qiu2022-03-031-1/+3
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-1/+1
|
* Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-081-1/+1
| | | | | | | | This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-061-1/+1
|
* String: Add contains().Anilforextra2022-02-041-2/+2
|
* Update copyright statements to 2022Rémi Verschelde2022-01-031-2/+2
| | | | Happy new year to the wonderful Godot community!
* Replace String comparisons with "", String() to is_empty()Nathan Franke2021-12-091-3/+3
| | | | | | Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
* Use C++ iterators for Lists in many situationsAaron Franke2021-07-231-5/+2
|
* Optimize StringName usagereduz2021-07-181-2/+2
| | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* Use bold fonts in editorreduz2021-06-021-1/+2
| | | | | | | * Labels are now bold * Categories in trees are bold * Main editor buttons are bold * Fixed section folding arrows in inspector
* Improve TreeItem API and allow to move nodestrollodel2021-05-171-3/+3
|
* Reorganize Project Settingsreduz2021-02-181-1/+7
| | | | | | | -Advanced Settings toggle also hides advanced properties when disabled -Simplified Advanced Bar (errors were just plain redundant) -Reorganized rendering quality settings. -Reorganized miscelaneous settings for clean up.
* Removed _change_notifyreduz2021-02-101-2/+2
| | | | | | -For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap. -For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed() -Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-1/+1
|
* Initialize class/struct variables with default values in platform/ and editor/Rafał Mikrut2020-12-021-6/+2
|
* Fix filtering of search results in SectionedInspectorbooer2020-09-021-1/+1
|
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-18/+33
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-24/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Port member initialization from constructor to declaration (C++11)Rémi Verschelde2020-05-141-2/+3
| | | | | | | | | | Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
* Replace NULL with nullptrlupoDharkael2020-04-021-5/+5
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-2/+2
|
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-5/+2
| | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-2/+2
| | | | objects and made them default.
* ObjectID converted to a structure, fixes many bugs where used incorrectly as ↵Juan Linietsky2020-02-121-2/+1
| | | | 32 bits.
* Merge pull request #33047 from silvanocerza/settings-searchRémi Verschelde2020-01-311-3/+3
|\ | | | | Improved search in settings dialogs
| * Improved search in settings dialogsSilvano Cerza2019-11-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Settings search used to work only on properties, so if a searchbox text was a substring of a category but not of a property the whole category would be filtered out and no property would be shown. Now the behaviour is changed so that when the searchbox text is a substring of a category all its properties are shown too. The previous behaviour is still present so that in case the searchbox text is both a substring of a category and a property of another category, all properties of the first category are shown and only the property of the second category is shown.
* | Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* | Fix some overflows and unitialized variablesRafał Mikrut2019-11-201-2/+2
|/
* Increase the minimum width of the editor sectioned inspectorHugo Locurcio2019-08-311-1/+1
| | | | | | This makes sure section names such as "Window Placement" or "Vram Compression" aren't being cut off due to the panel width being too low.