The ABIFunctionField class ABI functions widget.
More...
#include <abifunctionfield.h>
The ABIFunctionField class ABI functions widget.
Definition at line 17 of file abifunctionfield.h.
The FunctionType enum Function type to display.
| Enumerator |
|---|
| Create |
|
| SendTo |
|
| Call |
|
Definition at line 25 of file abifunctionfield.h.
| void ABIFunctionField::clear |
( |
| ) |
|
|
private |
| void ABIFunctionField::functionChanged |
( |
| ) |
|
|
signal |
| QList< QStringList > ABIFunctionField::getParamsValues |
( |
| ) |
|
getParamsValues Get the values of the whole list of input parameters for the selected function
- Returns
- Values of the parameters
Definition at line 135 of file abifunctionfield.cpp.
| QStringList ABIFunctionField::getParamValue |
( |
int |
paramID | ) |
|
getParamValue Get the value of the parameter with the id from the currently selected function
- Parameters
-
| paramID | Id of the input parameter |
- Returns
- Parameter value
Definition at line 127 of file abifunctionfield.cpp.
| int ABIFunctionField::getSelectedFunction |
( |
| ) |
const |
getSelectedFunction Get the ABI for the selected function from the contract
- Returns
- Selected function ABI
Definition at line 160 of file abifunctionfield.cpp.
| std::vector< std::vector< std::string > > ABIFunctionField::getValuesVector |
( |
| ) |
|
getValuesVector Get params values vector List of all parameters that can be sent to a function.
The parameter can be single value or list.
- Returns
- Values of the parameters
Definition at line 143 of file abifunctionfield.cpp.
| bool ABIFunctionField::isValid |
( |
| ) |
|
| void ABIFunctionField::on_currentIndexChanged |
( |
| ) |
|
|
slot |
| void ABIFunctionField::paintEvent |
( |
QPaintEvent * |
| ) |
|
|
protected |
| void ABIFunctionField::setContractABI |
( |
ContractABI * |
contractABI | ) |
|
setContractABI Set the contract ABI (list of functions from the contract)
- Parameters
-
Definition at line 121 of file abifunctionfield.cpp.
| void ABIFunctionField::updateABIFunctionField |
( |
| ) |
|
|
private |
updateABIFunctionField Populate the GUI control with functions
Definition at line 48 of file abifunctionfield.cpp.
| QVector<int> ABIFunctionField::m_abiFunctionList |
|
private |
| QComboBox* ABIFunctionField::m_comboBoxFunc |
|
private |
| QWidget* ABIFunctionField::m_func |
|
private |
| QLabel* ABIFunctionField::m_labelFunction |
|
private |
| QStackedWidget* ABIFunctionField::m_paramsField |
|
private |
The documentation for this class was generated from the following files: