THERM Class Reference

#include <THERM.h>

Inheritance diagram for THERM:

Inheritance graph
[legend]
Collaboration diagram for THERM:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 THERM ()
virtual ~THERM ()
Indicatorcalculate ()
int indicatorPrefDialog (QWidget *)
void setDefaults ()
PlotLinecalculateCustom (QString &, QPtrList< PlotLine > &)
void getIndicatorSettings (Setting &)
void setIndicatorSettings (Setting &)
void formatDialog (QStringList &vl, QString &rv, QString &rs)
void getTHERM (QPtrList< PlotLine > &)

Private Attributes

QColor downColor
QColor upColor
QColor threshColor
QColor maColor
PlotLine::LineType lineType
PlotLine::LineType maLineType
QString label
QString maLabel
double threshold
int smoothing
int maPeriod
int maType
int smoothType
QString upColorLabel
QString downColorLabel
QString threshColorLabel
QString labelLabel
QString thresholdLabel
QString smoothingLabel
QString smoothTypeLabel
QString maColorLabel
QString maLineTypeLabel
QString maPeriodLabel
QString maLabelLabel
QString maTypeLabel
QString pluginLabel


Detailed Description

Definition at line 25 of file THERM.h.


Constructor & Destructor Documentation

THERM::THERM (  ) 

Definition at line 31 of file THERM.cpp.

References downColorLabel, IndicatorPlugin::FormatDouble, IndicatorPlugin::FormatInteger, IndicatorPlugin::formatList, IndicatorPlugin::FormatMAType, IndicatorPlugin::helpFile, labelLabel, maColorLabel, maLabelLabel, maLineTypeLabel, maPeriodLabel, maTypeLabel, pluginLabel, IndicatorPlugin::pluginName, setDefaults(), smoothingLabel, smoothTypeLabel, threshColorLabel, thresholdLabel, and upColorLabel.

THERM::~THERM (  )  [virtual]

Definition at line 60 of file THERM.cpp.


Member Function Documentation

