SellArrow Class Reference

#include <SellArrow.h>

Inheritance diagram for SellArrow:

Inheritance graph
[legend]
Collaboration diagram for SellArrow:

Collaboration graph
[legend]

List of all members.

Public Slots

void prefDialog ()
COBase::Status pointerClick (QPoint &, QDateTime &, double)
void pointerMoving (QPixmap &, QPoint &, QDateTime &, double y)

Public Member Functions

 SellArrow ()
 ~SellArrow ()
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


Detailed Description

Definition at line 31 of file SellArrow.h.


Constructor & Destructor Documentation

SellArrow::SellArrow (  ) 

Definition at line 27 of file SellArrow.cpp.

References COBase::defaultColor, COBase::helpFile, COBase::identifierLabel, loadDefaults(), COBase::priceLabel, and COBase::type.

SellArrow::~SellArrow (  ) 

Definition at line 38 of file SellArrow.cpp.


Member Function Documentation

void SellArrow::draw ( QPixmap &  buffer,
Scaler scaler,
int  startIndex,
int  pixelspace,
int  startX 
) [virtual]

Reimplemented from COBase.

Definition at line 42 of file SellArrow.cpp.

References arrow, COBase::clearGrabHandles(), COBase::clearSelectionArea(), Scaler::convertToY(), COBase::data, COBase::date, COBase::getColor(), COBase::getStatus(), COBase::getValue(), BarData::getX(), HANDLE_WIDTH, COBase::Selected, COBase::setGrabHandle(), and COBase::setSelectionArea().

void SellArrow::newObject ( QString &  ind,
QString &  n 
) [virtual]

Reimplemented from COBase.

Definition at line 129 of file SellArrow.cpp.

References COBase::ClickWait, COBase::indicator, COBase::message(), COBase::name, COBase::plot, and COBase::status.

void SellArrow::loadDefaults (  ) 

Definition at line 194 of file SellArrow.cpp.

References COBase::defaultColor.

Referenced by SellArrow().

void SellArrow::saveDefaults (  ) 

Definition at line 204 of file SellArrow.cpp.

References COBase::defaultColor.

Referenced by prefDialog().

void SellArrow::getSettings ( Setting set  )  [virtual]

Reimplemented from COBase.

Definition at line 212 of file SellArrow.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 SellArrow::setSettings ( Setting set  )  [virtual]

Reimplemented from COBase.

Definition at line 227 of file SellArrow.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 SellArrow::adjustForSplit ( QDateTime &  dt,
double  d 
) [virtual]

Reimplemented from COBase.

Definition at line 243 of file SellArrow.cpp.

References COBase::date, and COBase::value.

void SellArrow::prefDialog (  )  [virtual, slot]

Reimplemented from COBase.

Definition at line 86 of file SellArrow.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::getValue(), COBase::helpFile, COBase::identifier, COBase::price, saveDefaults(), PrefDialog::setHelpFile(), COBase::setSaveFlag(), COBase::signalDraw(), and COBase::value.

COBase::Status SellArrow::pointerClick ( QPoint &  point,
QDateTime &  x,
double  y 
) [virtual, slot]

Reimplemented from COBase.

Definition at line 138 of file SellArrow.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 SellArrow::pointerMoving ( QPixmap &  ,
QPoint &  ,
QDateTime &  x,
double  y 
) [virtual, slot]

Reimplemented from COBase.

Definition at line 181 of file SellArrow.cpp.

References COBase::message(), COBase::Moving, COBase::setDate(), COBase::setSaveFlag(), COBase::setValue(), COBase::signalDraw(), and COBase::status.


Member Data Documentation

QPointArray SellArrow::arrow [protected]

Definition at line 52 of file SellArrow.h.

Referenced by draw().


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