Fabcoin Core
0.16.2
P2P Digital Currency
|
Dialog for editing a contract information. More...
#include <editcontractinfodialog.h>
Public Types | |
enum | Mode { NewContractInfo, EditContractInfo } |
Public Slots | |
void | accept () |
void | on_newContractABI () |
Public Member Functions | |
EditContractInfoDialog (Mode mode, QWidget *parent=0) | |
~EditContractInfoDialog () | |
bool | isValidContractAddress () |
bool | isValidInterfaceABI () |
bool | isDataValid () |
void | setModel (ContractTableModel *model) |
void | loadRow (int row) |
QString | getAddress () const |
void | setAddress (const QString &address) |
QString | getABI () const |
void | setABI (const QString &ABI) |
Private Member Functions | |
bool | saveCurrentRow () |
Private Attributes | |
Ui::EditContractInfoDialog * | ui |
QDataWidgetMapper * | mapper |
Mode | mode |
ContractTableModel * | model |
ContractABI * | m_contractABI |
QString | address |
QString | ABI |
Dialog for editing a contract information.
Definition at line 19 of file editcontractinfodialog.h.
Enumerator | |
---|---|
NewContractInfo | |
EditContractInfo |
Definition at line 24 of file editcontractinfodialog.h.
|
explicit |
EditContractInfoDialog::~EditContractInfoDialog | ( | ) |
Definition at line 52 of file editcontractinfodialog.cpp.
|
slot |
Definition at line 127 of file editcontractinfodialog.cpp.
QString EditContractInfoDialog::getABI | ( | ) | const |
Definition at line 182 of file editcontractinfodialog.cpp.
QString EditContractInfoDialog::getAddress | ( | ) | const |
Definition at line 171 of file editcontractinfodialog.cpp.
bool EditContractInfoDialog::isDataValid | ( | ) |
Definition at line 70 of file editcontractinfodialog.cpp.
bool EditContractInfoDialog::isValidContractAddress | ( | ) |
Definition at line 58 of file editcontractinfodialog.cpp.
bool EditContractInfoDialog::isValidInterfaceABI | ( | ) |
Definition at line 64 of file editcontractinfodialog.cpp.
void EditContractInfoDialog::loadRow | ( | int | row | ) |
Definition at line 94 of file editcontractinfodialog.cpp.
|
slot |
Definition at line 157 of file editcontractinfodialog.cpp.
|
private |
Definition at line 99 of file editcontractinfodialog.cpp.
void EditContractInfoDialog::setABI | ( | const QString & | ABI | ) |
Definition at line 187 of file editcontractinfodialog.cpp.
void EditContractInfoDialog::setAddress | ( | const QString & | address | ) |
Definition at line 176 of file editcontractinfodialog.cpp.
void EditContractInfoDialog::setModel | ( | ContractTableModel * | model | ) |
Definition at line 82 of file editcontractinfodialog.cpp.
|
private |
Definition at line 58 of file editcontractinfodialog.h.
|
private |
Definition at line 57 of file editcontractinfodialog.h.
|
private |
Definition at line 55 of file editcontractinfodialog.h.
|
private |
Definition at line 52 of file editcontractinfodialog.h.
|
private |
Definition at line 53 of file editcontractinfodialog.h.
|
private |
Definition at line 54 of file editcontractinfodialog.h.
|
private |
Definition at line 51 of file editcontractinfodialog.h.