Indicator * THERM::calculate (  )  [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 81 of file THERM.cpp.

References Indicator::addLine(), IndicatorPlugin::dateFlag, getTHERM(), IndicatorPlugin::logScale, Indicator::setDateFlag(), and Indicator::setLogScale().

int THERM::indicatorPrefDialog ( QWidget *  w  )  [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 165 of file THERM.cpp.

References PrefDialog::addColorItem(), PrefDialog::addComboItem(), PrefDialog::addDoubleItem(), PrefDialog::addIntItem(), PrefDialog::addTextItem(), PrefDialog::createPage(), downColor, PrefDialog::getColor(), PrefDialog::getComboIndex(), PrefDialog::getDouble(), PrefDialog::getInt(), IndicatorPlugin::getMATypes(), PrefDialog::getText(), IndicatorPlugin::helpFile, label, IndicatorPlugin::lineTypes, maColor, maLabel, maLineType, maPeriod, maType, PrefDialog::setHelpFile(), smoothing, smoothType, threshColor, threshold, and upColor.

void THERM::setDefaults (  ) 

Definition at line 64 of file THERM.cpp.

References downColor, PlotLine::HistogramBar, label, PlotLine::Line, lineType, maColor, maLabel, maLineType, maPeriod, maType, IndicatorPlugin::pluginName, smoothing, smoothType, threshColor, threshold, and upColor.

Referenced by setIndicatorSettings(), and THERM().

PlotLine * THERM::calculateCustom ( QString &  p,
QPtrList< PlotLine > &  d 
) [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 315 of file THERM.cpp.

References IndicatorPlugin::checkFormat(), IndicatorPlugin::formatStringList, IndicatorPlugin::getMATypes(), getTHERM(), maPeriod, maType, smoothing, smoothType, and threshold.

void THERM::getIndicatorSettings ( Setting dict  )  [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 287 of file THERM.cpp.

References downColor, downColorLabel, label, labelLabel, maColor, maColorLabel, maLabel, maLabelLabel, maLineType, maLineTypeLabel, maPeriod, maPeriodLabel, maType, maTypeLabel, pluginLabel, IndicatorPlugin::pluginName, Setting::setData(), smoothing, smoothingLabel, smoothType, smoothTypeLabel, threshColor, threshColorLabel, threshold, thresholdLabel, upColor, and upColorLabel.

void THERM::setIndicatorSettings ( Setting dict  )  [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 230 of file THERM.cpp.

References Setting::count(), downColor, downColorLabel, Setting::getData(), label, labelLabel, maColor, maColorLabel, maLabel, maLabelLabel, maLineType, maLineTypeLabel, maPeriod, maPeriodLabel, maType, maTypeLabel, setDefaults(), smoothing, smoothingLabel, smoothType, smoothTypeLabel, threshColor, threshColorLabel, threshold, thresholdLabel, upColor, and upColorLabel.

void THERM::formatDialog ( QStringList &  vl,
QString &  rv,
QString &  rs 
) [virtual]

Reimplemented from IndicatorPlugin.

Definition at line 341 of file THERM.cpp.

References PrefDialog::addComboItem(), PrefDialog::addDoubleItem(), PrefDialog::addIntItem(), PrefDialog::addTextItem(), PrefDialog::createPage(), PrefDialog::getCombo(), PrefDialog::getDouble(), PrefDialog::getInt(), IndicatorPlugin::getMATypes(), PrefDialog::getText(), IndicatorPlugin::helpFile, maPeriod, maType, PrefDialog::setHelpFile(), smoothing, smoothType, and threshold.

void THERM::getTHERM ( QPtrList< PlotLine > &  pll  ) 

Definition at line 98 of file THERM.cpp.

References PlotLine::append(), BarData::count(), IndicatorPlugin::data, downColor, PlotLine::getData(), BarData::getHigh(), BarData::getLow(), IndicatorPlugin::getMA(), PlotLine::getSize(), label, lineType, maColor, maLabel, maLineType, maPeriod, maType, PlotLine::setColor(), PlotLine::setColorBar(), PlotLine::setColorFlag(), PlotLine::setLabel(), PlotLine::setType(), smoothing, smoothType, threshColor, threshold, and upColor.

Referenced by calculate(), and calculateCustom().


Member Data Documentation

QColor THERM::downColor [private]

Definition at line 40 of file THERM.h.

Referenced by getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

QColor THERM::upColor [private]

Definition at line 41 of file THERM.h.

Referenced by getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

QColor THERM::threshColor [private]

Definition at line 42 of file THERM.h.

Referenced by getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

QColor THERM::maColor [private]

Definition at line 43 of file THERM.h.

Referenced by getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

PlotLine::LineType THERM::lineType [private]

Definition at line 44 of file THERM.h.

Referenced by getTHERM(), and setDefaults().

PlotLine::LineType THERM::maLineType [private]

Definition at line 45 of file THERM.h.

Referenced by getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

QString THERM::label [private]

Definition at line 46 of file THERM.h.

Referenced by getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

QString THERM::maLabel [private]

Definition at line 47 of file THERM.h.

Referenced by getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

double THERM::threshold [private]

Definition at line 48 of file THERM.h.

Referenced by calculateCustom(), formatDialog(), getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

int THERM::smoothing [private]

Definition at line 49 of file THERM.h.

Referenced by calculateCustom(), formatDialog(), getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

int THERM::maPeriod [private]

Definition at line 50 of file THERM.h.

Referenced by calculateCustom(), formatDialog(), getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

int THERM::maType [private]

Definition at line 51 of file THERM.h.

Referenced by calculateCustom(), formatDialog(), getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

int THERM::smoothType [private]

Definition at line 52 of file THERM.h.

Referenced by calculateCustom(), formatDialog(), getIndicatorSettings(), getTHERM(), indicatorPrefDialog(), setDefaults(), and setIndicatorSettings().

QString THERM::upColorLabel [private]

Definition at line 54 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::downColorLabel [private]

Definition at line 55 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::threshColorLabel [private]

Definition at line 56 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::labelLabel [private]

Definition at line 57 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::thresholdLabel [private]

Definition at line 58 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::smoothingLabel [private]

Definition at line 59 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::smoothTypeLabel [private]

Definition at line 60 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::maColorLabel [private]

Definition at line 61 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::maLineTypeLabel [private]

Definition at line 62 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::maPeriodLabel [private]

Definition at line 63 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::maLabelLabel [private]

Definition at line 64 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::maTypeLabel [private]

Definition at line 65 of file THERM.h.

Referenced by getIndicatorSettings(), setIndicatorSettings(), and THERM().

QString THERM::pluginLabel [private]

Definition at line 66 of file THERM.h.

Referenced by getIndicatorSettings(), and THERM().


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