summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/FilePicker.h
AgeCommit message (Collapse)Author
2020-07-19LibGUI: Show the special home directory icon in GUI::FilePickerAndreas Kling
2020-07-16LibGUI: Add parent window argument to FilePicker functionsTom
Since FilePicker almost always should be modal, add the parent window as mandatory first argument.
2020-07-13LibGUI: Add Options flags and OpenMultiple mode for FilePickerTom
If the application can't open more than one file, we should not allow the user to select multiple.
2020-07-13LibGUI: Add ModelClient abstract class and allow registering clientsTom
This solves a problem where the SortingProxyModel doesn't receive the on_update call because other code overwrote the handler later on.
2020-06-30LibGUI: Only show FilePicker preview pane on demandLinus Groh
FilePicker::set_preview() and FilePicker::clear_preview() now show and hide the preview pane respectively.
2020-06-27LibGUI: Fix image preview size in FilePicker for large imagesHüseyin ASLITÜRK
Image preview widget overflow to other widgets in FilePicker dialog when image is larger than 160px. Also change the ImagePreview widget variable name for align to naming standards.
2020-06-18FilePicker: Replace Label with Image component to show iconsHüseyin ASLITÜRK
2020-05-29Meta: Add a script check the presence of "#pragma once" in header filesEmanuele Torre
.. and make travis run it. I renamed check-license-headers.sh to check-style.sh and expanded it so that it now also checks for the presence of "#pragma once" in .h files. It also checks the presence of a (single) blank line above and below the "#pragma once" line. I also added "#pragma once" to all the files that need it: even the ones we are not check. I also added/removed blank lines in order to make the script not fail. I also ran clang-format on the files I modified.
2020-05-26AK: Rename FileSystemPath -> LexicalPathSergey Bugaev
And move canonicalized_path() to a static method on LexicalPath. This is to make it clear that FileSystemPath/canonicalized_path() only perform *lexical* canonicalization.
2020-04-19LibCore: Add StandardPaths thing to retrieve various standard locationsAndreas Kling
Fixes #1853.
2020-03-04LibGUI: Don't use Core::Object::add() to instantiate dialogsAndreas Kling
Now that add() returns a WidgetType&, we can't rely on the parent of a GUI::Dialog to still keep it alive after exec() returns. This happens because exec() will call remove_from_parent() on itself before returning. And so we go back to the old idiom for creating a GUI::Dialog centered above a specific window. Just call GUI::Dialog::construct(), passing the "parent" window as the last parameter.
2020-02-24LibGUI: Use MultiView in FilePickerAndreas Kling
This allows the user to switch between different view modes. Fixes #1283.
2020-02-16LibGUI: Add forwarding headerAndreas Kling
This patch adds <LibGUI/Forward.h> and uses it a bunch. It also dragged various header dependency reduction changes into it.
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling