summaryrefslogtreecommitdiff
path: root/editor/editor_settings_dialog.cpp
AgeCommit message (Collapse)Author
2023-01-05One Copyright Update to rule them allRémi Verschelde
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".
2022-11-28Merge pull request #67871 from Calinou/editor-theme-add-oled-presetRémi Verschelde
Add Black (OLED) editor theme preset
2022-11-21Don't update EditorSettings dialog unnecessarilykobewi
2022-11-11Fix memory leak in `EditorSettingsDialog`Rindbee
Delete `TreeItem`s that are not in `Tree`, `TreeItem` needs to be deleted manually.
2022-11-02Unify usage of undo_redo in editorkobewi
2022-10-26Add Black (OLED) editor theme presetHugo Locurcio
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.
2022-10-06Split `action_map_editor` file into one file per class it contained.Eric M
* ActionMapEditor * EventListenerLineEdit * InputEventConfigurationDialog
2022-10-03Add searching by event for Editor Settings shortcuts and Project Settings ↵EricEzaM
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.
2022-09-25Merge pull request #65290 from requizm/fix/65081/cannot_set_escapeRémi Verschelde
Disabled "Escape" button when closing the shortcut window
2022-09-17Update Editor Shortcuts tree creation to always have sections in same order.Eric M
2022-09-15Check TreeItem for nullptr before accessing.Eric M
2022-09-07Fix key mapping changes when moving from macOS to other platformbruvzg
Removes separate `Command` key (use `Meta` instead). Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-06Improve naming of theme properties throughout GUI codeYuri Sizov
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
2022-09-03Disabled "Escape" button when closing the shortcut windowrequizm
2022-08-30Rename TreeItem's `set_tooltip` to `set_tooltip_text`Micky
`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`
2022-08-22Add per-scene UndoRedokobewi
2022-07-09Add ok_button_text to AcceptDialog and cancel_button_text to ConfirmationDialogFireForge
2022-05-31Merge pull request #61455 from fire-forge/tabRémi Verschelde
Add color contrast to TabContainer backgrounds in the editor
2022-05-28Use consistent casing in editor filter/search barsFireForge
2022-05-26Use "odd" style for TabContainers on base BG colorFireForge
- Use the "odd" style for TabContainers that are on a background with the same color as the default TabContainer background color to add contrast
2022-05-21Add the button pressed to some signals in Treetrollodel
2022-05-16Replace most uses of Map by HashMapreduz
* 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!
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-06Cleanup metadata usagekobewi
2022-04-05[Input] Add extra `shortcut_input` input processing step to process Unicode ↵bruvzg
character input with Alt / Ctrl modifiers, after processing of shortcuts.
2022-03-28Add property name style toggle to InspectorHaoyu Qiu
2022-03-17Make `TabBar/Container` default their alignments to the left instead of centerMichael Alexsander
2022-03-12Initialize bools in the headers in editorAaron Franke
2022-03-10Merge pull request #58706 from timothyqiu/property-i18nRémi Verschelde
2022-03-10Merge pull request #56476 from gerhean/fix_shortcut_collapse_after_editRémi Verschelde
2022-03-05Fix color pickers closing in editor settingskobewi
2022-03-05Merge pull request #53839 from EricEzaM/editor-settings-changed-settingsRémi Verschelde
Added ability to get list of editor settings changed when saving editor settings. Optimised settings changed notification.
2022-03-05Made use of EditorSettings 'settings changed' to optimise settings changed ↵Eric M
notifications.
2022-03-03Make `TabContainer` use `TabBar` internallyMichael Alexsander
2022-03-03i18n: Make property paths and categories translatableHaoyu Qiu
2022-02-18Fixed issues with shortcut checking in 3d node editorEric M
The freelook shortcuts now use the action system by proxy. This allows the actions system to be leveraged for input checking. When the shortcut changes, the respective action is updated.
2022-02-16Port existing _notification code to use switch statements (part 1/3)jmb462
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker
2022-02-08Re-add missing `SNAME` macros in `get_theme_*` callsRémi Verschelde
They were removed in the previous commit reverting the addition of `SNAME` to `add_theme_*` and theme setter methods, which is not wanted.
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
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.
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-05Add shortcut_cell double click functionalityGer Hean
2022-02-05Fix shortcut collapse after editGer Hean
2022-02-01Minor fixes/refactoring of project and editor setting dialogsHendrik Brucker