uTrade Frontend Algo API  Version 1.0.0.0
μTrade HFT
API2::StrategyParameters Class Reference

Public Member Functions

 StrategyParameters (const QString &paramNameArg, const QString &colName, QWidget *uiWidget, short elementType, short dataType=API2::DATA_TYPE_UNSIGNED_LONG, short state=API2::UI_STATE_DISABLED, short showTableStatus=API2::TABLE_STATE_HIDE, short isDbColumn=API2::DB_FEILD_HIDE, short isUpdatable=API2::UPDATE_STATE_DISABLE, short portfolioState=API2::SHOW_IN_PORTFOLIO_DISABLE)
 Constructor structure name - DbName colName widget widgetype datatype string state enable tablestatus dbstatus isUpdatable.
 
void setVisible (bool isVisible)
 
QVariant getParamValue ()
 
QVariant getParamUIValue ()
 
QString getDoubleText ()
 
QVariant getValueFromDouble ()
 
void setValue (QVariant value)
 
void setUIValue (QVariant value)
 
void setEnabled (bool value)
 
void addItem (const QString str)
 
void setCurrentIndex (short index)
 
short getCurrenIndexComboBox ()
 
int findText (const QString &str)
 
void clear ()
 
bool compareValue (QVariant toCompare)
 
void setcolumnProperties (QString colName, int colIndex, bool show)
 
void setColumnEditable (bool type)
 
bool isColumnEditable ()
 
bool isDbField ()
 
bool isUpdatable ()
 
int getDecimals ()
 
QString ItemAt (int index)
 
void setColumnName (QString colName)
 
void setColumnIndex (int colIndex)
 
void showLabel (bool value)
 
void setFilterType (short type)
 
short getFilterType ()
 
void setWidget (QWidget *wid)
 
void setDefaultPrecision (bool isDefaultPrecision)
 
bool isDefaultPrecision ()
 
void setChecked (bool value)
 
void removeItem (int index)
 
QWidget * getElement ()
 
QString getWidgetName ()
 
short getElementType ()
 
short isShowInStrategyTable ()
 
short getElementDataType ()
 
bool isChecked ()
 
short getParamState ()
 
int Count ()
 
bool isGui ()
 
Qt::CheckState checkedState ()
 
qlonglong getLongLongValue ()
 
QString currentText ()
 
int currentIndex ()
 
int spinBoxValue ()
 
double dspinBoxValue ()
 
QString getParamName ()
 
QString getColumnName ()
 
int getColumnIndex ()
 
void setColumnHidden (bool isHidden)
 
bool isColumnHidden ()
 
void setSortingType (short type)
 
short getSortingType ()
 
void setPortfolioIndex (short index)
 
short getPortfolioIndex ()
 
bool isShowInPortfolio ()
 

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