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