#include <MenuManager.h>
Public Member Functions | |
MenuItem * | afterItem (MenuItem *) const |
void | appendItem (MenuItem *) |
void | clear () |
std::string | command () const |
MenuItem * | copy () const |
uint | count () const |
MenuItem * | findItem (const std::string &) |
MenuItem * | findParentOf (const std::string &) |
QList< MenuItem * > | getItems () const |
bool | hasItems () const |
bool | insertItem (MenuItem *, MenuItem *) |
MenuItem () | |
MenuItem (MenuItem *) | |
MenuItem & | operator<< (const std::string &command) |
MenuItem & | operator<< (MenuItem *item) |
void | removeItem (MenuItem *) |
void | setCommand (const std::string &) |
~MenuItem () | |
MenuItem::MenuItem | ( | ) |
Referenced by copy(), and operator<<().
MenuItem::MenuItem | ( | MenuItem * | item | ) |
References appendItem().
MenuItem::~MenuItem | ( | ) |
References clear().
Referenced by Gui::Workbench::addPermanentMenuItems().
void MenuItem::appendItem | ( | MenuItem * | item | ) |
Referenced by copy(), MenuItem(), operator<<(), and Gui::PythonBaseWorkbench::setupContextMenu().
void MenuItem::clear | ( | ) |
Referenced by ~MenuItem().
std::string MenuItem::command | ( | ) | const |
Referenced by copy(), femcommands.manager.CommandManager::GetResources(), and operator<<().
MenuItem * MenuItem::copy | ( | void | ) | const |
References appendItem(), command(), getItems(), MenuItem(), and setCommand().
Referenced by Gui::PythonBaseWorkbench::setupMenuBar(), and Gui::PythonWorkbench::setupMenuBar().
uint MenuItem::count | ( | ) | const |
MenuItem * MenuItem::findItem | ( | const std::string & | name | ) |
Referenced by Gui::Workbench::addPermanentMenuItems(), Gui::PythonBaseWorkbench::appendContextMenu(), Gui::PythonBaseWorkbench::appendMenu(), Gui::PythonBaseWorkbench::removeContextMenu(), Gui::PythonBaseWorkbench::removeMenu(), Gui::TestWorkbench::setupMenuBar(), DrawingGui::Workbench::setupMenuBar(), FemGui::Workbench::setupMenuBar(), InspectionGui::Workbench::setupMenuBar(), MeshGui::Workbench::setupMenuBar(), PartGui::Workbench::setupMenuBar(), PartDesignGui::Workbench::setupMenuBar(), PointsGui::Workbench::setupMenuBar(), RaytracingGui::Workbench::setupMenuBar(), ReverseEngineeringGui::Workbench::setupMenuBar(), RobotGui::Workbench::setupMenuBar(), SandboxGui::Workbench::setupMenuBar(), SketcherGui::Workbench::setupMenuBar(), SpreadsheetGui::Workbench::setupMenuBar(), SurfaceGui::Workbench::setupMenuBar(), and TechDrawGui::Workbench::setupMenuBar().
MenuItem * MenuItem::findParentOf | ( | const std::string & | name | ) |
Referenced by Gui::Workbench::addPermanentMenuItems().
QList< MenuItem * > MenuItem::getItems | ( | ) | const |
Referenced by copy(), Gui::MainWindow::createPopupMenu(), and Gui::MenuManager::setup().
bool MenuItem::hasItems | ( | ) | const |
Referenced by Gui::MainWindow::createPopupMenu(), and PartDesignGui::Workbench::setupContextMenu().
Referenced by Gui::Workbench::addPermanentMenuItems(), Gui::PythonBaseWorkbench::appendMenu(), Gui::TestWorkbench::setupMenuBar(), DrawingGui::Workbench::setupMenuBar(), FemGui::Workbench::setupMenuBar(), InspectionGui::Workbench::setupMenuBar(), MeshGui::Workbench::setupMenuBar(), PartGui::Workbench::setupMenuBar(), PartDesignGui::Workbench::setupMenuBar(), PointsGui::Workbench::setupMenuBar(), RaytracingGui::Workbench::setupMenuBar(), ReverseEngineeringGui::Workbench::setupMenuBar(), RobotGui::Workbench::setupMenuBar(), SandboxGui::Workbench::setupMenuBar(), SketcherGui::Workbench::setupMenuBar(), SpreadsheetGui::Workbench::setupMenuBar(), SurfaceGui::Workbench::setupMenuBar(), and TechDrawGui::Workbench::setupMenuBar().
MenuItem & MenuItem::operator<< | ( | const std::string & | command | ) |
References command(), MenuItem(), and setCommand().
References appendItem().
void MenuItem::removeItem | ( | MenuItem * | item | ) |
void MenuItem::setCommand | ( | const std::string & | name | ) |
Referenced by Gui::Workbench::addPermanentMenuItems(), Gui::PythonBaseWorkbench::appendContextMenu(), Gui::PythonBaseWorkbench::appendMenu(), copy(), Gui::Workbench::createLinkMenu(), SketcherGui::ViewProviderSketch::mouseButtonPressed(), operator<<(), Gui::StdWorkbench::setupContextMenu(), Gui::StdWorkbench::setupMenuBar(), Gui::NoneWorkbench::setupMenuBar(), Gui::TestWorkbench::setupMenuBar(), DrawingGui::Workbench::setupMenuBar(), FemGui::Workbench::setupMenuBar(), InspectionGui::Workbench::setupMenuBar(), MeshGui::Workbench::setupMenuBar(), PartGui::Workbench::setupMenuBar(), PartDesignGui::Workbench::setupMenuBar(), PointsGui::Workbench::setupMenuBar(), RaytracingGui::Workbench::setupMenuBar(), ReverseEngineeringGui::Workbench::setupMenuBar(), RobotGui::Workbench::setupMenuBar(), SandboxGui::Workbench::setupMenuBar(), SketcherGui::Workbench::setupMenuBar(), SpreadsheetGui::Workbench::setupMenuBar(), SurfaceGui::Workbench::setupMenuBar(), and TechDrawGui::Workbench::setupMenuBar().