Bitcoin Core  22.99.0
P2P Digital Currency
openuridialog.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2021 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 PlatformStyle;
11 
12 namespace Ui {
13  class OpenURIDialog;
14 }
15 
16 class OpenURIDialog : public QDialog
17 {
18  Q_OBJECT
19 
20 public:
21  explicit OpenURIDialog(const PlatformStyle* platformStyle, QWidget* parent);
23 
24  QString getURI();
25 
26 protected Q_SLOTS:
27  void accept() override;
28  void changeEvent(QEvent* e) override;
29 
30 private:
31  Ui::OpenURIDialog* ui;
32 
34 };
35 
36 #endif // BITCOIN_QT_OPENURIDIALOG_H
OpenURIDialog
Definition: openuridialog.h:16
OpenURIDialog::~OpenURIDialog
~OpenURIDialog()
Definition: openuridialog.cpp:27
OpenURIDialog::m_platform_style
const PlatformStyle * m_platform_style
Definition: openuridialog.h:33
OpenURIDialog::ui
Ui::OpenURIDialog * ui
Definition: openuridialog.h:31
OpenURIDialog::accept
void accept() override
Definition: openuridialog.cpp:37
Ui
Definition: addressbookpage.h:14
OpenURIDialog::OpenURIDialog
OpenURIDialog(const PlatformStyle *platformStyle, QWidget *parent)
Definition: openuridialog.cpp:16
OpenURIDialog::getURI
QString getURI()
Definition: openuridialog.cpp:32
PlatformStyle
Definition: platformstyle.h:13
OpenURIDialog::changeEvent
void changeEvent(QEvent *e) override
Definition: openuridialog.cpp:48