1 #ifndef ABIFUNCTIONFIELD_H 2 #define ABIFUNCTIONFIELD_H 5 #include <QStackedWidget> 106 #endif // ABIFUNCTIONFIELD_H
const PlatformStyle * m_platformStyle
QStringList getParamValue(int paramID)
getParamValue Get the value of the parameter with the id from the currently selected function ...
ABIFunctionField(const PlatformStyle *platformStyle, FunctionType type, QWidget *parent=0)
ABIFunctionField Constructor.
QStackedWidget * m_paramsField
ContractABI * m_contractABI
QVector< int > m_abiFunctionList
std::vector< std::vector< std::string > > getValuesVector()
getValuesVector Get params values vector List of all parameters that can be sent to a function...
void setContractABI(ContractABI *contractABI)
setContractABI Set the contract ABI (list of functions from the contract)
QComboBox * m_comboBoxFunc
FunctionType
The FunctionType enum Function type to display.
FunctionType m_functionType
void on_currentIndexChanged()
int getSelectedFunction() const
getSelectedFunction Get the ABI for the selected function from the contract
void updateABIFunctionField()
updateABIFunctionField Populate the GUI control with functions
The ABIParamsField class List of parameters for contract function.
The ABIFunctionField class ABI functions widget.
PlatformStyle::TableColorType type
QList< QStringList > getParamsValues()
getParamsValues Get the values of the whole list of input parameters for the selected function ...
void clear()
clear Clear the GUI control
void paintEvent(QPaintEvent *)