#include <Workbench.h>
Public Member Functions | |
virtual void | activated () |
Run some actions when the workbench gets activated. | |
virtual void | deactivated () |
Run some actions when the workbench gets deactivated. | |
virtual Base::Type | getTypeId (void) const |
Workbench () | |
Constructs a workbench object. | |
virtual | ~Workbench () |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Protected Member Functions | |
Gui::MenuItem * | setupMenuBar () const |
Defines the standard menus. | |
Gui::ToolBarItem * | setupToolBars () const |
Defines the standard toolbars. | |
Protected Attributes | |
std::vector < Gui::TaskView::TaskWatcher * > | Watcher |
Definition at line 35 of file Mod/Robot/Gui/Workbench.h.
Workbench::Workbench | ( | ) |
Constructs a workbench object.
Reimplemented from Gui::Workbench.
Definition at line 60 of file Mod/Robot/Gui/Workbench.cpp.
Workbench::~Workbench | ( | ) | [virtual] |
Reimplemented from Gui::Workbench.
Definition at line 64 of file Mod/Robot/Gui/Workbench.cpp.
void Workbench::activated | ( | ) | [virtual] |
Run some actions when the workbench gets activated.
Reimplemented from Gui::Workbench.
Definition at line 68 of file Mod/Robot/Gui/Workbench.cpp.
References Gui::Workbench::addTaskWatcher(), Gui::Control(), Gui::getMainWindow(), App::Application::getResourceDir(), Gui::WaitCursor::restoreCursor(), MovieTool::Robot, Gui::WaitCursor::setWaitCursor(), and Watcher.
void * Workbench::create | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 58 of file Mod/Robot/Gui/Workbench.cpp.
void Workbench::deactivated | ( | ) | [virtual] |
Run some actions when the workbench gets deactivated.
Reimplemented from Gui::Workbench.
Definition at line 162 of file Mod/Robot/Gui/Workbench.cpp.
References Gui::Workbench::removeTaskWatcher().
Base::Type Workbench::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 58 of file Mod/Robot/Gui/Workbench.cpp.
Base::Type Workbench::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Gui::StdWorkbench.
Definition at line 58 of file Mod/Robot/Gui/Workbench.cpp.
void Workbench::init | ( | void | ) | [static] |
Reimplemented from Gui::StdWorkbench.
Definition at line 58 of file Mod/Robot/Gui/Workbench.cpp.
Referenced by initRobotGui().
Gui::MenuItem * Workbench::setupMenuBar | ( | ) | const [protected, virtual] |
Defines the standard menus.
Reimplemented from Gui::StdWorkbench.
Definition at line 192 of file Mod/Robot/Gui/Workbench.cpp.
References Gui::MenuItem::findItem(), Gui::MenuItem::insertItem(), and Gui::MenuItem::setCommand().
Gui::ToolBarItem * Workbench::setupToolBars | ( | ) | const [protected, virtual] |
Defines the standard toolbars.
Reimplemented from Gui::StdWorkbench.
Definition at line 170 of file Mod/Robot/Gui/Workbench.cpp.
References Gui::ToolBarItem::setCommand().
std::vector<Gui::TaskView::TaskWatcher*> RobotGui::Workbench::Watcher [protected] |
Definition at line 53 of file Mod/Robot/Gui/Workbench.h.
Referenced by activated().