#include <ToolBarManager.h>
Public Member Functions | |
void | appendItem (ToolBarItem *item) |
void | clear () |
std::string | command () const |
ToolBarItem * | copy () const |
uint | count () const |
ToolBarItem * | findItem (const std::string &) |
QList< ToolBarItem * > | getItems () const |
bool | hasItems () const |
bool | insertItem (ToolBarItem *, ToolBarItem *item) |
ToolBarItem & | operator<< (const std::string &command) |
ToolBarItem & | operator<< (ToolBarItem *item) |
void | removeItem (ToolBarItem *item) |
void | setCommand (const std::string &) |
ToolBarItem (ToolBarItem *item) | |
ToolBarItem () | |
~ToolBarItem () |
Definition at line 35 of file ToolBarManager.h.
ToolBarItem::ToolBarItem | ( | ) |
Definition at line 39 of file ToolBarManager.cpp.
Referenced by operator<<().
ToolBarItem::ToolBarItem | ( | ToolBarItem * | item | ) |
Definition at line 43 of file ToolBarManager.cpp.
References appendItem().
ToolBarItem::~ToolBarItem | ( | ) |
Definition at line 49 of file ToolBarManager.cpp.
References clear().
void ToolBarItem::appendItem | ( | ToolBarItem * | item | ) |
Definition at line 102 of file ToolBarManager.cpp.
Referenced by copy(), operator<<(), and ToolBarItem().
void ToolBarItem::clear | ( | void | ) |
Definition at line 124 of file ToolBarManager.cpp.
Referenced by ~ToolBarItem().
std::string ToolBarItem::command | ( | ) | const |
Definition at line 59 of file ToolBarManager.cpp.
Referenced by copy().
ToolBarItem * ToolBarItem::copy | ( | void | ) | const |
Definition at line 84 of file ToolBarManager.cpp.
References appendItem(), command(), getItems(), and setCommand().
Referenced by Gui::PythonWorkbench::setupCommandBars(), and Gui::PythonWorkbench::setupToolBars().
uint ToolBarItem::count | ( | ) | const |
Definition at line 97 of file ToolBarManager.cpp.
ToolBarItem * ToolBarItem::findItem | ( | const std::string & | name | ) |
Definition at line 69 of file ToolBarManager.cpp.
Referenced by Gui::PythonWorkbench::appendCommandbar(), Gui::PythonWorkbench::appendToolbar(), Gui::PythonWorkbench::removeCommandbar(), and Gui::PythonWorkbench::removeToolbar().
QList< ToolBarItem * > ToolBarItem::getItems | ( | ) | const |
Definition at line 146 of file ToolBarManager.cpp.
Referenced by copy(), Gui::PythonWorkbench::listCommandbars(), Gui::PythonWorkbench::listToolbars(), Gui::ToolBoxManager::setup(), and Gui::ToolBarManager::setup().
bool ToolBarItem::hasItems | ( | ) | const |
Definition at line 64 of file ToolBarManager.cpp.
bool ToolBarItem::insertItem | ( | ToolBarItem * | before, | |
ToolBarItem * | item | |||
) |
Definition at line 107 of file ToolBarManager.cpp.
References RobotExample::pos.
ToolBarItem & ToolBarItem::operator<< | ( | const std::string & | command | ) |
Definition at line 139 of file ToolBarManager.cpp.
References setCommand(), and ToolBarItem().
ToolBarItem & ToolBarItem::operator<< | ( | ToolBarItem * | item | ) |
Definition at line 133 of file ToolBarManager.cpp.
References appendItem().
void ToolBarItem::removeItem | ( | ToolBarItem * | item | ) |
Definition at line 117 of file ToolBarManager.cpp.
References RobotExample::pos.
Referenced by Gui::PythonWorkbench::removeCommandbar(), and Gui::PythonWorkbench::removeToolbar().
void ToolBarItem::setCommand | ( | const std::string & | name | ) |
Definition at line 54 of file ToolBarManager.cpp.
Referenced by Gui::PythonWorkbench::appendCommandbar(), Gui::PythonWorkbench::appendToolbar(), copy(), operator<<(), PointsGui::Workbench::setupCommandBars(), MeshGui::Workbench::setupCommandBars(), ImageGui::Workbench::setupCommandBars(), DrawingGui::Workbench::setupCommandBars(), Gui::StdWorkbench::setupCommandBars(), WebGui::Workbench::setupToolBars(), StartGui::Workbench::setupToolBars(), SketcherGui::Workbench::setupToolBars(), SandboxGui::Workbench::setupToolBars(), RobotGui::Workbench::setupToolBars(), ReverseEngineeringGui::Workbench::setupToolBars(), PointsGui::Workbench::setupToolBars(), PartDesignGui::Workbench::setupToolBars(), PartGui::Workbench::setupToolBars(), MeshPartGui::Workbench::setupToolBars(), MeshGui::Workbench::setupToolBars(), ImageGui::Workbench::setupToolBars(), FemGui::Workbench::setupToolBars(), DrawingGui::Workbench::setupToolBars(), CompleteGui::Workbench::setupToolBars(), AssemblyGui::Workbench::setupToolBars(), and Gui::StdWorkbench::setupToolBars().