Bitcoin ABC  0.28.12
P2P Digital Currency
openuridialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2015 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_QT_OPENURIDIALOG_H
6 #define BITCOIN_QT_OPENURIDIALOG_H
7 
8 #include <QDialog>
9 
10 class CChainParams;
11 
12 namespace Ui {
13 class OpenURIDialog;
14 }
15 
16 class OpenURIDialog : public QDialog {
17  Q_OBJECT
18 
19 public:
20  explicit OpenURIDialog(const CChainParams &params, QWidget *parent);
22 
23  QString getURI();
24 
25 protected Q_SLOTS:
26  void accept() override;
27 
28 private Q_SLOTS:
30 
31 private:
32  Ui::OpenURIDialog *ui;
33  const QString uriScheme;
34 };
35 
36 #endif // BITCOIN_QT_OPENURIDIALOG_H
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
Definition: chainparams.h:74
void accept() override
Ui::OpenURIDialog * ui
Definition: openuridialog.h:32
QString getURI()
void on_selectFileButton_clicked()
const QString uriScheme
Definition: openuridialog.h:33
OpenURIDialog(const CChainParams &params, QWidget *parent)