kobewi
92f15d33ee
Improve FileDialog options
2025-04-24 17:12:53 +02:00
kobewi
e565ee86ce
FileDialog code cleanup
2025-04-23 19:28:14 +02:00
Pāvels Nadtočajevs
5b49fd4207
Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default.
2025-04-23 12:47:31 +03:00
A Thousand Ships
889410dcda
Add String::replace_char(s) methods for performance and convenience
2025-04-10 13:08:45 +02:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00
kobewi
83ee5e8556
Fix wrong translation method in FileDialog
2025-04-03 20:40:09 +02:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
kobewi
4ae87afaf6
Rework AcceptDialog's ok button text
2025-03-11 22:52:50 +01:00
A Thousand Ships
466590d0ec
Use get_slicec instead of get_slice for single character splitters
2025-03-08 20:36:37 +01:00
A Thousand Ships
5113022dfe
Clean up some uses of String::substr
...
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
bruvzg
3e4e6e6c0c
Improve native file dialog parent window selection.
2025-03-06 17:15:39 +02:00
bruvzg
1bdf84b31c
Sync native and embedded dialog missing extension handling.
2025-02-14 00:15:04 +02:00
Pāvels Nadtočajevs
ecff011671
[FileDialog] Update filename/buttons state when first item is selected on folder/filter change.
2025-02-11 11:18:23 +02:00
Pāvels Nadtočajevs
adceb32177
Fix FILE_MODE_OPEN_ANY file dialog not selecting folders.
2025-01-27 10:43:11 +02:00
Pāvels Nadtočajevs
e1f129cb52
Support MIME types in file dialog filters on macOS and Linux.
2025-01-04 22:05:35 +02:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
bruvzg
b9a00feb66
[Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter.
2024-12-19 09:47:46 +02:00
Chaosus
ba39b078f5
[Scene] Add SceneStringName::FlatButton
2024-12-10 11:12:26 +03:00
Thaddeus Crews
44cda51110
Merge pull request #98812 from bruvzg/macos_bundles_as_file
...
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 14:41:07 -06:00
Thaddeus Crews
6472e9e961
Merge pull request #99310 from syntaxerror247/filedialog_issue
...
Android: Set default ACCESS_FILESYSTEM root
2024-12-03 14:41:03 -06:00
bruvzg
d5e599f77e
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 12:41:52 +02:00
Pāvels Nadtočajevs
6a331dafe1
Fix native file dialog filter selection in save dialogs.
2024-12-02 18:38:53 +02:00
Anish Mishra
7f64f230a7
Android: Set FileDialog default Filesystem root
2024-12-02 21:58:09 +05:30
Rémi Verschelde
aab12fd273
Merge pull request #99652 from bruvzg/fd_cd_win
...
[Windows] Fix root and current folder in native file dialog.
2024-12-02 17:20:27 +01:00
Rémi Verschelde
60e1490df1
Merge pull request #99644 from bruvzg/fd_all_name
...
Change file dialog all files filter name from `All Files (*)` to `All Files (*.*)`.
2024-12-02 17:20:23 +01:00
A Thousand Ships
af56d6e8e8
Use SceneStringName in more places
2024-12-02 14:39:16 +01:00
Rémi Verschelde
8de2abd075
Merge pull request #85789 from DevilboxGames/FileDialogCaseSensitivity
...
Make `FileDialog` filtering case insensitive
2024-11-29 22:45:32 +01:00
Rémi Verschelde
a1365dcb12
Merge pull request #98765 from Calinou/editor-bottom-panel-no-icon-tint
...
Don't tint editor bottom panel icons when hovered or pressed
2024-11-29 22:01:55 +01:00
bruvzg
e0b4f3d314
[Windows] Fix root and current folder in native file dialog.
...
Co-authored-by: RedMser <redmser.jj2@gmail.com>
2024-11-25 15:00:25 +02:00
Pāvels Nadtočajevs
1d43fa9a64
Change file dialog all files filter name from All Files (*) to All Files(*.*).
2024-11-24 20:09:05 +02:00
A Thousand Ships
68f638cf02
Use (r)find_char instead of (r)find for single characters
2024-11-17 10:02:18 +01:00
Pāvels Nadtočajevs
f5fad7592f
Use processed filter list for native dialogs.
2024-11-15 12:08:33 +02:00
Pāvels Nadtočajevs
932b2269f8
Fix missing native file dialog title translation.
2024-11-14 14:48:52 +02:00
Hugo Locurcio
dafba55c69
Don't tint editor bottom panel icons when hovered or pressed
...
This prevents the error/warning icons from turning gray or green,
making them hard to recognize. A similar mechanism is already used
for EditorLog filter button icons.
This also fixes typos in FileDialog theme color assignment
(`icon_color_pressed` instead of `icon_pressed_color`). The exposed theme
item names remain the same.
2024-11-02 18:35:45 +01:00
Haoyu Qiu
b131476d40
Disable auto translate of FileDialog's file list
2024-11-01 12:41:56 +08:00
Anish Mishra
0dfd18c84b
[DisplayServer] Add feature flag for native file dialog access to user/res and options
2024-10-30 14:13:43 +05:30
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
Alex Darby
cd269b825f
Make File Dialog case insensitive
...
Change FileDialog and EditorFileDialog to use case insensitive string
comparisons when saving files to avoid duplicate file extensions.
2024-10-07 15:07:36 +01:00
vPumpking
62edb4eee8
Add filename filter field to FileDialog
...
Added possibility to filter files and folders through a text entry.
2024-10-04 11:12:33 +02:00
Giganzo
a863c385f7
Fix FileDialog default size
2024-09-17 14:35:18 +02:00
bruvzg
0a3a483ca7
Fix native file dialog showing on loading project in editor.
2024-09-12 10:49:50 +03:00
Rémi Verschelde
3cc99d3e31
Merge pull request #95983 from bruvzg/win_fd_opt_fix
...
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-09-04 17:11:57 +02:00
Yuri Rubinsky
52889ab7ee
[Scene] Add SceneStringName::toggled
2024-08-28 15:14:26 +03:00
bruvzg
ea252675aa
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
2024-08-23 09:53:16 +03:00
Yuri Rubinsky
af5fc8354b
Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit
2024-07-09 19:38:52 +03:00
A Thousand Ships
ca18a06ecb
[Scene] Add SceneStringNames::confirmed
2024-06-19 09:40:54 +02:00
A Thousand Ships
d9e2fc74c7
[Scene] Add SceneStringNames::item_selected
2024-06-19 09:39:05 +02:00
Anni Ryynänen
b14b222e9d
Fix native file dialogs being shown on set_visible(false)
2024-06-09 17:54:18 +03:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Gilles Roudière
7705265477
Fix PropertyListHelper::_get_property returning a valid value even if an index is outside the array valid indices
...
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-05-10 10:46:04 +02:00