#include <DataWindow.h>
Public Member Functions | |
DataWindow (QWidget *) | |
~DataWindow () | |
void | setData (int, int, QString &) |
void | setHeader (int, QString &) |
void | setBars (BarData *) |
void | setPlot (Plot *) |
QString | strip (double, int) |
Private Attributes | |
QTable * | table |
QHeader * | hHeader |
Definition at line 33 of file DataWindow.h.
DataWindow::DataWindow | ( | QWidget * | w | ) |
DataWindow::~DataWindow | ( | ) |
Definition at line 40 of file DataWindow.cpp.
void DataWindow::setData | ( | int | row, | |
int | col, | |||
QString & | data | |||
) |
Definition at line 44 of file DataWindow.cpp.
References table.
Referenced by IndicatorSummary::createDataWindow().
void DataWindow::setHeader | ( | int | col, | |
QString & | d | |||
) |
Definition at line 51 of file DataWindow.cpp.
References hHeader, and table.
Referenced by IndicatorSummary::createDataWindow().
void DataWindow::setBars | ( | BarData * | d | ) |
Definition at line 59 of file DataWindow.cpp.
References BarData::count(), BarData::getClose(), BarData::getDate(), BarData::getHigh(), BarData::getLow(), BarData::getOpen(), hHeader, strip(), and table.
Referenced by QtstalkerApp::slotDataWindow().
void DataWindow::setPlot | ( | Plot * | d | ) |
Definition at line 93 of file DataWindow.cpp.
References PlotLine::getData(), Plot::getIndicator(), PlotLine::getLabel(), Indicator::getLine(), Indicator::getLines(), PlotLine::getSize(), hHeader, strip(), and table.
Referenced by QtstalkerApp::slotDataWindow().
QString DataWindow::strip | ( | double | d, | |
int | p | |||
) |
QTable* DataWindow::table [private] |
Definition at line 47 of file DataWindow.h.
Referenced by DataWindow(), setBars(), setData(), setHeader(), and setPlot().
QHeader* DataWindow::hHeader [private] |
Definition at line 48 of file DataWindow.h.
Referenced by DataWindow(), setBars(), setHeader(), and setPlot().