#include <Scanner.h>

Public Slots | |
| void | scan () |
| void | saveRule () |
| void | exitDialog () |
| void | loadRule () |
| void | getSymbols () |
| void | allSymbolsToggled (bool) |
| void | slotHelp () |
Signals | |
| void | exitScanner () |
| void | message (QString) |
| void | scanComplete () |
Public Member Functions | |
| Scanner (QString, DBIndex *) | |
| ~Scanner () | |
Protected Attributes | |
| FormulaEdit * | list |
| QComboBox * | period |
| QString | scannerName |
| Config | config |
| QPushButton * | fileButton |
| QStringList | fileList |
| QCheckBox * | allSymbols |
| QStringList | barLengthList |
| QSpinBox * | bars |
| QComboBox * | basePath |
| DBIndex * | chartIndex |
Definition at line 35 of file Scanner.h.
| Scanner::Scanner | ( | QString | n, | |
| DBIndex * | i | |||
| ) |
Definition at line 40 of file Scanner.cpp.
References allSymbols, allSymbolsToggled(), barLengthList, bars, basePath, chartIndex, exitDialog(), fileButton, BarData::getBarLengthList(), getSymbols(), list, loadRule(), FormulaEdit::Logic, period, saveRule(), scan(), scannerName, and slotHelp().
| Scanner::~Scanner | ( | ) |
Definition at line 111 of file Scanner.cpp.
| void Scanner::exitScanner | ( | ) | [signal] |
Referenced by exitDialog().
| void Scanner::message | ( | QString | ) | [signal] |
Referenced by scan().
| void Scanner::scanComplete | ( | ) | [signal] |
Referenced by scan().
| void Scanner::scan | ( | ) | [slot] |
Definition at line 115 of file Scanner.cpp.
References allSymbols, barLengthList, bars, basePath, IndicatorPlugin::calculate(), chartIndex, DBBase::close(), Config::closePlugin(), config, Config::DataPath, Traverse::File, fileList, PlotLine::getData(), Config::getData(), DbPlugin::getHistory(), Config::getIndicatorPlugin(), Indicator::getLine(), Indicator::getLines(), Traverse::getList(), PlotLine::getSize(), FormulaEdit::getText(), Config::GroupPath, list, message(), DbPlugin::open(), period, scanComplete(), scannerName, DbPlugin::setBarLength(), DbPlugin::setBarRange(), IndicatorPlugin::setCustomFunction(), IndicatorPlugin::setIndicatorInput(), and Traverse::traverse().
Referenced by ScannerPage::runScanner(), and Scanner().
| void Scanner::saveRule | ( | ) | [slot] |
Definition at line 253 of file Scanner.cpp.
References allSymbols, bars, basePath, config, fileList, Config::getData(), FormulaEdit::getText(), list, period, scannerName, and Config::ScannerPath.
Referenced by Scanner().
| void Scanner::exitDialog | ( | ) | [slot] |
| void Scanner::loadRule | ( | ) | [slot] |
Definition at line 280 of file Scanner.cpp.
References allSymbols, bars, basePath, config, fileButton, fileList, Config::getData(), list, period, scannerName, Config::ScannerPath, and FormulaEdit::setLine().
Referenced by Scanner().
| void Scanner::getSymbols | ( | ) | [slot] |
Definition at line 365 of file Scanner.cpp.
References basePath, config, Config::DataPath, fileButton, fileList, Config::getData(), and Config::GroupPath.
Referenced by Scanner().
| void Scanner::allSymbolsToggled | ( | bool | d | ) | [slot] |
| void Scanner::slotHelp | ( | ) | [slot] |
FormulaEdit* Scanner::list [protected] |
Definition at line 58 of file Scanner.h.
Referenced by loadRule(), saveRule(), scan(), and Scanner().
QComboBox* Scanner::period [protected] |
Definition at line 59 of file Scanner.h.
Referenced by loadRule(), saveRule(), scan(), and Scanner().
QString Scanner::scannerName [protected] |
Definition at line 60 of file Scanner.h.
Referenced by loadRule(), saveRule(), scan(), and Scanner().
Config Scanner::config [protected] |
Definition at line 61 of file Scanner.h.
Referenced by getSymbols(), loadRule(), saveRule(), and scan().
QPushButton* Scanner::fileButton [protected] |
Definition at line 62 of file Scanner.h.
Referenced by allSymbolsToggled(), getSymbols(), loadRule(), and Scanner().
QStringList Scanner::fileList [protected] |
Definition at line 63 of file Scanner.h.
Referenced by getSymbols(), loadRule(), saveRule(), and scan().
QCheckBox* Scanner::allSymbols [protected] |
Definition at line 64 of file Scanner.h.
Referenced by loadRule(), saveRule(), scan(), and Scanner().
QStringList Scanner::barLengthList [protected] |
QSpinBox* Scanner::bars [protected] |
Definition at line 66 of file Scanner.h.
Referenced by loadRule(), saveRule(), scan(), and Scanner().
QComboBox* Scanner::basePath [protected] |
Definition at line 67 of file Scanner.h.
Referenced by getSymbols(), loadRule(), saveRule(), scan(), and Scanner().
DBIndex* Scanner::chartIndex [protected] |