aboutsummaryrefslogtreecommitdiff
path: root/src/qt/openuridialog.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-11-06 15:08:56 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-11-11 14:29:49 +0100
commit4c6035860448656c67fa60fef6b020aafbb2e208 (patch)
treed293e815b23f69b3f9555840af61ddf1d6c8fe79 /src/qt/openuridialog.h
parent3a8915d9a85b37f6c58a512fc11457eaa3d3570e (diff)
qt: add Open URI dialog
Diffstat (limited to 'src/qt/openuridialog.h')
-rw-r--r--src/qt/openuridialog.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/qt/openuridialog.h b/src/qt/openuridialog.h
new file mode 100644
index 0000000000..3b9ff0a8e1
--- /dev/null
+++ b/src/qt/openuridialog.h
@@ -0,0 +1,34 @@
+// 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.
+
+#ifndef OPENURIDIALOG_H
+#define OPENURIDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+class OpenURIDialog;
+}
+
+class OpenURIDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit OpenURIDialog(QWidget *parent = 0);
+ ~OpenURIDialog();
+
+ QString getURI();
+
+protected slots:
+ void accept();
+
+private slots:
+ void on_selectFileButton_clicked();
+
+private:
+ Ui::OpenURIDialog *ui;
+};
+
+#endif // OPENURIDIALOG_H