PIVX Core  5.6.99
P2P Digital Currency
welcomecontentwidget.h
Go to the documentation of this file.
1 // Copyright (c) 2019-2020 The PIVX 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 PIVX_QT_WELCOMECONTENTWIDGET_H
6 #define PIVX_QT_WELCOMECONTENTWIDGET_H
7 
8 #include <QWidget>
9 #include <QDialog>
10 #include <QPushButton>
11 class OptionsModel;
12 
13 namespace Ui {
15 }
16 
17 class WelcomeContentWidget : public QDialog
18 {
19  Q_OBJECT
20 
21 public:
22  explicit WelcomeContentWidget(QWidget *parent = nullptr);
24  int pos = 0;
25  bool isOk = false;
26 
28 
29 Q_SIGNALS:
31 
32 public Q_SLOTS:
33  void onNextClicked();
34  void onBackClicked();
35  void onSkipClicked();
36  void checkLanguage();
37 
38 private:
39  Ui::WelcomeContentWidget *ui;
40  QPushButton *icConfirm1;
41  QPushButton *icConfirm2;
42  QPushButton *icConfirm3;
43  QPushButton *icConfirm4;
44  QPushButton *backButton;
45  QPushButton *nextButton;
46 
48 
49  void initLanguages();
50 };
51 
52 #endif // PIVX_QT_WELCOMECONTENTWIDGET_H
Interface from Qt to configuration data structure for PIVX client.
Definition: optionsmodel.h:22
WelcomeContentWidget(QWidget *parent=nullptr)
void setModel(OptionsModel *model)
Ui::WelcomeContentWidget * ui