#include <Toolbar.h>
Public Types | |
enum | Bias { Horizontal, Vertical } |
Public Member Functions | |
Toolbar (QWidget *w, Bias) | |
~Toolbar () | |
void | addButton (QString &name, QPixmap pix, QString &tt) |
ToolBarBtn * | getButton (QString &name) |
void | setButtonStatus (QString &name, bool d) |
void | addSeparator () |
Private Attributes | |
ToolBarBtn * | cancelButton |
QDict< ToolBarBtn > | list |
QGridLayout * | grid |
Bias | bias |
Definition at line 34 of file Toolbar.h.
enum Toolbar::Bias |
Toolbar::Toolbar | ( | QWidget * | w, | |
Bias | b | |||
) |
Toolbar::~Toolbar | ( | ) |
Definition at line 72 of file Toolbar.cpp.
void Toolbar::addButton | ( | QString & | name, | |
QPixmap | pix, | |||
QString & | tt | |||
) |
Definition at line 76 of file Toolbar.cpp.
References bias, grid, list, and Vertical.
Referenced by BarEdit::BarEdit(), Yahoo::buildGui(), QuotePlugin::buildGui(), CSV::createMainPage(), CSVRuleDialog::createRulePage(), FormulaEdit::FormulaEdit(), HelpWindow::HelpWindow(), IndexDialog::IndexDialog(), PortfolioDialog::PortfolioDialog(), and TesterChartPage::TesterChartPage().
ToolBarBtn * Toolbar::getButton | ( | QString & | name | ) |
Definition at line 91 of file Toolbar.cpp.
References list.
Referenced by BarEdit::BarEdit(), Yahoo::buildGui(), QuotePlugin::buildGui(), CSV::createMainPage(), CSVRuleDialog::createRulePage(), FormulaEdit::FormulaEdit(), HelpWindow::HelpWindow(), IndexDialog::IndexDialog(), PortfolioDialog::PortfolioDialog(), and TesterChartPage::TesterChartPage().
void Toolbar::setButtonStatus | ( | QString & | name, | |
bool | d | |||
) |
Definition at line 96 of file Toolbar.cpp.
References list.
Referenced by BarEdit::BarEdit(), QuotePlugin::buildGui(), PortfolioDialog::buttonStatus(), IndexDialog::buttonStatus(), BarEdit::clearButtons(), CSVRuleDialog::createRulePage(), BarEdit::deleteRecord(), QuotePlugin::disableGUI(), QuotePlugin::enableGUI(), CSVRuleDialog::fieldListSelected(), HelpWindow::nextStatus(), PortfolioDialog::PortfolioDialog(), HelpWindow::previousStatus(), CSVRuleDialog::ruleFieldSelected(), BarEdit::saveRecord(), BarEdit::saveRecordDialog(), BarEdit::slotDateSearch(), and BarEdit::textChanged().
void Toolbar::addSeparator | ( | ) |
ToolBarBtn* Toolbar::cancelButton [private] |
QDict<ToolBarBtn> Toolbar::list [private] |
Definition at line 55 of file Toolbar.h.
Referenced by addButton(), getButton(), setButtonStatus(), and Toolbar().
QGridLayout* Toolbar::grid [private] |
Bias Toolbar::bias [private] |