PIVX Core  5.6.99
P2P Digital Currency
displayoptionswidget.h
Go to the documentation of this file.
1 // Copyright (c) 2019 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_SETTINGS_DISPLAYOPTIONSWIDGET_H
6 #define PIVX_QT_SETTINGS_DISPLAYOPTIONSWIDGET_H
7 
8 #include "pwidget.h"
9 #include <QDataWidgetMapper>
10 #include <QWidget>
11 
12 namespace Ui {
14 }
15 
17 {
18  Q_OBJECT
19 
20 public:
21  explicit SettingsDisplayOptionsWidget(PIVXGUI* _window = nullptr, QWidget *parent = nullptr);
23 
24  void setMapper(QDataWidgetMapper *mapper);
25  void initLanguages();
26  void loadClientModel() override;
27 
28 public Q_SLOTS:
29  void onResetClicked();
30 
31 Q_SIGNALS:
32  void saveSettings();
34 
35 private:
36  Ui::SettingsDisplayOptionsWidget *ui;
37 };
38 
39 #endif // PIVX_QT_SETTINGS_DISPLAYOPTIONSWIDGET_H
PIVX GUI main class.
Definition: pivxgui.h:46
Ui::SettingsDisplayOptionsWidget * ui
void setMapper(QDataWidgetMapper *mapper)
SettingsDisplayOptionsWidget(PIVXGUI *_window=nullptr, QWidget *parent=nullptr)