qt: add Open URI dialog
This commit is contained in:
34
src/qt/openuridialog.h
Normal file
34
src/qt/openuridialog.h
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user