2014-07-12 21:28:23 +05:30
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
2022-12-26 20:28:02 +05:30
|
|
|
#include <optional>
|
2014-07-12 21:28:23 +05:30
|
|
|
|
|
|
|
namespace GuiUtil
|
|
|
|
{
|
2022-12-26 20:28:02 +05:30
|
|
|
std::optional<QString> uploadPaste(const QString &name, const QString &text, QWidget *parentWidget);
|
2014-07-12 21:28:23 +05:30
|
|
|
void setClipboardText(const QString &text);
|
2015-09-10 03:23:33 +05:30
|
|
|
QStringList BrowseForFiles(QString context, QString caption, QString filter, QString defaultPath, QWidget *parentWidget);
|
2017-08-07 04:16:29 +05:30
|
|
|
QString BrowseForFile(QString context, QString caption, QString filter, QString defaultPath, QWidget *parentWidget);
|
2014-07-12 21:28:23 +05:30
|
|
|
}
|