PIVX Core  5.6.99
P2P Digital Currency
openuridialog.h
Go to the documentation of this file.
1 // Copyright (c) 2019-2021 The PIVX Core developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef PIVX_QT_OPENURIDIALOG_H
6 #define PIVX_QT_OPENURIDIALOG_H
7 
8 #include "snackbar.h"
9 #include <QDialog>
10 
11 namespace Ui
12 {
13 class OpenURIDialog;
14 }
15 
16 class OpenURIDialog : public QDialog
17 {
18  Q_OBJECT
19 
20 public:
21  explicit OpenURIDialog(QWidget* parent);
23 
24  QString getURI();
25  void showEvent(QShowEvent *event) override;
26 
27 protected Q_SLOTS:
28  void accept() override;
29 
30 private:
31  Ui::OpenURIDialog* ui;
32  SnackBar *snackBar = nullptr;
33  void inform(const QString& str);
34 };
35 
36 #endif // PIVX_QT_OPENURIDIALOG_H
void showEvent(QShowEvent *event) override
void accept() override
Ui::OpenURIDialog * ui
Definition: openuridialog.h:31
QString getURI()
void inform(const QString &str)
OpenURIDialog(QWidget *parent)
SnackBar * snackBar
Definition: openuridialog.h:32