Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
ABIParamsField Class Reference

The ABIParamsField class List of parameters for contract function. More...

#include <abiparamsfield.h>

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

Public Member Functions

 ABIParamsField (const PlatformStyle *platformStyle, QWidget *parent=0)
 ABIParamsField Constructor. More...
 
void updateParamsField (const FunctionABI &function)
 updateParamsField Populate the GUI control with function parameters More...
 
QStringList getParamValue (int paramID)
 getParamValue Get the value of a specific parameter More...
 
QList< QStringList > getParamsValues ()
 getParamsValues Get the values of the whole list of input parameters More...
 
bool isValid ()
 

Private Attributes

QVBoxLayout * m_mainLayout
 
QList< ABIParam * > m_listParams
 
const PlatformStylem_platfromStyle
 

Detailed Description

The ABIParamsField class List of parameters for contract function.

Definition at line 16 of file abiparamsfield.h.

Constructor & Destructor Documentation

ABIParamsField::ABIParamsField ( const PlatformStyle platformStyle,
QWidget *  parent = 0 
)
explicit

ABIParamsField Constructor.

Parameters
parentParent windows of the GUI control

Definition at line 7 of file abiparamsfield.cpp.

Member Function Documentation

QList< QStringList > ABIParamsField::getParamsValues ( )

getParamsValues Get the values of the whole list of input parameters

Returns
Values of the parameters

Definition at line 39 of file abiparamsfield.cpp.

QStringList ABIParamsField::getParamValue ( int  paramID)

getParamValue Get the value of a specific parameter

Parameters
paramIDNumber of the parameter into the input list (0, 1, ...)
Returns
Value of the parameter

Definition at line 33 of file abiparamsfield.cpp.

bool ABIParamsField::isValid ( )

Definition at line 49 of file abiparamsfield.cpp.

void ABIParamsField::updateParamsField ( const FunctionABI function)

updateParamsField Populate the GUI control with function parameters

Parameters
functionContract function interface

Definition at line 17 of file abiparamsfield.cpp.

Here is the caller graph for this function:

Member Data Documentation

QList<ABIParam*> ABIParamsField::m_listParams
private

Definition at line 53 of file abiparamsfield.h.

QVBoxLayout* ABIParamsField::m_mainLayout
private

Definition at line 52 of file abiparamsfield.h.

const PlatformStyle* ABIParamsField::m_platfromStyle
private

Definition at line 54 of file abiparamsfield.h.


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