MCPcopy Create free account
hub / github.com/chrxh/alien / showOpenFileDialog

Method showOpenFileDialog

source/Gui/GenericFileDialog.cpp:8–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include "WindowController.h"
7
8void GenericFileDialog::showOpenFileDialog(
9 std::string const& title,
10 std::string const& filter,
11 std::string startingPath,
12 std::function<void(std::filesystem::path const&)> const& actionFunc)
13{
14 _actionFunc = actionFunc;
15 ifd::FileDialog::Instance().Open("GenericFileDialog", title, filter, false, startingPath);
16}
17
18void GenericFileDialog::showSaveFileDialog(
19 std::string const& title,

Callers 6

onOpenGenomeMethod · 0.80
showMethod · 0.80
onOpenParametersMethod · 0.80
InputTextMethod · 0.80
onOpenPatternMethod · 0.80

Calls 1

OpenMethod · 0.45

Tested by

no test coverage detected