Bitcoin Core  24.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
const PlatformStyle * m_platform_style
Definition: openuridialog.h:33
void accept() override
Ui::OpenURIDialog * ui
Definition: openuridialog.h:31
QString getURI()
void changeEvent(QEvent *e) override
OpenURIDialog(const PlatformStyle *platformStyle, QWidget *parent)