#include <Config.h>
Definition at line 36 of file Config.h.
enum Config::Parm |
enum Config::Indicator |
Config::Config | ( | ) |
Definition at line 51 of file Config.cpp.
References TALIB::getIndicatorList(), indicatorList, indicatorList2, indicatorPlugins, libs, quotePlugins, and version.
Config::~Config | ( | ) |
void Config::setData | ( | Parm | p, | |
QString & | d | |||
) |
Definition at line 382 of file Config.cpp.
References AppFont, BackgroundColor, BarLength, Bars, BorderColor, COPath, Crosshairs, CurrentChart, DataPanelSize, DataPath, DrawMode, FundamentalsPath, Grid, GridColor, Group, GroupPath, Height, HelpFilePath, Home, IndexPath, IndicatorGroup, IndicatorPath, LastNewIndicator, LastQuotePlugin, LocalIndicatorsPath, LogScale, Menubar, NavAreaSize, PaperTradeMode, Pixelspace, PlotFont, PlotSizes, PortfolioPath, PS1Button, PS2Button, PS3Button, QuotePluginPath, QuotePluginStorage, ScaleToScreen, ScannerPath, ShowUpgradeMessage, TestPath, UserDocsPath, Version, Width, X, and Y.
Referenced by TrendLine::saveDefaults(), and saveSplitterSize().
void Config::setData | ( | QString & | p, | |
QString & | d | |||
) |
Definition at line 534 of file Config.cpp.
void Config::getData | ( | Parm | p, | |
QString & | s | |||
) |
Definition at line 223 of file Config.cpp.
References AppFont, BackgroundColor, BarLength, Bars, BorderColor, COPath, Crosshairs, CurrentChart, DataPanelSize, DataPath, DrawMode, FundamentalsPath, Grid, GridColor, Group, GroupPath, Height, HelpFilePath, Home, IndexPath, IndicatorGroup, IndicatorPath, LastNewIndicator, LastQuotePlugin, LocalIndicatorsPath, LogScale, Menubar, NavAreaSize, PaperTradeMode, Pixelspace, PlotFont, PlotSizes, PortfolioPath, PS1Button, PS2Button, PS3Button, QuotePluginPath, QuotePluginStorage, ScaleToScreen, ScannerPath, ShowUpgradeMessage, TestPath, UserDocsPath, Version, Width, X, and Y.
Referenced by DBIndex::addIndicator(), PortfolioDialog::addItem(), IndexDialog::addItem(), BARS::BARS(), Yahoo::buildGui(), CME::CME(), UpgradeMessage::convert034(), UpgradeMessage::copyFiles(), TestPage::copyTest(), IndicatorSummary::createDataWindow(), QuotePlugin::createDirectory(), Spread::createNew(), CC::createNew(), DbPlugin::createNewCC(), DbPlugin::createNewIndex(), DbPlugin::createNewSpread(), CSV::CSV(), DBIndex::deleteAllChartObjects(), DBIndex::deleteChart(), DBIndex::deleteChartObject(), DBIndex::deleteIndicator(), PortfolioPage::deletePortfolio(), ScannerPage::deleteScanner(), TestPage::deleteTest(), IndexDialog::editItem(), FiboLine::FiboLine(), SYMBOL::formatDialog(), DbPlugin::getCCHistory(), DBIndex::getChartObjects(), DBIndex::getFundamentals(), CC::getHistory(), DBIndex::getIndicators(), getIndicators(), DBIndex::getNewChartObjectName(), BARS::getPFSettings(), getPluginList(), getQuotePlugin(), SYMBOL::getSYMBOL(), Scanner::getSymbols(), HorizontalLine::HorizontalLine(), CUS::includeCUS(), FormulaEdit::includeRule(), BARS::indicatorPrefDialog(), TesterStopPage::loadCustomStopRule(), TrendLine::loadDefaults(), TesterRulePage::loadEditRule(), Tester::loadRule(), Scanner::loadRule(), loadSplitterSize(), PortfolioDialog::modifyItem(), PortfolioPage::newPortfolio(), ScannerPage::newScanner(), SpreadDialog::newSpread(), Yahoo::newStock(), Tester::newTest(), FormulaEdit::openRule(), Spread::prefDialog(), ScannerPage::refreshList(), PortfolioPage::renamePortfolio(), ScannerPage::renameScanner(), TestPage::renameTest(), IndicatorSummary::run(), ScannerPage::runScanner(), TesterStopPage::saveCustomStopRule(), TesterRulePage::saveEditRule(), PortfolioDialog::savePortfolio(), Tester::saveRule(), Scanner::saveRule(), Scanner::scan(), DBIndex::setChartObject(), DBIndex::setFundamentals(), SpreadDialog::SpreadDialog(), DbPlugin::spreadPref(), SymbolButton::SymbolButton(), TesterChartPage::TesterChartPage(), TesterTestPage::TesterTestPage(), Text::Text(), NYBOT::update(), CME::update(), TestPage::updateList(), PortfolioPage::updateList(), PortfolioDialog::updatePortfolio(), and Yahoo::Yahoo().
void Config::getData | ( | QString & | p, | |
QString & | s | |||
) |
Definition at line 376 of file Config.cpp.
void Config::loadSplitterSize | ( | Parm | p, | |
QSplitter * | sp | |||
) |
void Config::saveSplitterSize | ( | Parm | p, | |
QSplitter * | sp | |||
) |
void Config::getDirList | ( | QString & | path, | |
bool | flag, | |||
QStringList & | l | |||
) |
void Config::setup | ( | ) |
Definition at line 89 of file Config.cpp.
References check034Conversion(), RcFile::COPath, RcFile::DataPath, RcFile::FundamentalsPath, RcFile::GroupPath, RcFile::Home, RcFile::IndexPath, RcFile::IndicatorGroup, RcFile::IndicatorPath, RcFile::LocalIndicatorsPath, RcFile::PortfolioPath, RcFile::QuotePluginStorage, rcfile, RcFile::saveData(), RcFile::ScannerPath, RcFile::TestPath, RcFile::UserDocsPath, version, and RcFile::Version.
Referenced by QtstalkerApp::QtstalkerApp().
void Config::getIndicators | ( | QString & | d, | |
QStringList & | l | |||
) |
Definition at line 568 of file Config.cpp.
References getData(), getDirList(), and IndicatorPath.
Referenced by QtstalkerApp::loadChart(), and QtstalkerApp::QtstalkerApp().
void Config::getIndicator | ( | QString & | d, | |
Setting & | set | |||
) |
Definition at line 577 of file Config.cpp.
Referenced by QtstalkerApp::addIndicatorButton(), IndicatorPage::addLocalIndicator(), IndicatorPage::changeIndicator(), IndicatorPage::editIndicator(), CUS::includeCUS(), QtstalkerApp::loadChart(), IndicatorSummary::loadIndicators(), IndicatorPage::moveIndicator(), QtstalkerApp::slotDeleteIndicator(), QtstalkerApp::slotDisableIndicator(), QtstalkerApp::slotEnableIndicator(), IndicatorPlot::toggleDate(), IndicatorPlot::toggleLog(), and IndicatorPage::updateList().
void Config::deleteIndicator | ( | QString & | d | ) |
void Config::getIndicatorList | ( | QStringList & | l | ) |
Definition at line 681 of file Config.cpp.
References indicatorList.
Referenced by FormulaEdit::functionDialog(), and IndicatorPage::newIndicator().
void Config::setIndicator | ( | QString & | d, | |
Setting & | set | |||
) |
Definition at line 605 of file Config.cpp.
Referenced by IndicatorPage::changeIndicator(), IndicatorPage::editIndicator(), IndicatorPage::moveIndicator(), IndicatorPage::newIndicator(), IndicatorPlot::toggleDate(), and IndicatorPlot::toggleLog().
void Config::getPluginList | ( | Config::Parm | d, | |
QStringList & | l2 | |||
) |
Definition at line 654 of file Config.cpp.
References getData(), getDirList(), and version.
Referenced by QtstalkerApp::slotQuotes().
IndicatorPlugin * Config::getIndicatorPlugin | ( | QString & | p | ) |
Definition at line 686 of file Config.cpp.
References Config_BARS, Config_CUS, Config_ExScript, Config_FI, Config_LMS, Config_LOWPASS, Config_PP, Config_SINWAV, Config_SZ, Config_THERM, Config_VFI, Config_VIDYA, Config_VOL, indicatorList2, and indicatorPlugins.
Referenced by CUS::calculate(), IndicatorPage::editIndicator(), FormulaEdit::functionDialog(), TesterStopPage::loadCustomLongStop(), TesterStopPage::loadCustomShortStop(), QtstalkerApp::loadIndicator(), IndicatorSummary::loadIndicators(), Tester::loadSignals(), IndicatorPage::newIndicator(), IndicatorSummary::run(), and Scanner::scan().
QuotePlugin * Config::getQuotePlugin | ( | QString & | p | ) |
Definition at line 754 of file Config.cpp.
References getData(), libs, QuotePluginPath, quotePlugins, and version.
Referenced by QtstalkerApp::slotQuotes().
void Config::closePlugins | ( | ) |
Definition at line 782 of file Config.cpp.
References indicatorPlugins, libs, and quotePlugins.
Referenced by QtstalkerApp::slotQuit(), and IndicatorPlot::~IndicatorPlot().
void Config::closePlugin | ( | QString & | d | ) |
Definition at line 789 of file Config.cpp.
References indicatorPlugins, libs, and quotePlugins.
Referenced by CUS::calculate(), IndicatorPage::editIndicator(), TesterStopPage::loadCustomLongStop(), TesterStopPage::loadCustomShortStop(), Tester::loadSignals(), IndicatorPage::newIndicator(), CSV::parse(), and Scanner::scan().
void Config::copyIndicatorFile | ( | QString & | d, | |
QString & | d2 | |||
) |
Definition at line 796 of file Config.cpp.
void Config::check034Conversion | ( | ) |
Definition at line 866 of file Config.cpp.
References RcFile::loadData(), rcfile, UpgradeMessage::V034, and RcFile::Version.
Referenced by setup().
QDict<QLibrary> Config::libs [protected] |
Definition at line 144 of file Config.h.
Referenced by closePlugin(), closePlugins(), Config(), getQuotePlugin(), and ~Config().
QDict<IndicatorPlugin> Config::indicatorPlugins [protected] |
Definition at line 145 of file Config.h.
Referenced by closePlugin(), closePlugins(), Config(), getIndicatorPlugin(), and ~Config().
QDict<QuotePlugin> Config::quotePlugins [protected] |
Definition at line 146 of file Config.h.
Referenced by closePlugin(), closePlugins(), Config(), getQuotePlugin(), and ~Config().
QString Config::version [protected] |
Definition at line 147 of file Config.h.
Referenced by Config(), getPluginList(), getQuotePlugin(), and setup().
QStringList Config::indicatorList [protected] |
QStringList Config::indicatorList2 [protected] |
RcFile Config::rcfile [protected] |