#include <BuyArrow.h>
Public Slots | |
void | prefDialog () |
COBase::Status | pointerClick (QPoint &, QDateTime &, double) |
void | pointerMoving (QPixmap &, QPoint &, QDateTime &, double y) |
Public Member Functions | |
BuyArrow () | |
~BuyArrow () | |
void | draw (QPixmap &, Scaler &, int, int, int) |
void | newObject (QString &, QString &) |
void | loadDefaults () |
void | saveDefaults () |
void | getSettings (Setting &) |
void | setSettings (Setting &) |
void | adjustForSplit (QDateTime &, double) |
Protected Attributes | |
QPointArray | arrow |
Definition at line 29 of file BuyArrow.h.
BuyArrow::BuyArrow | ( | ) |
Definition at line 27 of file BuyArrow.cpp.
References COBase::color, COBase::defaultColor, COBase::helpFile, COBase::identifierLabel, loadDefaults(), COBase::priceLabel, and COBase::type.
BuyArrow::~BuyArrow | ( | ) |
Definition at line 39 of file BuyArrow.cpp.
void BuyArrow::draw | ( | QPixmap & | buffer, | |
Scaler & | scaler, | |||
int | startIndex, | |||
int | pixelspace, | |||
int | startX | |||
) | [virtual] |
Reimplemented from COBase.
Definition at line 43 of file BuyArrow.cpp.
References arrow, COBase::clearGrabHandles(), COBase::clearSelectionArea(), COBase::color, Scaler::convertToY(), COBase::data, COBase::date, BarData::getX(), HANDLE_WIDTH, COBase::Selected, COBase::setGrabHandle(), COBase::setSelectionArea(), COBase::status, and COBase::value.
void BuyArrow::newObject | ( | QString & | ind, | |
QString & | n | |||
) | [virtual] |
Reimplemented from COBase.
Definition at line 133 of file BuyArrow.cpp.
References COBase::ClickWait, COBase::indicator, COBase::message(), COBase::name, COBase::plot, and COBase::status.
void BuyArrow::loadDefaults | ( | ) |
Definition at line 200 of file BuyArrow.cpp.
References COBase::defaultColor.
Referenced by BuyArrow().
void BuyArrow::saveDefaults | ( | ) |
Definition at line 210 of file BuyArrow.cpp.
References COBase::defaultColor.
Referenced by prefDialog().
void BuyArrow::getSettings | ( | Setting & | set | ) | [virtual] |
Reimplemented from COBase.
Definition at line 218 of file BuyArrow.cpp.
References COBase::color, COBase::colorLabel, COBase::date, COBase::dateFormat, COBase::dateLabel, COBase::identifier, COBase::identifierLabel, COBase::name, COBase::nameLabel, COBase::plot, COBase::plotLabel, COBase::price, COBase::priceLabel, COBase::type, COBase::typeLabel, COBase::value, and COBase::valueLabel.
void BuyArrow::setSettings | ( | Setting & | set | ) | [virtual] |
Reimplemented from COBase.
Definition at line 233 of file BuyArrow.cpp.
References COBase::color, COBase::colorLabel, COBase::date, COBase::dateLabel, Bar::getDate(), COBase::identifier, COBase::identifierLabel, COBase::name, COBase::nameLabel, COBase::plot, COBase::plotLabel, COBase::price, COBase::priceLabel, Bar::setDate(), COBase::value, and COBase::valueLabel.
void BuyArrow::adjustForSplit | ( | QDateTime & | dt, | |
double | d | |||
) | [virtual] |
Reimplemented from COBase.
Definition at line 249 of file BuyArrow.cpp.
References COBase::date, and COBase::value.
void BuyArrow::prefDialog | ( | ) | [virtual, slot] |
Reimplemented from COBase.
Definition at line 91 of file BuyArrow.cpp.
References PrefDialog::addCheckItem(), PrefDialog::addColorPrefItem(), PrefDialog::addDoubleItem(), PrefDialog::addTextItem(), COBase::color, PrefDialog::createPage(), COBase::defaultColor, PrefDialog::getCheck(), PrefDialog::getColor(), PrefDialog::getDouble(), PrefDialog::getText(), COBase::helpFile, COBase::identifier, COBase::price, saveDefaults(), COBase::saveFlag, PrefDialog::setHelpFile(), COBase::signalDraw(), and COBase::value.
COBase::Status BuyArrow::pointerClick | ( | QPoint & | point, | |
QDateTime & | x, | |||
double | y | |||
) | [virtual, slot] |
Reimplemented from COBase.
Definition at line 142 of file BuyArrow.cpp.
References COBase::ClickWait, COBase::defaultColor, COBase::isGrabSelected(), COBase::isSelected(), COBase::message(), COBase::Moving, COBase::name, COBase::None, COBase::Selected, COBase::setColor(), COBase::setDate(), COBase::setSaveFlag(), COBase::setValue(), COBase::signalDraw(), COBase::signalSave(), and COBase::status.
void BuyArrow::pointerMoving | ( | QPixmap & | , | |
QPoint & | , | |||
QDateTime & | x, | |||
double | y | |||
) | [virtual, slot] |
Reimplemented from COBase.
Definition at line 185 of file BuyArrow.cpp.
References COBase::message(), COBase::Moving, COBase::setDate(), COBase::setSaveFlag(), COBase::setValue(), COBase::signalDraw(), and COBase::status.
QPointArray BuyArrow::arrow [protected] |