summaryrefslogtreecommitdiff
path: root/editor/settings_config_dialog.cpp
AgeCommit message (Collapse)Author
2021-06-20Merge pull request #48696 from madmiraal/fix-48692Rémi Verschelde
Fix `InputMap.action_erase_event()` failing to erase events correctly.
2021-06-04EditorSettings: Look for binding while filtering tooJonas Bernemann
2021-05-19Fix InputMap.action_erase_event() failing to erase events correctly.Marcel Admiraal
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-05Fixed crash in Editor Settings shortcuts UIEric M
2021-04-10Merge pull request #47596 from ↵Rémi Verschelde
EricEzaM/PR/fix-editor-settings-shortcuts-wrong-button-action Fixed Editor Shortcuts revert/edit/clear buttons performing the wrong action
2021-04-05Fix crashes in *_input functionsRafał Mikrut
2021-04-03Fixed Editor Shortcuts revert/edit/clear buttons performing the wrong action.EricEzaM
For shortcuts not in the 'Common' section, the wrong action was being executed. Fixes part of #47594
2021-02-19Added Built-in Action editor to Editor Settings dialog.Eric M
Built-in actions can now be edited for the Editor too. Also added usage of the new Event confifiguration dialog to for better UX.
2021-02-18Removed hardcoded shortcuts from /scene and converted to input actionsEric M
This removes hardcoded actions from things like LineEdit and TextEdit. Previously, things like copy, paste, etc were all hardcoded to Ctrl+C, Ctrl+V, etc. They could not be changed. This allows the possibility of them being changed, by making them use the action map. This has the added benefit of greatly simplifying the input handling logic in those controls. The logic which was previously in a huge and hard to follow switch statement has been extracted to individual methods.
2021-01-01Update copyright statements to 2021Rémi Verschelde
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 🎆
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-14Rename AcceptDialog get_ok() to get_ok_button()Marcel Admiraal
Also renames: - AcceptDialog add_cancel() to add_cancel_button() - ConfirmationDiaglog get_cancel() to get_cancel_button()
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-09-09Rename ShortCut to Shortcut which is more grammatically correctHugo Locurcio
See https://github.com/godotengine/godot/issues/16863#issuecomment-685236980.
2020-08-28Add placeholders to the searchbars in the Project/Editor settingsMichael Alexsander
2020-06-19Remove ToolButton in favor of ButtonHugo Locurcio
ToolButton has no redeeming differences with Button; it's just a Button with the Flat property enabled by default. Removing it avoids some confusion when creating GUIs. Existing ToolButtons will be converted to Buttons, but the Flat property won't be enabled automatically. This closes https://github.com/godotengine/godot-proposals/issues/1081.
2020-05-14Style: Enforce braces around if blocks and loopsRémi Verschelde
Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
2020-05-14Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde
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.
2020-04-02Replace NULL with nullptrlupoDharkael
2020-03-26Popups are now windows also (broken!)Juan Linietsky
2020-03-26Working multiple window support, including editorJuan Linietsky
2020-03-01Merge pull request #18020 from bruvzg/input_fix_non_latin_and_add_hw_scancodesRémi Verschelde
Fix non-latin layout scancodes on Linux, adds access to physical scancodes.
2020-02-28Signals: Port connect calls to use callable_mpRémi Verschelde
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.)
2020-02-25Rename `scancode` to `keycode`.bruvzg
Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
2020-02-21Huge Debugger/EditorDebugger refactor.Fabio Alessandrelli
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-01-01Update copyright statements to 2020Rémi Verschelde
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.
2019-12-24Cleans up headers included in editor_node.hHaoyu Qiu
2019-12-12Don't search in unassigned shortcut labels in the editor shortcutsHugo Locurcio
This also fades out shortcut labels for unassigned shortcuts, which makes for easier visual grepping. This closes #33299.
2019-11-04Fix key names being wrongly capitalized in the input map editorHugo Locurcio
This also fixes the prompt in the editor shortcuts dialog while removing duplicated code. This closes #33305.
2019-10-06Focus the search box when pressing Ctrl+F in Project/Editor SettingsHugo Locurcio
2019-09-20Distinguish editor-originating messages in the editor logHugo Locurcio
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
2019-05-28Merge pull request #28454 from homer666/popup-centered-maxsizeRémi Verschelde
Add `popup_centered_clamped()` method to Popup
2019-04-30Add Popup::popup_centered_clamped methodhomer666
- Also replace redundant duplicate code in editor dialogs with calls to popup_centered_clamped()
2019-04-21Improve wording of various messages and make casing more consistentHugo Locurcio
This also adds the number of selected projects to the confirmation dialog that appears before removing projects.
2019-03-25Use the "warning" color for the "restart required" labelHugo Locurcio
This makes the color match the warning icon placed besides the label.
2019-02-21Make translatable some undo/redo operations in the editorMichael Alexsander Silva Dias
2019-01-25Properly warn about the effects of changing an import type, as well as force ↵Juan Linietsky
editor restart. Fixes #23874
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-04Move "Dialog Bounds" from the Editor Settings to project's metadataMichael Alexsander Silva Dias
2018-10-01Fix warnings about uninitialized vars [-Wsometimes-uninitialized]Rémi Verschelde
Fixes the following Clang 7 warnings: ``` drivers/gles3/rasterizer_scene_gles3.cpp:1260:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:1280:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:1281:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:1282:10: warning: variable 'target' is used uninitialized whenever switch case is taken [-Wsometimes-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:1286:5: warning: variable 'target' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] editor/editor_properties_array_dict.cpp:982:15: warning: variable 'change_index' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] editor/editor_properties.cpp:2655:6: warning: variable 'lt' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] editor/settings_config_dialog.cpp:367:11: warning: variable 'current_search_box' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] ```
2018-09-15Fix crash on colour theme change, issue 21715Paulb23
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-08-11Do not use theme to set LineEdit right_iconŁukasz Rutkowski
2018-08-11Add clear text button to LineEditŁukasz Rutkowski
- Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
2018-07-19-Project/Editor settings now use new inspectorJuan Linietsky
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
2018-07-03Fix button regressionChaosus
2018-07-03Merge pull request #19244 from Chaosus/settingsperformance_and_colordeferredMax Hilbrunner
Increases settings apply speed and added deferred color setting to ColorPicker
2018-06-23Changed themes presets to String formatChaosus