2017-11-09 19:34:51 +01:00
|
|
|
/*
|
|
|
|
|
* This file is part of the Flowee project
|
|
|
|
|
* Copyright (C) 2011-2015 The Bitcoin Core developers
|
|
|
|
|
*
|
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
* (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
2013-11-06 15:08:56 +01:00
|
|
|
|
2018-01-16 10:47:52 +00:00
|
|
|
#ifndef FLOWEE_QT_OPENURIDIALOG_H
|
|
|
|
|
#define FLOWEE_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();
|
|
|
|
|
|
2015-07-14 13:59:05 +02:00
|
|
|
protected Q_SLOTS:
|
2013-11-06 15:08:56 +01:00
|
|
|
void accept();
|
|
|
|
|
|
2015-07-14 13:59:05 +02:00
|
|
|
private Q_SLOTS:
|
2013-11-06 15:08:56 +01:00
|
|
|
void on_selectFileButton_clicked();
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
Ui::OpenURIDialog *ui;
|
|
|
|
|
};
|
|
|
|
|
|
2018-01-16 10:47:52 +00:00
|
|
|
#endif
|