Commit Graph

89 Commits

Author SHA1 Message Date
fdc79f5286 Remaining FileDialog changes before unification 2025-10-02 19:13:04 +02:00
f88b51995b Expose FileDialog callbacks for getting custom icons 2025-10-01 12:08:34 +02:00
3615b188d7 Expose methods to access FileDialog's favorite/recent lists 2025-09-30 22:46:09 +02:00
c82f7feb53 Document that native file dialog is only available on Android 10+ devices. 2025-06-27 17:07:50 +05:30
cec5c89f9d Merge pull request #107143 from Mickeon/documentation-miscellaneous-oddities-part-5
Fix miscellaneous oddities around the class reference (part 5)
2025-06-13 15:53:47 +02:00
4b1d5b55c7 Allow customizing FileDialog's features 2025-06-11 20:12:15 +02:00
3613306bba Fix miscellaneous oddities around the class reference (part 5) 2025-06-06 15:21:25 +02:00
1e82bafa3a Remove redundant info on the enum types used 2025-06-04 08:21:47 +08:00
706bfd810b Add thumbnail mode to FIleDialog 2025-06-03 02:06:14 +02:00
f75c564d58 Add favorites and recent directories to FileDialog 2025-05-29 15:50:29 +02:00
1e50e05235 Merge pull request #105723 from KoBeWi/sortatron
Add file sort to FileDialog
2025-05-16 07:43:13 -05:00
33dcd7a6d9 Add file sort to FileDialog 2025-05-15 13:23:38 +02:00
076608c979 Improve default OK text in AcceptDialog 2025-05-14 23:08:22 +02:00
adceb32177 Fix FILE_MODE_OPEN_ANY file dialog not selecting folders. 2025-01-27 10:43:11 +02:00
e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
b2130efb31 [Android] Implement native file picker support 2024-10-30 14:53:02 +05:30
7ee72d2f81 Update use_native_dialog description in FileDialog 2024-10-16 15:33:47 +05:30
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
a863c385f7 Fix FileDialog default size 2024-09-17 14:35:18 +02:00
684f69a422 [Docs] Add some notes about native file dialog limitations. 2024-07-22 15:56:54 +03:00
61f7145f43 [Native File Dialog] Add support for using native dialogs in the editor. 2024-03-28 11:53:03 +02:00
6415ac27ec Update FileDialog filters documentation 2024-03-04 20:12:22 +01:00
fd3666298c Add create folder icon 2024-02-26 09:04:24 -05:00
a8f521bcad [Native File Dialog] Add support for adding custom options to the dialogs.
Add support for adding custom options (checkboxes and optionboxes) to the dialogs (both native and built-in).
2024-01-24 15:00:31 +02:00
4790da7900 [macOS] Implement optional native file selection dialog support for sandboxed apps. 2023-07-12 22:36:24 +03:00
81064cc239 Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).
2023-07-06 10:08:21 +02:00
346f1ab86b Bump version to 4.2-dev
Keep on waitin'
2023-07-05 22:07:03 +02:00
151a4ba6a5 Overhaul the top sections of the class reference (GUI classes) 2023-05-28 14:24:54 +02:00
a5778da55b docs/FileDialog: Use clickable references
This replaces two [code][/code] blocks with clickable refs to [enum Access] and [member file_mode] respectively.
2023-04-10 15:13:20 +02:00
1c1524a651 Bump version to 4.1-dev
Can't stop, won't stop, they said, huh?
2023-03-01 01:44:37 +01:00
43f03e2ce6 Improve naming of theme properties throughout GUI code
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-06 22:53:17 +03:00
d20b32186f [Web] Rename JavaScript platform to Web.
Also rename export name from "HTML5" to "Web".
2022-08-29 11:52:00 +02:00
ea2192b99e [doc] Use "param" instead of "code" to refer to parameters (6) 2022-08-12 12:07:53 -04:00
c5d7115038 Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
af19501cc7 Seperate filter and description in FileDialog.add_filter() 2022-07-09 10:51:45 -05:00
9d48cd502b Add root_subfolder to FileDialog 2022-06-28 18:56:18 +02:00
8962d2760d Tweak the disabled files text color in FileDialog for readability
Contrast rate is still fairly low, but the text needs to be easy enough
to distinguish from non-disabled items.
2022-05-20 16:59:34 +02:00
71da4c4132 Merge pull request #54399 from Calinou/filedialog-current-properties-hint-no-editor
Don't store and show current file/directory/path FileDialog properties
2022-03-12 20:48:32 +01:00
b68dd2e189 Add an XML schema for documentation
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.

Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-15 00:03:31 +01:00
123cfb4759 Update description of FileDialog filters property
specify that multiple filetypes/extensions can be included in one filter within the
PackedStringArray, and provide an example
2022-01-11 18:04:14 -07:00
b403954e41 Improve FileDialog filters 2022-01-08 16:27:15 +01:00
b3992f7e6e Make overridden properties link to parent definition
Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
2021-12-03 17:47:22 +03:00
397e56964d Sort and group theme properties in docs, improve formatting for theme and enums 2021-12-01 21:02:20 +03:00
2ad6e11b78 Don't store and show current file/directory/path FileDialog properties
These properties are only useful at run-time, so they don't need
to be displayed in the editor and stored.
2021-10-29 20:16:45 +02:00
07725b611b Add warnings to methods that give access to internal nodes 2021-10-10 22:57:58 +03:00
bf2839ea3e Add theme item descriptions to the online documentation 2021-08-04 22:27:10 +03:00
7adf4cc9b5 doc: Use self-closing tags for return and argument
For the time being we don't support writing a description for those, preferring
having all details in the method's description.

Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
2021-07-30 15:29:52 +02:00
0ff4095b36 Better format arguments in variant parser 2021-06-18 00:06:40 -03:00
b202a0dd2a FileDialog: add Back/Forward buttons, add message for inaccessible folders. 2021-03-23 08:03:41 +02:00
7b293eddfb Rename unselect to deselect 2020-12-21 10:26:41 +00:00