SILICON
Loading...
Searching...
No Matches
fileDialogUtils.hpp File Reference
#include <functional>
#include <optional>
#include <QByteArray>
#include <QString>
Include dependency graph for fileDialogUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SILICON
namespace  SILICON::ui
namespace  SILICON::ui::fileDialog

Typedefs

using OpenContentCallback = std::function<void(const QString&, const QByteArray&)>

Functions

void openFileContent (QWidget *parent, const QString &caption, const QString &filter, OpenContentCallback callback, QObject *context)
std::optional< QString > saveFileContent (QWidget *parent, const QString &caption, const QString &suggestedFileName, const QString &filter, const QByteArray &content)