2015-12-13 16:58:29 +00:00
|
|
|
// Copyright (c) 2011-2015 The Bitcoin Core developers
|
2014-12-13 04:09:33 +00:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
2013-11-06 14:08:56 +00:00
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
2014-11-03 15:16:40 +00:00
|
|
|
#ifndef BITCOIN_QT_OPENURIDIALOG_H
|
|
|
|
#define BITCOIN_QT_OPENURIDIALOG_H
|
2013-11-06 14:08:56 +00:00
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
|
|
|
|
namespace Ui {
|
2014-09-05 11:18:35 +00:00
|
|
|
class OpenURIDialog;
|
2013-11-06 14:08:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
class OpenURIDialog : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2013-11-14 18:47:45 +00:00
|
|
|
explicit OpenURIDialog(QWidget *parent);
|
2013-11-06 14:08:56 +00:00
|
|
|
~OpenURIDialog();
|
|
|
|
|
|
|
|
QString getURI();
|
|
|
|
|
2015-07-14 11:59:05 +00:00
|
|
|
protected Q_SLOTS:
|
2013-11-06 14:08:56 +00:00
|
|
|
void accept();
|
|
|
|
|
2015-07-14 11:59:05 +00:00
|
|
|
private Q_SLOTS:
|
2013-11-06 14:08:56 +00:00
|
|
|
void on_selectFileButton_clicked();
|
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::OpenURIDialog *ui;
|
|
|
|
};
|
|
|
|
|
2014-11-03 15:16:40 +00:00
|
|
|
#endif // BITCOIN_QT_OPENURIDIALOG_H
|