33 #define GUI_USE_NATIVE_FILE_DIALOG 1 36 namespace visualization {
60 void AddFilter(
const char *filter,
const char *description);
65 void SetOnDone(std::function<
void(
const char *)> on_done);
76 std::unique_ptr<Impl> impl_;
virtual ~FileDialog()
Definition: FileDialog.cpp:327
void OnDone()
Definition: FileDialog.cpp:387
Base class for dialogs.
Definition: Dialog.h:38
Dialog(const char *title)
Definition: Dialog.cpp:42
void SetOnDone(std::function< void(const char *)> on_done)
The OnCancel and OnDone callbacks must be specified.
Definition: FileDialog.cpp:381
void AddFilter(const char *filter, const char *description)
Definition: FileDialog.cpp:357
Definition: FileDialog.h:41
Definition: FileDialog.cpp:124
void SetPath(const char *path)
Definition: FileDialog.cpp:329
Size CalcPreferredSize(const Theme &theme) const override
Definition: FileDialog.cpp:416
char type
Definition: FilePCD.cpp:60
void OnWillShow() override
Definition: FileDialog.cpp:385
Definition: PinholeCameraIntrinsic.cpp:35
FileDialog(Mode type, const char *title, const Theme &theme)
Definition: FileDialog.cpp:230
Mode
Definition: FileDialog.h:45
void SetOnCancel(std::function< void()> on_cancel)
The OnCancel and OnDone callbacks must be specified.
Definition: FileDialog.cpp:377