#include <IndicatorPlot.h>
Definition at line 45 of file IndicatorPlot.h.
IndicatorPlot::IndicatorPlot | ( | QWidget * | w, | |
DBIndex * | i | |||
) |
Definition at line 60 of file IndicatorPlot.cpp.
References backgroundColor, borderColor, chartIndex, chartMenu, coList, coSelected, crossHairFlag, crosshairs, BarData::DailyBar, data, dateFlag, drawMode, gridColor, gridFlag, indy, infoFlag, interval, logScale, menuFlag, mouseFlag, None, pixelspace, plotFont, plotFontMetrics, scaleToScreen, startIndex, and startX.
IndicatorPlot::~IndicatorPlot | ( | ) |
Definition at line 101 of file IndicatorPlot.cpp.
References chartMenu, Config::closePlugins(), and config.
void IndicatorPlot::statusMessage | ( | QString | ) | [signal] |
Referenced by mousePressEvent(), printChart(), slotMessage(), and updateStatusBar().
void IndicatorPlot::leftMouseButton | ( | int | , | |
int | , | |||
bool | ||||
) | [signal] |
Referenced by mousePressEvent().
void IndicatorPlot::keyPressed | ( | QKeyEvent * | ) | [signal] |
Referenced by keyPressEvent().
void IndicatorPlot::signalEditIndicator | ( | QString | ) | [signal] |
Referenced by slotEditIndicator().
void IndicatorPlot::signalNewIndicator | ( | ) | [signal] |
Referenced by slotNewIndicator().
void IndicatorPlot::signalMinPixelspace | ( | int | ) | [signal] |
void IndicatorPlot::signalDraw | ( | ) | [signal] |
Referenced by addChartObject(), draw(), and slotNewChartObject().
void IndicatorPlot::signalDateFlag | ( | bool | ) | [signal] |
Referenced by toggleDate().
void IndicatorPlot::signalLogFlag | ( | bool | ) | [signal] |
Referenced by toggleLog().
void IndicatorPlot::signalEditChart | ( | QString | ) | [signal] |
Referenced by slotEditChart().
void IndicatorPlot::signalDeleteAllCO | ( | ) | [signal] |
Referenced by slotDeleteAllChartObjects().
void IndicatorPlot::signalDeleteCO | ( | QString | ) | [signal] |
Referenced by slotChartObjectDeleted().
void IndicatorPlot::signalSaveCO | ( | Setting | ) | [signal] |
Referenced by saveChartObject(), and saveChartObjects().
void IndicatorPlot::clear | ( | ) |
Definition at line 107 of file IndicatorPlot.cpp.
References coList, crossHairFlag, data, indy, mouseFlag, None, and saveChartObjects().
Referenced by Plot::clear().
void IndicatorPlot::setData | ( | BarData * | l | ) |
Definition at line 124 of file IndicatorPlot.cpp.
References BarData::count(), and data.
Referenced by Plot::setData().
void IndicatorPlot::setLogScale | ( | bool | d | ) |
Definition at line 137 of file IndicatorPlot.cpp.
References logScale.
Referenced by Plot::addIndicator(), Plot::setLogScale(), and slotLogScaleChanged().
void IndicatorPlot::updateStatusBar | ( | int | x, | |
int | y | |||
) |
Definition at line 765 of file IndicatorPlot.cpp.
References Scaler::convertToVal(), convertXToDataIndex(), data, BarData::getBar(), Bar::getDateTimeString(), scaler, statusMessage(), and strip().
Referenced by mousePressEvent().
void IndicatorPlot::setInfoFlag | ( | bool | d | ) |
Definition at line 169 of file IndicatorPlot.cpp.
References infoFlag.
Referenced by Plot::setInfoFlag().
void IndicatorPlot::drawCrossHair | ( | ) |
Definition at line 728 of file IndicatorPlot.cpp.
References borderColor, buffer, Scaler::convertToY(), crossHairFlag, crosshairs, crossHairX, crossHairY, data, BarData::getX(), pixelspace, scaler, startIndex, and startX.
Referenced by draw().
void IndicatorPlot::addIndicator | ( | Indicator * | i | ) |
Definition at line 567 of file IndicatorPlot.cpp.
References indy.
Referenced by Plot::addIndicator().
Indicator * IndicatorPlot::getIndicator | ( | ) |
Definition at line 572 of file IndicatorPlot.cpp.
References indy.
Referenced by Plot::getIndicator().
bool IndicatorPlot::deleteIndicator | ( | ) |
Definition at line 577 of file IndicatorPlot.cpp.
References indy.
Referenced by Plot::deleteIndicator().
void IndicatorPlot::addChartObject | ( | Setting & | set | ) |
Definition at line 1579 of file IndicatorPlot.cpp.
References COBase::addObject(), coList, data, draw(), drawRefresh(), COBase::getCO(), COBase::setData(), signalDraw(), slotChartObjectDeleted(), and slotMessage().
Referenced by Plot::addChartObject().
int IndicatorPlot::getWidth | ( | ) |
Definition at line 1094 of file IndicatorPlot.cpp.
References buffer.
Referenced by Plot::getWidth().
void IndicatorPlot::strip | ( | double | d, | |
int | p, | |||
QString & | s | |||
) |
Definition at line 872 of file IndicatorPlot.cpp.
Referenced by drawHorizontalLine(), drawInfo(), and updateStatusBar().
int IndicatorPlot::convertXToDataIndex | ( | int | x | ) |
Definition at line 754 of file IndicatorPlot.cpp.
References BarData::count(), data, pixelspace, and startIndex.
Referenced by getInfo(), getXY(), and updateStatusBar().
void IndicatorPlot::setGridFlag | ( | bool | d | ) |
Definition at line 520 of file IndicatorPlot.cpp.
References gridFlag.
Referenced by Plot::setGridFlag(), and slotGridChanged().
void IndicatorPlot::setScaleToScreen | ( | bool | d | ) |
Definition at line 132 of file IndicatorPlot.cpp.
References scaleToScreen.
Referenced by Plot::setScaleToScreen(), and slotScaleToScreenChanged().
void IndicatorPlot::setDrawMode | ( | bool | d | ) |
Definition at line 152 of file IndicatorPlot.cpp.
References coSelected, COSelected, drawMode, mouseFlag, None, COBase::pointerClick(), x1, and y1.
Referenced by Plot::setDrawMode(), and slotDrawModeChanged().
void IndicatorPlot::setDateFlag | ( | bool | d | ) |
Definition at line 142 of file IndicatorPlot.cpp.
References dateFlag.
Referenced by Plot::setDateFlag().
void IndicatorPlot::setCrosshairsFlag | ( | bool | d | ) |
Definition at line 1635 of file IndicatorPlot.cpp.
References crosshairs.
Referenced by Plot::setCrosshairsFlag().
void IndicatorPlot::setScaler | ( | Scaler & | d | ) |
Scaler & IndicatorPlot::getScaler | ( | ) |
Definition at line 1645 of file IndicatorPlot.cpp.
References scaler.
Referenced by Plot::draw(), and Plot::slotUpdateScalePlot().
void IndicatorPlot::getInfo | ( | int | x | ) |
Definition at line 387 of file IndicatorPlot.cpp.
References coList, convertXToDataIndex(), Setting::copy(), Setting::count(), BarData::count(), data, BarData::getBar(), Bar::getDate(), Bar::getDateString(), Indicator::getEnable(), PlotLine::getInfo(), Indicator::getLine(), Indicator::getLines(), PlotLine::getSize(), Bar::getTimeString(), indy, infoMessage(), and Setting::setData().
Referenced by mouseMoveEvent().
void IndicatorPlot::setXGrid | ( | QMemArray< int > & | d | ) |
void IndicatorPlot::setMenuFlag | ( | bool | d | ) |
Definition at line 525 of file IndicatorPlot.cpp.
References menuFlag.
Referenced by Plot::setMenuFlag().
void IndicatorPlot::drawLine | ( | ) |
Definition at line 1146 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), BarData::count(), currentLine, PlotLine::Dash, data, PlotLine::getColor(), PlotLine::getData(), Scaler::getHeight(), PlotLine::getHigh(), Scaler::getLogFlag(), Scaler::getLogRange(), Scaler::getLogScaleHigh(), PlotLine::getLow(), PlotLine::getScaleFlag(), PlotLine::getSize(), PlotLine::getType(), pixelspace, scaler, Scaler::set(), startIndex, and startX.
Referenced by drawLines().
void IndicatorPlot::drawHorizontalLine | ( | ) |
Definition at line 1201 of file IndicatorPlot.cpp.
References backgroundColor, buffer, Scaler::convertToY(), currentLine, PlotLine::getColor(), PlotLine::getData(), PlotLine::getLabel(), PlotLine::getSize(), plotFont, plotFontMetrics, scaler, startX, and strip().
Referenced by drawLines().
void IndicatorPlot::drawHistogram | ( | ) |
Definition at line 1276 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), BarData::count(), currentLine, data, PlotLine::getColor(), PlotLine::getData(), Scaler::getHeight(), PlotLine::getHigh(), Scaler::getLogFlag(), Scaler::getLogRange(), Scaler::getLogScaleHigh(), PlotLine::getLow(), PlotLine::getScaleFlag(), PlotLine::getSize(), pixelspace, scaler, Scaler::set(), startIndex, and startX.
Referenced by drawLines().
void IndicatorPlot::drawHistogramBar | ( | ) |
Definition at line 1336 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), BarData::count(), currentLine, data, PlotLine::getColor(), PlotLine::getColorBar(), PlotLine::getColorFlag(), PlotLine::getData(), Scaler::getHeight(), PlotLine::getHigh(), Scaler::getLogFlag(), Scaler::getLogRange(), Scaler::getLogScaleHigh(), PlotLine::getLow(), PlotLine::getScaleFlag(), PlotLine::getSize(), pixelspace, scaler, Scaler::set(), startIndex, and startX.
Referenced by drawLines().
void IndicatorPlot::drawDot | ( | ) |
Definition at line 1231 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), BarData::count(), currentLine, data, PlotLine::getColor(), PlotLine::getData(), Scaler::getHeight(), PlotLine::getHigh(), Scaler::getLogFlag(), Scaler::getLogRange(), Scaler::getLogScaleHigh(), PlotLine::getLow(), PlotLine::getScaleFlag(), PlotLine::getSize(), pixelspace, scaler, Scaler::set(), startIndex, and startX.
Referenced by drawLines().
void IndicatorPlot::drawBar | ( | ) |
Definition at line 1385 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), BarData::count(), currentLine, data, PlotLine::getData(), PlotLine::getSize(), pixelspace, scaler, startIndex, and startX.
Referenced by drawLines().
void IndicatorPlot::drawCandle | ( | ) |
Definition at line 1425 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), BarData::count(), currentLine, data, PlotLine::getData(), PlotLine::getSize(), pixelspace, scaler, startIndex, and startX.
Referenced by drawLines().
void IndicatorPlot::drawPF | ( | ) |
Definition at line 1480 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), BarData::count(), currentLine, data, PlotLine::getData(), PlotLine::getSize(), pixelspace, plotFont, scaler, startIndex, and startX.
Referenced by drawLines().
void IndicatorPlot::draw | ( | ) | [slot] |
Definition at line 179 of file IndicatorPlot.cpp.
References backgroundColor, buffer, data, drawCrossHair(), drawInfo(), drawLines(), drawObjects(), drawXGrid(), drawYGrid(), indy, paintEvent(), setScale(), and signalDraw().
Referenced by addChartObject(), crossHair(), Plot::draw(), resizeEvent(), setCrosshairsStatus(), slotChartObjectDeleted(), slotDeleteAllChartObjects(), slotGridChanged(), Plot::slotLogScaleChanged(), slotLogScaleChanged(), slotNewChartObject(), Plot::slotScaleToScreenChanged(), slotScaleToScreenChanged(), and slotSliderChanged().
void IndicatorPlot::drawRefresh | ( | ) | [slot] |
Definition at line 206 of file IndicatorPlot.cpp.
References paintEvent().
Referenced by addChartObject(), Plot::drawRefresh(), and slotNewChartObject().
void IndicatorPlot::setPixelspace | ( | int | d | ) | [slot] |
Definition at line 530 of file IndicatorPlot.cpp.
References pixelspace.
Referenced by Plot::setPixelspace().
void IndicatorPlot::setBackgroundColor | ( | QColor & | d | ) | [slot] |
Definition at line 498 of file IndicatorPlot.cpp.
References backgroundColor.
Referenced by Plot::setBackgroundColor().
void IndicatorPlot::setBorderColor | ( | QColor & | d | ) | [slot] |
Definition at line 503 of file IndicatorPlot.cpp.
References borderColor.
Referenced by Plot::setBorderColor().
void IndicatorPlot::setGridColor | ( | QColor & | d | ) | [slot] |
Definition at line 508 of file IndicatorPlot.cpp.
References gridColor.
Referenced by Plot::setGridColor().
void IndicatorPlot::setPlotFont | ( | QFont & | d | ) | [slot] |
Definition at line 513 of file IndicatorPlot.cpp.
References plotFont, and plotFontMetrics.
Referenced by Plot::setPlotFont().
void IndicatorPlot::setIndex | ( | int | d | ) | [slot] |
Definition at line 535 of file IndicatorPlot.cpp.
References startIndex.
Referenced by Plot::setIndex(), and slotSliderChanged().
void IndicatorPlot::crossHair | ( | int | x, | |
int | y, | |||
bool | f | |||
) | [slot] |
Definition at line 718 of file IndicatorPlot.cpp.
References crossHairFlag, crossHairX, crossHairY, draw(), getXY(), x1, and y1.
Referenced by Plot::crossHair(), and mousePressEvent().
void IndicatorPlot::printChart | ( | ) | [slot] |
Definition at line 905 of file IndicatorPlot.cpp.
References buffer, and statusMessage().
Referenced by showPopupMenu().
void IndicatorPlot::showPopupMenu | ( | ) | [slot] |
Definition at line 941 of file IndicatorPlot.cpp.
References chartMenu, chartObjectMenu, data, dateFlag, drawMode, logScale, printChart(), slotDeleteAllChartObjects(), slotEditChart(), slotEditIndicator(), slotIndicatorHelp(), slotNewChartObject(), slotNewIndicator(), toggleDate(), and toggleLog().
Referenced by contextMenuEvent().
void IndicatorPlot::setChartPath | ( | QString & | d | ) | [slot] |
Definition at line 147 of file IndicatorPlot.cpp.
References chartPath.
Referenced by Plot::setChartPath().
void IndicatorPlot::setCrosshairsStatus | ( | bool | status | ) | [slot] |
Definition at line 1038 of file IndicatorPlot.cpp.
References crossHairFlag, crosshairs, and draw().
Referenced by Plot::setCrosshairsStatus().
void IndicatorPlot::slotSliderChanged | ( | int | v | ) | [slot] |
void IndicatorPlot::slotGridChanged | ( | bool | d | ) | [slot] |
void IndicatorPlot::slotScaleToScreenChanged | ( | bool | d | ) | [slot] |
void IndicatorPlot::slotDrawModeChanged | ( | bool | d | ) | [slot] |
void IndicatorPlot::slotLogScaleChanged | ( | bool | d | ) | [slot] |
void IndicatorPlot::setInterval | ( | BarData::BarLength | d | ) | [slot] |
Definition at line 174 of file IndicatorPlot.cpp.
References interval.
Referenced by Plot::setInterval().
void IndicatorPlot::slotEditChart | ( | ) | [slot] |
Definition at line 1099 of file IndicatorPlot.cpp.
References chartPath, and signalEditChart().
Referenced by showPopupMenu().
void IndicatorPlot::slotIndicatorHelp | ( | ) | [slot] |
Definition at line 1104 of file IndicatorPlot.cpp.
References Indicator::getName(), helpFilePath, RcFile::HelpFilePath, indy, RcFile::loadData(), userDocsPath, and RcFile::UserDocsPath.
Referenced by showPopupMenu().
void IndicatorPlot::paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Definition at line 257 of file IndicatorPlot.cpp.
References buffer.
Referenced by draw(), and drawRefresh().
void IndicatorPlot::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
void IndicatorPlot::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 268 of file IndicatorPlot.cpp.
References ClickWait, coList, COSelected, coSelected, crossHair(), crosshairs, data, drawMode, getXY(), indy, leftMouseButton(), mouseFlag, Moving, COBase::Moving, COBase::None, None, COBase::pointerClick(), statusMessage(), updateStatusBar(), x1, and y1.
void IndicatorPlot::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
void IndicatorPlot::keyPressEvent | ( | QKeyEvent * | key | ) | [protected, virtual] |
Definition at line 468 of file IndicatorPlot.cpp.
References coSelected, COSelected, COBase::keyEvent(), keyPressed(), and mouseFlag.
void IndicatorPlot::mouseDoubleClickEvent | ( | QMouseEvent * | ) | [protected, virtual] |
Definition at line 457 of file IndicatorPlot.cpp.
References coSelected, COSelected, data, indy, mouseFlag, and COBase::prefDialog().
void IndicatorPlot::contextMenuEvent | ( | QContextMenuEvent * | ) | [protected, virtual] |
Definition at line 349 of file IndicatorPlot.cpp.
References coSelected, COSelected, drawMode, menuFlag, mouseFlag, COBase::showMenu(), and showPopupMenu().
void IndicatorPlot::drawObjects | ( | ) | [private, slot] |
Definition at line 1600 of file IndicatorPlot.cpp.
References buffer, coList, COBase::draw(), pixelspace, scaler, startIndex, and startX.
Referenced by draw().
void IndicatorPlot::drawLines | ( | ) | [private, slot] |
Definition at line 211 of file IndicatorPlot.cpp.
References PlotLine::Bar, PlotLine::Candle, currentLine, PlotLine::Dash, PlotLine::Dot, drawBar(), drawCandle(), drawDot(), drawHistogram(), drawHistogramBar(), drawHorizontalLine(), drawLine(), drawPF(), Indicator::getEnable(), Indicator::getLine(), Indicator::getLines(), PlotLine::getSize(), PlotLine::getType(), PlotLine::Histogram, PlotLine::HistogramBar, PlotLine::Horizontal, indy, PlotLine::Line, and PlotLine::PF.
Referenced by draw().
void IndicatorPlot::drawXGrid | ( | ) | [private, slot] |
Definition at line 545 of file IndicatorPlot.cpp.
References buffer, gridColor, gridFlag, pixelspace, startIndex, startX, and xGrid.
Referenced by draw().
void IndicatorPlot::drawYGrid | ( | ) | [private, slot] |
Definition at line 588 of file IndicatorPlot.cpp.
References buffer, Scaler::convertToY(), Scaler::getScaleArray(), gridColor, gridFlag, scaler, and startX.
Referenced by draw().
void IndicatorPlot::drawInfo | ( | ) | [private, slot] |
Definition at line 610 of file IndicatorPlot.cpp.
References backgroundColor, PlotLine::Bar, borderColor, buffer, PlotLine::Candle, BarData::count(), data, BarData::getBar(), BarData::getClose(), PlotLine::getColor(), PlotLine::getData(), Bar::getDateString(), Indicator::getEnable(), BarData::getHigh(), PlotLine::getLabel(), Indicator::getLine(), Indicator::getLines(), BarData::getLow(), BarData::getOpen(), PlotLine::getSize(), PlotLine::getType(), PlotLine::Horizontal, indy, plotFont, plotFontMetrics, startX, and strip().
Referenced by draw().
void IndicatorPlot::setScale | ( | ) | [private, slot] |
Definition at line 779 of file IndicatorPlot.cpp.
References buffer, coList, BarData::count(), data, Indicator::getEnable(), COBase::getHigh(), PlotLine::getHigh(), PlotLine::getHighLowRange(), Indicator::getLine(), Indicator::getLines(), COBase::getLow(), PlotLine::getLow(), PlotLine::getScaleFlag(), PlotLine::getSize(), PlotLine::getType(), indy, PlotLine::Invisible, logScale, PlotLine::PF, pixelspace, scaler, scaleToScreen, Scaler::set(), and startIndex.
Referenced by draw().
int IndicatorPlot::getXFromDate | ( | QDateTime & | d | ) | [private, slot] |
Definition at line 861 of file IndicatorPlot.cpp.
References data, BarData::getX(), pixelspace, startIndex, and startX.
void IndicatorPlot::getXY | ( | int | x, | |
int | y | |||
) | [private, slot] |
Definition at line 747 of file IndicatorPlot.cpp.
References Scaler::convertToVal(), convertXToDataIndex(), data, BarData::getDate(), scaler, x1, and y1.
Referenced by crossHair(), mouseMoveEvent(), and mousePressEvent().
void IndicatorPlot::slotMessage | ( | QString | d | ) | [private, slot] |
Definition at line 1060 of file IndicatorPlot.cpp.
References statusMessage().
Referenced by addChartObject(), and slotNewChartObject().
void IndicatorPlot::slotEditIndicator | ( | ) | [private, slot] |
Definition at line 1045 of file IndicatorPlot.cpp.
References Indicator::getName(), indy, and signalEditIndicator().
Referenced by showPopupMenu().
void IndicatorPlot::slotNewIndicator | ( | ) | [private, slot] |
Definition at line 1055 of file IndicatorPlot.cpp.
References signalNewIndicator().
Referenced by showPopupMenu().
void IndicatorPlot::slotNewChartObject | ( | int | id | ) | [private, slot] |
Definition at line 1537 of file IndicatorPlot.cpp.
References chartIndex, chartObjectMenu, chartPath, ClickWait, coList, coSelected, data, draw(), drawRefresh(), COBase::getCO(), DBIndex::getIndexItem(), Indicator::getName(), DBIndex::getNewChartObjectName(), DBIndexItem::getSymbol(), indy, mouseFlag, COBase::newObject(), saveChartObject(), COBase::setData(), signalDraw(), slotChartObjectDeleted(), and slotMessage().
Referenced by showPopupMenu().
void IndicatorPlot::slotDeleteAllChartObjects | ( | ) | [private, slot] |
Definition at line 1610 of file IndicatorPlot.cpp.
References chartPath, coList, draw(), mouseFlag, None, and signalDeleteAllCO().
Referenced by showPopupMenu().
void IndicatorPlot::slotChartObjectDeleted | ( | QString | d | ) | [private, slot] |
Definition at line 1650 of file IndicatorPlot.cpp.
References chartPath, coList, draw(), mouseFlag, None, and signalDeleteCO().
Referenced by addChartObject(), and slotNewChartObject().
void IndicatorPlot::toggleDate | ( | ) | [private, slot] |
Definition at line 994 of file IndicatorPlot.cpp.
References config, dateFlag, Indicator::getFile(), Config::getIndicator(), indy, Config::setIndicator(), and signalDateFlag().
Referenced by showPopupMenu().
void IndicatorPlot::toggleLog | ( | ) | [private, slot] |
Definition at line 1016 of file IndicatorPlot.cpp.
References config, Indicator::getFile(), Config::getIndicator(), indy, logScale, Config::setIndicator(), and signalLogFlag().
Referenced by showPopupMenu().
void IndicatorPlot::saveChartObjects | ( | ) | [private, slot] |
Definition at line 1671 of file IndicatorPlot.cpp.
References chartPath, coList, COBase::getSaveFlag(), COBase::getSettings(), and signalSaveCO().
Referenced by clear().
void IndicatorPlot::saveChartObject | ( | QString | name | ) | [private, slot] |
Definition at line 1689 of file IndicatorPlot.cpp.
References coList, COBase::getSettings(), and signalSaveCO().
Referenced by slotNewChartObject().
QFont IndicatorPlot::plotFont [private] |
Definition at line 162 of file IndicatorPlot.h.
Referenced by drawHorizontalLine(), drawInfo(), drawPF(), IndicatorPlot(), and setPlotFont().
QFontMetrics* IndicatorPlot::plotFontMetrics [private] |
Definition at line 163 of file IndicatorPlot.h.
Referenced by drawHorizontalLine(), drawInfo(), IndicatorPlot(), and setPlotFont().
PlotLine* IndicatorPlot::currentLine [private] |
Definition at line 164 of file IndicatorPlot.h.
Referenced by drawBar(), drawCandle(), drawDot(), drawHistogram(), drawHistogramBar(), drawHorizontalLine(), drawLine(), drawLines(), and drawPF().
QPixmap IndicatorPlot::buffer [private] |
Definition at line 165 of file IndicatorPlot.h.
Referenced by draw(), drawBar(), drawCandle(), drawCrossHair(), drawDot(), drawHistogram(), drawHistogramBar(), drawHorizontalLine(), drawInfo(), drawLine(), drawObjects(), drawPF(), drawXGrid(), drawYGrid(), getWidth(), mouseMoveEvent(), paintEvent(), printChart(), resizeEvent(), and setScale().
Config IndicatorPlot::config [private] |
Definition at line 166 of file IndicatorPlot.h.
Referenced by toggleDate(), toggleLog(), and ~IndicatorPlot().
int IndicatorPlot::pixelspace [private] |
Definition at line 167 of file IndicatorPlot.h.
Referenced by convertXToDataIndex(), drawBar(), drawCandle(), drawCrossHair(), drawDot(), drawHistogram(), drawHistogramBar(), drawLine(), drawObjects(), drawPF(), drawXGrid(), getXFromDate(), IndicatorPlot(), setPixelspace(), and setScale().
int IndicatorPlot::startX [private] |
Definition at line 168 of file IndicatorPlot.h.
Referenced by drawBar(), drawCandle(), drawCrossHair(), drawDot(), drawHistogram(), drawHistogramBar(), drawHorizontalLine(), drawInfo(), drawLine(), drawObjects(), drawPF(), drawXGrid(), drawYGrid(), getXFromDate(), and IndicatorPlot().
int IndicatorPlot::startIndex [private] |
Definition at line 169 of file IndicatorPlot.h.
Referenced by convertXToDataIndex(), drawBar(), drawCandle(), drawCrossHair(), drawDot(), drawHistogram(), drawHistogramBar(), drawLine(), drawObjects(), drawPF(), drawXGrid(), getXFromDate(), IndicatorPlot(), setIndex(), and setScale().
BarData::BarLength IndicatorPlot::interval [private] |
QColor IndicatorPlot::backgroundColor [private] |
Definition at line 171 of file IndicatorPlot.h.
Referenced by draw(), drawHorizontalLine(), drawInfo(), IndicatorPlot(), and setBackgroundColor().
QColor IndicatorPlot::gridColor [private] |
Definition at line 172 of file IndicatorPlot.h.
Referenced by drawXGrid(), drawYGrid(), IndicatorPlot(), and setGridColor().
QColor IndicatorPlot::borderColor [private] |
Definition at line 173 of file IndicatorPlot.h.
Referenced by drawCrossHair(), drawInfo(), IndicatorPlot(), and setBorderColor().
bool IndicatorPlot::gridFlag [private] |
Definition at line 174 of file IndicatorPlot.h.
Referenced by drawXGrid(), drawYGrid(), IndicatorPlot(), and setGridFlag().
bool IndicatorPlot::scaleToScreen [private] |
Definition at line 175 of file IndicatorPlot.h.
Referenced by IndicatorPlot(), setScale(), and setScaleToScreen().
bool IndicatorPlot::logScale [private] |
Definition at line 176 of file IndicatorPlot.h.
Referenced by IndicatorPlot(), setLogScale(), setScale(), showPopupMenu(), and toggleLog().
bool IndicatorPlot::crossHairFlag [private] |
Definition at line 177 of file IndicatorPlot.h.
Referenced by clear(), crossHair(), drawCrossHair(), IndicatorPlot(), and setCrosshairsStatus().
bool IndicatorPlot::drawMode [private] |
Definition at line 178 of file IndicatorPlot.h.
Referenced by contextMenuEvent(), IndicatorPlot(), mouseMoveEvent(), mousePressEvent(), setDrawMode(), and showPopupMenu().
bool IndicatorPlot::crosshairs [private] |
Definition at line 179 of file IndicatorPlot.h.
Referenced by drawCrossHair(), IndicatorPlot(), mousePressEvent(), setCrosshairsFlag(), and setCrosshairsStatus().
bool IndicatorPlot::infoFlag [private] |
Definition at line 180 of file IndicatorPlot.h.
Referenced by IndicatorPlot(), mouseMoveEvent(), and setInfoFlag().
bool IndicatorPlot::dateFlag [private] |
Definition at line 181 of file IndicatorPlot.h.
Referenced by IndicatorPlot(), setDateFlag(), showPopupMenu(), and toggleDate().
bool IndicatorPlot::menuFlag [private] |
Definition at line 182 of file IndicatorPlot.h.
Referenced by contextMenuEvent(), IndicatorPlot(), and setMenuFlag().
QDateTime IndicatorPlot::crossHairX [private] |
double IndicatorPlot::crossHairY [private] |
Scaler IndicatorPlot::scaler [private] |
Definition at line 185 of file IndicatorPlot.h.
Referenced by drawBar(), drawCandle(), drawCrossHair(), drawDot(), drawHistogram(), drawHistogramBar(), drawHorizontalLine(), drawLine(), drawObjects(), drawPF(), drawYGrid(), getScaler(), getXY(), setScale(), setScaler(), and updateStatusBar().
double IndicatorPlot::y1 [private] |
Definition at line 186 of file IndicatorPlot.h.
Referenced by crossHair(), getXY(), mouseMoveEvent(), mousePressEvent(), and setDrawMode().
QDateTime IndicatorPlot::x1 [private] |
Definition at line 187 of file IndicatorPlot.h.
Referenced by crossHair(), getXY(), mouseMoveEvent(), mousePressEvent(), and setDrawMode().
MouseStatus IndicatorPlot::mouseFlag [private] |
Definition at line 188 of file IndicatorPlot.h.
Referenced by clear(), contextMenuEvent(), IndicatorPlot(), keyPressEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), setDrawMode(), slotChartObjectDeleted(), slotDeleteAllChartObjects(), and slotNewChartObject().
QDict<COBase> IndicatorPlot::coList [private] |
Definition at line 189 of file IndicatorPlot.h.
Referenced by addChartObject(), clear(), drawObjects(), getInfo(), IndicatorPlot(), mousePressEvent(), saveChartObject(), saveChartObjects(), setScale(), slotChartObjectDeleted(), slotDeleteAllChartObjects(), and slotNewChartObject().
COBase* IndicatorPlot::coSelected [private] |
Definition at line 190 of file IndicatorPlot.h.
Referenced by contextMenuEvent(), IndicatorPlot(), keyPressEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), setDrawMode(), and slotNewChartObject().
QString IndicatorPlot::chartPath [private] |
Definition at line 191 of file IndicatorPlot.h.
Referenced by saveChartObjects(), setChartPath(), slotChartObjectDeleted(), slotDeleteAllChartObjects(), slotEditChart(), and slotNewChartObject().
BarData* IndicatorPlot::data [private] |
Definition at line 192 of file IndicatorPlot.h.
Referenced by addChartObject(), clear(), convertXToDataIndex(), draw(), drawBar(), drawCandle(), drawCrossHair(), drawDot(), drawHistogram(), drawHistogramBar(), drawInfo(), drawLine(), drawPF(), getInfo(), getXFromDate(), getXY(), IndicatorPlot(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), setData(), setScale(), showPopupMenu(), slotNewChartObject(), and updateStatusBar().
Indicator* IndicatorPlot::indy [private] |
Definition at line 193 of file IndicatorPlot.h.
Referenced by addIndicator(), clear(), deleteIndicator(), draw(), drawInfo(), drawLines(), getIndicator(), getInfo(), IndicatorPlot(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), setScale(), slotEditIndicator(), slotIndicatorHelp(), slotNewChartObject(), toggleDate(), and toggleLog().
QMemArray<int> IndicatorPlot::xGrid [private] |
QPopupMenu* IndicatorPlot::chartMenu [private] |
Definition at line 195 of file IndicatorPlot.h.
Referenced by IndicatorPlot(), showPopupMenu(), and ~IndicatorPlot().
QPopupMenu* IndicatorPlot::chartObjectMenu [private] |
Definition at line 196 of file IndicatorPlot.h.
Referenced by showPopupMenu(), and slotNewChartObject().
DBIndex* IndicatorPlot::chartIndex [private] |
Definition at line 197 of file IndicatorPlot.h.
Referenced by IndicatorPlot(), and slotNewChartObject().
QString IndicatorPlot::helpFilePath [private] |
QString IndicatorPlot::userDocsPath [private] |