PIVX Core  5.6.99
P2P Digital Currency
bittoolwidget.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_BITTOOLWIDGET_H
6 #define PIVX_QT_SETTINGS_BITTOOLWIDGET_H
7 
8 #include "contactsdropdown.h"
9 #include "key.h"
10 #include "pwidget.h"
11 #include <QWidget>
12 
13 namespace Ui {
15 }
16 
18 {
19  Q_OBJECT
20 
21 public:
22  explicit SettingsBitToolWidget(PIVXGUI* _window, QWidget *parent = nullptr);
24 protected:
25  void resizeEvent(QResizeEvent *event) override;
26 public Q_SLOTS:
27  void onEncryptSelected(bool isEncr);
28  void setAddress_ENC(const QString& address);
30  void onClearAll();
31  void onClearDecrypt();
32  void onAddressesClicked();
33  void onDecryptClicked();
35 
36 private:
37  Ui::SettingsBitToolWidget *ui;
38  QAction *btnContact;
40 
41  // Cached key
43 
44  void resizeMenu();
45 };
46 
47 #endif // PIVX_QT_SETTINGS_BITTOOLWIDGET_H
An encapsulated private key.
Definition: key.h:30
PIVX GUI main class.
Definition: pivxgui.h:46
Ui::SettingsBitToolWidget * ui
Definition: bittoolwidget.h:37
void setAddress_ENC(const QString &address)
SettingsBitToolWidget(PIVXGUI *_window, QWidget *parent=nullptr)
void resizeEvent(QResizeEvent *event) override
ContactsDropdown * menuContacts
Definition: bittoolwidget.h:39
void onEncryptSelected(bool isEncr)