PIVX Core  5.6.99
P2P Digital Currency
Public Slots | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SettingsSignMessageWidgets Class Reference

#include <signmessagewidgets.h>

Inheritance diagram for SettingsSignMessageWidgets:
[legend]
Collaboration diagram for SettingsSignMessageWidgets:
[legend]

Public Slots

void onSignMessageButtonSMClicked ()
 
void onVerifyMessage ()
 
void onGoClicked ()
 
void onClearAll ()
 
void onAddressesClicked ()
 
void onModeSelected (bool isSign)
 
void updateMode ()
 

Public Member Functions

 SettingsSignMessageWidgets (PIVXGUI *_window, QWidget *parent=nullptr)
 
 ~SettingsSignMessageWidgets ()
 
void setAddress_SM (const QString &address)
 
void showEvent (QShowEvent *event) override
 
- Public Member Functions inherited from PWidget
 PWidget (PIVXGUI *_window=nullptr, QWidget *parent=nullptr)
 
 PWidget (PWidget *parent=nullptr)
 
void setClientModel (ClientModel *model)
 
void setWalletModel (WalletModel *model)
 
PIVXGUIgetWindow ()
 
void run (int type) override
 
void onError (QString error, int type) override
 
void inform (const QString &message)
 
void emitMessage (const QString &title, const QString &message, unsigned int style, bool *ret=nullptr)
 
QString translate (const char *msg) override
 

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
 
- Protected Member Functions inherited from PWidget
virtual void loadClientModel ()
 
virtual void loadWalletModel ()
 
void showHideOp (bool show)
 
bool execute (int type, std::unique_ptr< WalletModel::UnlockContext > pctx=nullptr)
 
void warn (const QString &title, const QString &message)
 
bool ask (const QString &title, const QString &message)
 
void showDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 

Private Member Functions

void resizeMenu ()
 

Private Attributes

Ui::SettingsSignMessageWidgets * ui
 
QAction * btnContact
 
ContactsDropdownmenuContacts = nullptr
 
bool isSign = true
 

Additional Inherited Members

- Signals inherited from PWidget
void message (const QString &title, const QString &body, unsigned int style, bool *ret=nullptr)
 
void showHide (bool show)
 
bool execDialog (QDialog *dialog, int xDiv=3, int yDiv=5)
 
- Protected Slots inherited from PWidget
virtual void changeTheme (bool isLightTheme, QString &theme)
 
void onChangeTheme (bool isLightTheme, QString &theme)
 
- Protected Attributes inherited from PWidget
PIVXGUIwindow = nullptr
 
ClientModelclientModel = nullptr
 
WalletModelwalletModel = nullptr
 

Detailed Description

Definition at line 16 of file signmessagewidgets.h.

Constructor & Destructor Documentation

◆ SettingsSignMessageWidgets()

SettingsSignMessageWidgets::SettingsSignMessageWidgets ( PIVXGUI _window,
QWidget *  parent = nullptr 
)
explicit

Definition at line 20 of file signmessagewidgets.cpp.

Here is the call graph for this function:

◆ ~SettingsSignMessageWidgets()

SettingsSignMessageWidgets::~SettingsSignMessageWidgets ( )

Definition at line 78 of file signmessagewidgets.cpp.

Member Function Documentation

◆ onAddressesClicked

void SettingsSignMessageWidgets::onAddressesClicked ( )
slot

Definition at line 232 of file signmessagewidgets.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onClearAll

void SettingsSignMessageWidgets::onClearAll ( )
slot

Definition at line 127 of file signmessagewidgets.cpp.

Here is the caller graph for this function:

◆ onGoClicked

void SettingsSignMessageWidgets::onGoClicked ( )
slot

Definition at line 94 of file signmessagewidgets.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onModeSelected

void SettingsSignMessageWidgets::onModeSelected ( bool  isSign)
slot

Definition at line 88 of file signmessagewidgets.cpp.

Here is the call graph for this function:

◆ onSignMessageButtonSMClicked

void SettingsSignMessageWidgets::onSignMessageButtonSMClicked ( )
slot
Todo:
: change css..

Definition at line 135 of file signmessagewidgets.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onVerifyMessage

void SettingsSignMessageWidgets::onVerifyMessage ( )
slot

ui->addressIn_SM->clear(); ui->signatureOut_SM->clear(); ui->messageIn_SM->clear(); ui->statusLabel_SM->setStyleSheet("QLabel { color: transparent; }");

Definition at line 186 of file signmessagewidgets.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resizeEvent()

void SettingsSignMessageWidgets::resizeEvent ( QResizeEvent *  event)
overrideprotected

Definition at line 283 of file signmessagewidgets.cpp.

Here is the call graph for this function:

◆ resizeMenu()

void SettingsSignMessageWidgets::resizeMenu ( )
private

Definition at line 271 of file signmessagewidgets.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAddress_SM()

void SettingsSignMessageWidgets::setAddress_SM ( const QString &  address)

Definition at line 121 of file signmessagewidgets.cpp.

Here is the caller graph for this function:

◆ showEvent()

void SettingsSignMessageWidgets::showEvent ( QShowEvent *  event)
override

Definition at line 83 of file signmessagewidgets.cpp.

◆ updateMode

void SettingsSignMessageWidgets::updateMode ( )
slot

Definition at line 103 of file signmessagewidgets.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ btnContact

QAction* SettingsSignMessageWidgets::btnContact
private

Definition at line 38 of file signmessagewidgets.h.

◆ isSign

bool SettingsSignMessageWidgets::isSign = true
private

Definition at line 40 of file signmessagewidgets.h.

◆ menuContacts

ContactsDropdown* SettingsSignMessageWidgets::menuContacts = nullptr
private

Definition at line 39 of file signmessagewidgets.h.

◆ ui

Ui::SettingsSignMessageWidgets* SettingsSignMessageWidgets::ui
private

Definition at line 37 of file signmessagewidgets.h.


The documentation for this class was generated from the following files: