MCPcopy Create free account
hub / github.com/QNapi/qnapi / selectFiles

Method selectFiles

gui/src/qnapiopendialog.cpp:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80bool QNapiOpenDialog::selectFiles() {
81#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
82 files = getOpenFileNames(this, windowTitle(), directory().path(),
83 nameFilters().join("\n"));
84 return !files.isEmpty();
85#else
86 if (!placeWindow()) return false;
87 setFileMode(QFileDialog::ExistingFiles);
88 return exec();
89#endif
90}
91
92bool QNapiOpenDialog::selectDirectory() {
93#if defined(Q_OS_WIN) || defined(Q_OS_MAC)

Callers 1

showOpenDialogMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected