summaryrefslogtreecommitdiffstats
path: root/editor/editor_settings_dialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
|
* Rebrand preambles to RedotSpartan3222024-10-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | (cherry picked from commit e8542b06acca3c1bdeee4b528411771f0819f084) Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* Fix undoredo handling in some dialogskobewi2024-07-041-13/+2
|
* [Scene] Add `SceneStringNames::text/value_changed`A Thousand Ships2024-06-191-1/+1
|
* [Scene] Add `SceneStringNames::confirmed`A Thousand Ships2024-06-191-1/+1
|
* [Scene] Add `SceneStringNames::font(_size/_color)`A Thousand Ships2024-06-181-2/+2
|
* [Scene] Add `SceneStringNames::panel`A Thousand Ships2024-05-301-1/+1
|
* Disable Clear All button when not filtering in Editor SettingsHaoyu Qiu2024-05-191-4/+9
|
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-4/+4
|
* Use Core/Scene stringnames consistentlykobewi2024-05-131-2/+2
|
* Add context support for editor property name i18nHaoyu Qiu2024-03-311-2/+2
|
* Fix unexpected auto translation of Tree contentHaoyu Qiu2024-03-181-0/+1
|
* Redesign the graph editor for visual shadersHendrik Brucker2024-02-221-0/+2
|
* Use check_changed_settings_in_group() everywherekobewi2024-02-191-1/+4
|
* Merge pull request #86654 from ryevdokimov/fix-listening-for-input-escapeRémi Verschelde2024-02-021-0/+2
|\ | | | | | | Prevent escape key from closing Editor Settings window when filtering for shortcuts
| * Prevent escape key from closing Editor Settings window when filtering for ↵Robert Yevdokimov2024-01-051-0/+2
| | | | | | | | shorcuts
* | Introduce editor theme spacing presetsYuri Sizov2024-01-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | This change adds a new editor setting related to theming which controls base and additional spacing used in the generated editor theme. These values can also be changed manually by the user to customize their experience. Limited effort was applied to make sure both Compact and Spacious presets work and look fine, but further tuning and adjustments are totally expected. Some controls will require layout changes or additional fixes to their constants.
* | 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.
* | Make the search bars in the "Project Settings" dialog grab focus when they ↵Michael Alexsander2023-09-251-4/+1
|/ | | | appear
* [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-151-1/+1
|
* Improve undo action namesHaoyu Qiu2023-09-121-2/+2
| | | | | | | * Avoid concating strings manually for better i18n and easy l10n * Use `vformat` when possible * Use separate strings if the changing part is only a few hardcoded strings * Don't put a period at the end of the name
* Add EditorStringNames singletonkobewi2023-09-031-16/+17
|
* Translate undo/redo messages in settings dialogsHaoyu Qiu2023-04-231-2/+2
|
* Apply clamp_to_embedder on parent resize and popup.Ryan Roden-Corrent2023-03-271-0/+1
| | | | | | | | | | | Fixes #75084. The clamp_to_embedder setting was added in 8be16e0704873f0c9bab8c10dafe2607a00ff78f, but was not set on any of the in-editor dialogs. This patch sets `clamp_to_embedder` on editor dialogs so they cannot be dragged out of the frame. This also modifies `clamp_to_embedder` so a window is clamped to the bounds of an embedder when it pops up and when the parent is resized.
* Merge pull request #71379 from KoBeWi/destruction_of_compatibility_functionRémi Verschelde2023-01-181-5/+1
|\ | | | | Remove set_drag_forwarding_compat()
| * Remove set_drag_forwarding_compat()kobewi2023-01-141-5/+1
| |
* | Add EditorUndoRedoManager singletonkobewi2023-01-161-4/+4
|/
* Change set_drag_forwarding() to use callables.Juan Linietsky2023-01-101-1/+1
| | | | | | | | * This solution is much cleaner than the one in 3.x thanks to the use of callables. * Works without issues in any language (no need to worry about camel or snake case). * Editor code uses a compatibility function (too much work to redo). Fixes #59899
* 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".
* Merge pull request #67871 from Calinou/editor-theme-add-oled-presetRémi Verschelde2022-11-281-1/+1
|\ | | | | | | Add Black (OLED) editor theme preset
| * Add Black (OLED) editor theme presetHugo Locurcio2022-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This preset uses a fully black background to reduce power usage on OLED displays, leading to increased battery life on laptops with OLED displays. This preset is also useful for late night sessions, as OLED displays have a near-infinite contrast ratio. This also adds a Draw Extra Borders editor setting which draws borders around some interactive nodes. This setting is required for good usability of a theme with a fully black background. Visibility of disabled text (including unselected tab names) has been slightly increased for better accessibility, regardless of the editor theme preset in use.
* | Don't update EditorSettings dialog unnecessarilykobewi2022-11-211-1/+3
| |
* | Fix memory leak in `EditorSettingsDialog`Rindbee2022-11-111-0/+1
| | | | | | | | Delete `TreeItem`s that are not in `Tree`, `TreeItem` needs to be deleted manually.
* | Unify usage of undo_redo in editorkobewi2022-11-021-4/+4
|/
* Split `action_map_editor` file into one file per class it contained.Eric M2022-10-061-0/+2
| | | | | | * ActionMapEditor * EventListenerLineEdit * InputEventConfigurationDialog
* Add searching by event for Editor Settings shortcuts and Project Settings ↵EricEzaM2022-10-031-25/+46
| | | | | | | | | | input map. * Focus into the LineEdit, then perform input to search the list of events by the events assigned. * New specialised editor-only control for this: EventListenerLineEdit. Line edit is a good candidate for such a control because you can focus it, override it's input handling, and show the event all in one control. Update InputEventConfigurationDialog to use event listener line edit rather than the separate tabs. * Cleaner look - no need for tabs. * Simpler code.
* Merge pull request #65290 from requizm/fix/65081/cannot_set_escapeRémi Verschelde2022-09-251-0/+1
|\ | | | | | | Disabled "Escape" button when closing the shortcut window
| * Disabled "Escape" button when closing the shortcut windowrequizm2022-09-031-0/+1
| |
* | Update Editor Shortcuts tree creation to always have sections in same order.Eric M2022-09-171-24/+29
| |
* | Check TreeItem for nullptr before accessing.Eric M2022-09-151-0/+4
| |
* | Fix key mapping changes when moving from macOS to other platformbruvzg2022-09-071-1/+1
| | | | | | | | | | Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
* | Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-1/+1
|/ | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* 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`
* Add per-scene UndoRedokobewi2022-08-221-5/+5
|
* Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge2022-07-091-1/+1
|
* Merge pull request #61455 from fire-forge/tabRémi Verschelde2022-05-311-0/+1
|\ | | | | Add color contrast to TabContainer backgrounds in the editor
| * Use "odd" style for TabContainers on base BG colorFireForge2022-05-261-0/+1
| | | | | | | | - Use the "odd" style for TabContainers that are on a background with the same color as the default TabContainer background color to add contrast
* | Use consistent casing in editor filter/search barsFireForge2022-05-281-2/+2
|/
* Add the button pressed to some signals in Treetrollodel2022-05-211-2/+5
|
* Replace most uses of Map by HashMapreduz2022-05-161-2/+2
| | | | | | | | | | | | * Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!