#include <Preferences.h>
Definition at line 37 of file Preferences.h.
Preferences::Preferences | ( | QWidget * | w | ) |
Definition at line 30 of file Preferences.cpp.
References createColorPage(), createCTPage(), createETPage(), createFontPage(), createGeneralPage(), createMTPage(), helpFile, loadSettings(), slotHelp(), slotSave(), and sz.
Preferences::~Preferences | ( | ) |
Definition at line 58 of file Preferences.cpp.
References RcFile::PrefDlgWindowSize, and RcFile::saveSize().
void Preferences::signalMenubar | ( | bool | ) | [signal] |
Referenced by slotSave().
void Preferences::signalExtraToolbar | ( | bool | ) | [signal] |
Referenced by slotSave().
void Preferences::signalBackgroundColor | ( | QColor | ) | [signal] |
Referenced by slotSave().
void Preferences::signalBorderColor | ( | QColor | ) | [signal] |
Referenced by slotSave().
void Preferences::signalGridColor | ( | QColor | ) | [signal] |
Referenced by slotSave().
void Preferences::signalPlotFont | ( | QFont | ) | [signal] |
Referenced by slotSave().
void Preferences::signalAppFont | ( | QFont | ) | [signal] |
Referenced by slotSave().
void Preferences::signalLoadChart | ( | ) | [signal] |
Referenced by slotSave().
void Preferences::signalReloadToolBars | ( | ) | [signal] |
Referenced by slotSave().
void Preferences::createGeneralPage | ( | ) |
Definition at line 82 of file Preferences.cpp.
References bs1Spinner, bs2Spinner, bs3Spinner, extraToolbar, extraToolbarCheck, menubar, menubarCheck, ps1Button, ps2Button, ps3Button, and slotModified().
Referenced by Preferences().
void Preferences::createColorPage | ( | ) |
Definition at line 145 of file Preferences.cpp.
References backgroundColor, backgroundColorButton, borderColor, borderColorButton, gridColor, gridColorButton, ColorButton::setColorButton(), and slotModified().
Referenced by Preferences().
void Preferences::createFontPage | ( | ) |
Definition at line 193 of file Preferences.cpp.
References appFont, appFontButton, plotFont, plotFontButton, and slotModified().
Referenced by Preferences().
void Preferences::createMTPage | ( | ) |
Definition at line 228 of file Preferences.cpp.
References crosshairBtnCheck, dataWindowBtnCheck, drawModeBtnCheck, gridBtnCheck, helpButtonCheck, RcFile::loadData(), mainQuoteBtnCheck, newIndicatorBtnCheck, paperTradeBtnCheck, prefBtnCheck, quitBtnCheck, scaleToScreenBtnCheck, RcFile::ShowCrosshairBtn, RcFile::ShowDataWindowBtn, RcFile::ShowDrawModeBtn, RcFile::ShowGridBtn, RcFile::ShowHelpButton, RcFile::ShowMainQuoteBtn, RcFile::ShowNewIndicatorBtn, RcFile::ShowPaperTradeBtn, RcFile::ShowPrefBtn, RcFile::ShowQuitBtn, RcFile::ShowScaleToScreenBtn, RcFile::ShowSidePanelBtn, sidePanelBtnCheck, and slotModified().
Referenced by Preferences().
void Preferences::createCTPage | ( | ) |
Definition at line 351 of file Preferences.cpp.
References barSpSpinboxCheck, barsToLoadFieldCheck, cmps15BtnCheck, cmpsComboBoxCheck, cmpsDayBtnCheck, cmpsMtyBtnCheck, cmpsWkyBtnCheck, RcFile::loadData(), RcFile::ShowBarSpSpinbox, RcFile::ShowBarsToLoadField, RcFile::ShowCmps15Btn, RcFile::ShowCmpsComboBox, RcFile::ShowCmpsDayBtn, RcFile::ShowCmpsMtyBtn, RcFile::ShowCmpsWkyBtn, RcFile::ShowSlider, sliderCheck, and slotModified().
Referenced by Preferences().
void Preferences::createETPage | ( | ) |
Definition at line 437 of file Preferences.cpp.
References RcFile::loadData(), recentComboBoxCheck, RcFile::ShowRecentCharts, and slotModified().
Referenced by Preferences().
void Preferences::loadSettings | ( | ) |
Definition at line 64 of file Preferences.cpp.
References appFont, RcFile::AppFont, backgroundColor, RcFile::BackgroundColor, borderColor, RcFile::BorderColor, extraToolbar, gridColor, RcFile::GridColor, RcFile::loadColor(), RcFile::loadData(), RcFile::loadFont(), RcFile::loadSize(), menubar, plotFont, RcFile::PlotFont, RcFile::PrefDlgWindowSize, ps1Button, ps2Button, ps3Button, RcFile::PSButton, RcFile::ShowExtraToolbar, RcFile::ShowMenuBar, and sz.
Referenced by Preferences().
void Preferences::slotHelp | ( | ) | [slot] |
void Preferences::slotSave | ( | ) | [slot] |
Definition at line 467 of file Preferences.cpp.
References RcFile::AppFont, appFont, appFontButton, RcFile::BackgroundColor, backgroundColor, backgroundColorButton, barSpSpinboxCheck, barsToLoadFieldCheck, RcFile::BorderColor, borderColor, borderColorButton, bs1Spinner, bs2Spinner, bs3Spinner, cmps15BtnCheck, cmpsComboBoxCheck, cmpsDayBtnCheck, cmpsMtyBtnCheck, cmpsWkyBtnCheck, crosshairBtnCheck, dataWindowBtnCheck, drawModeBtnCheck, extraToolbar, extraToolbarCheck, ColorButton::getColor(), FontButton::getFont(), gridBtnCheck, RcFile::GridColor, gridColor, gridColorButton, helpButtonCheck, mainQuoteBtnCheck, menubar, menubarCheck, newIndicatorBtnCheck, paperTradeBtnCheck, RcFile::PlotFont, plotFont, plotFontButton, prefBtnCheck, ps1Button, ps2Button, ps3Button, RcFile::PSButton, quitBtnCheck, recentComboBoxCheck, RcFile::saveColor(), RcFile::saveData(), RcFile::saveFont(), scaleToScreenBtnCheck, RcFile::ShowBarSpSpinbox, RcFile::ShowBarsToLoadField, RcFile::ShowCmps15Btn, RcFile::ShowCmpsComboBox, RcFile::ShowCmpsDayBtn, RcFile::ShowCmpsMtyBtn, RcFile::ShowCmpsWkyBtn, RcFile::ShowCrosshairBtn, RcFile::ShowDataWindowBtn, RcFile::ShowDrawModeBtn, RcFile::ShowExtraToolbar, RcFile::ShowGridBtn, RcFile::ShowHelpButton, RcFile::ShowMainQuoteBtn, RcFile::ShowMenuBar, RcFile::ShowNewIndicatorBtn, RcFile::ShowPaperTradeBtn, RcFile::ShowPrefBtn, RcFile::ShowQuitBtn, RcFile::ShowRecentCharts, RcFile::ShowScaleToScreenBtn, RcFile::ShowSidePanelBtn, RcFile::ShowSlider, sidePanelBtnCheck, signalAppFont(), signalBackgroundColor(), signalBorderColor(), signalExtraToolbar(), signalGridColor(), signalLoadChart(), signalMenubar(), signalPlotFont(), signalReloadToolBars(), and sliderCheck.
Referenced by Preferences().
void Preferences::slotModified | ( | ) | [slot] |
Definition at line 603 of file Preferences.cpp.
Referenced by createColorPage(), createCTPage(), createETPage(), createFontPage(), createGeneralPage(), and createMTPage().
QSize Preferences::sz [private] |
QString Preferences::helpFile [private] |
bool Preferences::menubar [private] |
Definition at line 71 of file Preferences.h.
Referenced by createGeneralPage(), loadSettings(), and slotSave().
bool Preferences::extraToolbar [private] |
Definition at line 72 of file Preferences.h.
Referenced by createGeneralPage(), loadSettings(), and slotSave().
int Preferences::ps1Button [private] |
Definition at line 73 of file Preferences.h.
Referenced by createGeneralPage(), loadSettings(), and slotSave().
int Preferences::ps2Button [private] |
Definition at line 74 of file Preferences.h.
Referenced by createGeneralPage(), loadSettings(), and slotSave().
int Preferences::ps3Button [private] |
Definition at line 75 of file Preferences.h.
Referenced by createGeneralPage(), loadSettings(), and slotSave().
QColor Preferences::backgroundColor [private] |
Definition at line 76 of file Preferences.h.
Referenced by createColorPage(), loadSettings(), and slotSave().
QColor Preferences::borderColor [private] |
Definition at line 77 of file Preferences.h.
Referenced by createColorPage(), loadSettings(), and slotSave().
QColor Preferences::gridColor [private] |
Definition at line 78 of file Preferences.h.
Referenced by createColorPage(), loadSettings(), and slotSave().
QFont Preferences::plotFont [private] |
Definition at line 79 of file Preferences.h.
Referenced by createFontPage(), loadSettings(), and slotSave().
QFont Preferences::appFont [private] |
Definition at line 80 of file Preferences.h.
Referenced by createFontPage(), loadSettings(), and slotSave().
QCheckBox* Preferences::menubarCheck [private] |
QCheckBox* Preferences::extraToolbarCheck [private] |
QSpinBox* Preferences::bs1Spinner [private] |
QSpinBox* Preferences::bs2Spinner [private] |
QSpinBox* Preferences::bs3Spinner [private] |
ColorButton* Preferences::backgroundColorButton [private] |
ColorButton* Preferences::borderColorButton [private] |
ColorButton* Preferences::gridColorButton [private] |
FontButton* Preferences::plotFontButton [private] |
FontButton* Preferences::appFontButton [private] |
QCheckBox* Preferences::quitBtnCheck [private] |
QCheckBox* Preferences::prefBtnCheck [private] |
QCheckBox* Preferences::sidePanelBtnCheck [private] |
QCheckBox* Preferences::gridBtnCheck [private] |
QCheckBox* Preferences::scaleToScreenBtnCheck [private] |
QCheckBox* Preferences::crosshairBtnCheck [private] |
QCheckBox* Preferences::paperTradeBtnCheck [private] |
QCheckBox* Preferences::drawModeBtnCheck [private] |
QCheckBox* Preferences::newIndicatorBtnCheck [private] |
QCheckBox* Preferences::dataWindowBtnCheck [private] |
QCheckBox* Preferences::mainQuoteBtnCheck [private] |
QCheckBox* Preferences::helpButtonCheck [private] |
QCheckBox* Preferences::sliderCheck [private] |
QCheckBox* Preferences::barsToLoadFieldCheck [private] |
QCheckBox* Preferences::barSpSpinboxCheck [private] |
QCheckBox* Preferences::cmps15BtnCheck [private] |
QCheckBox* Preferences::cmpsDayBtnCheck [private] |
QCheckBox* Preferences::cmpsWkyBtnCheck [private] |
QCheckBox* Preferences::cmpsMtyBtnCheck [private] |
QCheckBox* Preferences::cmpsComboBoxCheck [private] |
QCheckBox* Preferences::recentComboBoxCheck [private] |