Toolbar Class Reference

#include <Toolbar.h>

Collaboration diagram for Toolbar:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Bias { Horizontal, Vertical }

Public Member Functions

 Toolbar (QWidget *w, Bias)
 ~Toolbar ()
void addButton (QString &name, QPixmap pix, QString &tt)
ToolBarBtngetButton (QString &name)
void setButtonStatus (QString &name, bool d)
void addSeparator ()

Private Attributes

ToolBarBtncancelButton
QDict< ToolBarBtnlist
QGridLayout * grid
Bias bias


Detailed Description

Definition at line 34 of file Toolbar.h.


Member Enumeration Documentation

enum Toolbar::Bias

Enumerator:
Horizontal 
Vertical 

Definition at line 37 of file Toolbar.h.


Constructor & Destructor Documentation

Toolbar::Toolbar ( QWidget *  w,
Bias  b 
)

Definition at line 26 of file Toolbar.cpp.

References bias, grid, list, and Vertical.

Toolbar::~Toolbar (  ) 

Definition at line 72 of file Toolbar.cpp.


Member Function Documentation

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 (  ) 

Definition at line 103 of file Toolbar.cpp.

References bias, grid, and Vertical.


Member Data Documentation

ToolBarBtn* Toolbar::cancelButton [private]

Definition at line 54 of file Toolbar.h.

QDict<ToolBarBtn> Toolbar::list [private]

Definition at line 55 of file Toolbar.h.

Referenced by addButton(), getButton(), setButtonStatus(), and Toolbar().

QGridLayout* Toolbar::grid [private]

Definition at line 58 of file Toolbar.h.

Referenced by addButton(), addSeparator(), and Toolbar().

Bias Toolbar::bias [private]

Definition at line 60 of file Toolbar.h.

Referenced by addButton(), addSeparator(), and Toolbar().


The documentation for this class was generated from the following files: