#include <VerticalLine.h>
Public Slots | |
void | prefDialog () |
COBase::Status | pointerClick (QPoint &, QDateTime &, double) |
void | pointerMoving (QPixmap &, QPoint &, QDateTime &, double y) |
Public Member Functions | |
VerticalLine () | |
~VerticalLine () | |
void | draw (QPixmap &, Scaler &, int, int, int) |
void | newObject (QString &, QString &) |
double | getHigh () |
double | getLow () |
void | loadDefaults () |
void | saveDefaults () |
void | getSettings (Setting &) |
void | setSettings (Setting &) |
Definition at line 31 of file VerticalLine.h.
VerticalLine::VerticalLine | ( | ) |
Definition at line 27 of file VerticalLine.cpp.
References COBase::defaultColor, COBase::helpFile, loadDefaults(), and COBase::type.
VerticalLine::~VerticalLine | ( | ) |
Definition at line 36 of file VerticalLine.cpp.
void VerticalLine::draw | ( | QPixmap & | buffer, | |
Scaler & | , | |||
int | startIndex, | |||
int | pixelspace, | |||
int | startX | |||
) | [virtual] |
Reimplemented from COBase.
Definition at line 40 of file VerticalLine.cpp.
References COBase::clearGrabHandles(), COBase::clearSelectionArea(), COBase::data, COBase::date, COBase::getColor(), COBase::getStatus(), BarData::getX(), HANDLE_WIDTH, COBase::Selected, COBase::setGrabHandle(), and COBase::setSelectionArea().
void VerticalLine::newObject | ( | QString & | ind, | |
QString & | n | |||
) | [virtual] |
Reimplemented from COBase.
Definition at line 144 of file VerticalLine.cpp.
References COBase::ClickWait, COBase::indicator, COBase::message(), COBase::name, COBase::plot, and COBase::status.
double VerticalLine::getHigh | ( | ) | [virtual] |
Reimplemented from COBase.
Definition at line 225 of file VerticalLine.cpp.
References COBase::data, and BarData::getMax().
double VerticalLine::getLow | ( | ) | [virtual] |
Reimplemented from COBase.
Definition at line 230 of file VerticalLine.cpp.
References COBase::data, and BarData::getMin().
void VerticalLine::loadDefaults | ( | ) |
Definition at line 207 of file VerticalLine.cpp.
References COBase::defaultColor.
Referenced by VerticalLine().
void VerticalLine::saveDefaults | ( | ) |
Definition at line 217 of file VerticalLine.cpp.
References COBase::defaultColor.
Referenced by prefDialog().
void VerticalLine::getSettings | ( | Setting & | set | ) | [virtual] |
Reimplemented from COBase.
Definition at line 235 of file VerticalLine.cpp.
References COBase::color, COBase::colorLabel, COBase::date, COBase::dateFormat, COBase::dateLabel, COBase::name, COBase::nameLabel, COBase::plot, COBase::plotLabel, COBase::type, and COBase::typeLabel.
void VerticalLine::setSettings | ( | Setting & | set | ) | [virtual] |
Reimplemented from COBase.
Definition at line 246 of file VerticalLine.cpp.
References COBase::color, COBase::colorLabel, COBase::date, COBase::dateLabel, Bar::getDate(), COBase::name, COBase::nameLabel, COBase::plot, COBase::plotLabel, and Bar::setDate().
void VerticalLine::prefDialog | ( | ) | [virtual, slot] |
Reimplemented from COBase.
Definition at line 112 of file VerticalLine.cpp.
References PrefDialog::addCheckItem(), PrefDialog::addColorPrefItem(), COBase::color, PrefDialog::createPage(), COBase::defaultColor, PrefDialog::getCheck(), PrefDialog::getColor(), COBase::helpFile, saveDefaults(), PrefDialog::setHelpFile(), and COBase::signalDraw().
COBase::Status VerticalLine::pointerClick | ( | QPoint & | point, | |
QDateTime & | x, | |||
double | ||||
) | [virtual, slot] |
Reimplemented from COBase.
Definition at line 153 of file VerticalLine.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::signalDraw(), COBase::signalSave(), and COBase::status.
void VerticalLine::pointerMoving | ( | QPixmap & | , | |
QPoint & | , | |||
QDateTime & | x, | |||
double | y | |||
) | [virtual, slot] |
Reimplemented from COBase.
Definition at line 195 of file VerticalLine.cpp.
References COBase::message(), COBase::Moving, COBase::setDate(), COBase::setSaveFlag(), COBase::signalDraw(), and COBase::status.