Gui::Application Class Reference

The Applcation main class This is the central class of the GUI. More...

#include <Application.h>

List of all members.

Public Member Functions

 Application (bool GUIenabled)
 construction
bool isClosing (void)
 true when the application shuting down
 ~Application ()
 destruction
workbench handling



bool activateWorkbench (const char *name)
 Activate a named workbench.
void setupContextMenu (const char *recipient, MenuItem *) const
QStringList workbenches (void) const
QPixmap workbenchIcon (const QString &) const
QString workbenchMenuText (const QString &) const
QString workbenchToolTip (const QString &) const
methods for View handling



void attachView (Gui::BaseView *pcView)
 Attach a view (get called by the FCView constructor).
void detachView (Gui::BaseView *pcView)
 Detach a view (get called by the FCView destructor).
void onUpdate (void)
 call update to all docuemnts an all views (costly!)
bool sendHasMsgToActiveView (const char *pMsg)
 send Messages test to the active view
bool sendMsgToActiveView (const char *pMsg, const char **ppReturn=0)
 send Messages to the active view
void updateActive (void)
 call update to all views of the active document
void viewActivated (Gui::MDIView *pcView)
 get called if a view gets activated, this manage the whole activation scheme
User Commands



Gui::CommandManagercommandManager (void)
 Reference to the command manager.
void createStandardOperations ()
 helper which create the commands
Gui::MacroManagermacroManager (void)
 Get macro manager.
void runCommand (bool bForce, const char *sCmd,...)
 Run a Python command.
bool runPythonCode (const char *cmd, bool gui=false, bool pyexc=true)
methods for support of files



void exportTo (const char *FileName, const char *DocName, const char *Module)
 Export objects from the document DocName to a single file.
void importFrom (const char *FileName, const char *DocName, const char *Module)
 import a file into the document DocName
void open (const char *FileName, const char *Module)
 open a file

Static Public Member Functions

static PyObjectsActivateWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsActiveDocument (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsActiveWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsAddCommand (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsAddIcon (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsAddIconPath (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsAddLangPath (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsAddPreferencePage (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsAddResPath (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsAddWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsCreateDialog (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsExport (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsGetDocument (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsGetLocale (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsGetWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsHide (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsHideObject (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsInsert (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsListWorkbenchHandlers (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsOpen (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsRemoveWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsRunCommand (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsSendActiveView (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsShow (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsShowObject (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsUpdateGui (PyObject *self, PyObject *args, PyObject *kwd)
static PyObjectsUpdateLocale (PyObject *self, PyObject *args, PyObject *kwd)

Public Attributes

Signals of the Application



boost::signal< void(const
Gui::ViewProvider &)> 
signalActivatedObject
 signal on activated Object
boost::signal< void(const
Gui::MDIView *) 
signalActivateView )
 signal on activating view
boost::signal< void(const char *) signalActivateWorkbench )
 signal on activated workbench
boost::signal< void(const
Gui::Document &)> 
signalActiveDocument
 signal on activating Document
boost::signal< void(const char *) signalAddWorkbench )
 signal on added workbench
boost::signal< void(const
Gui::ViewProvider &, const
App::Property &)> 
signalChangedObject
 signal on changed object property
boost::signal< void(const
Gui::ViewProvider &)> 
signalDeletedObject
 signal on deleted Object
boost::signal< void(const
Gui::Document &)> 
signalDeleteDocument
 signal on deleted Document
boost::signal< void(const
Gui::Document &)> 
signalNewDocument
 signal on new Document
boost::signal< void(const
Gui::ViewProvider &)> 
signalNewObject
 signal on new Object
boost::signal< void(const
Gui::Document &)> 
signalRelabelDocument
 signal on relabeling Document
boost::signal< void(const char *) signalRemoveWorkbench )
 signal on removed workbench
boost::signal< void(const
Gui::ViewProvider &)> 
signalRenamedObject
 signal on renamed Object
boost::signal< void(const
Gui::Document &)> 
signalRenameDocument
 signal on renaming Document

Static Public Attributes

static PyMethodDef Methods []

Init, Destruct an Access methods



static ApplicationInstance = 0L
 some kind of singelton
void tryClose (QCloseEvent *e)
static void initApplication (void)
static void initTypes (void)
static void runApplication (void)

methods for Document handling



Gui::DocumentactiveDocument (void) const
 Getter for the active document.
Gui::DocumentgetDocument (const App::Document *pDoc) const
 Retrieves a pointer to the Gui::Document whose App::Document matches to pDoc.
Gui::DocumentgetDocument (const char *name) const
 Retrieves a pointer to the Gui::Document whose App::Document has the name name.
Gui::ViewProvidergetViewProvider (App::DocumentObject *) const
 Get the view provider of the given object.
void hideViewProvider (App::DocumentObject *)
 Hides the associated view provider of the given object.
void onLastWindowClosed (Gui::Document *pcDoc)
 message when a GuiDocument is about to vanish
void setActiveDocument (Gui::Document *pcDocument)
 Set the active document.
void showViewProvider (App::DocumentObject *)
 Shows the associated view provider of the given object.
void slotActivatedObject (const ViewProvider &)
void slotActiveDocument (const App::Document &)
void slotChangedObject (const ViewProvider &, const App::Property &Prop)
void slotDeletedObject (const ViewProvider &)
void slotDeleteDocument (const App::Document &)
void slotNewDocument (const App::Document &)
 Observer message from the Application.
void slotNewObject (const ViewProvider &)
void slotRelabelDocument (const App::Document &)
void slotRenamedObject (const ViewProvider &)
void slotRenameDocument (const App::Document &)

Detailed Description

The Applcation main class This is the central class of the GUI.

Author:
Jürgen Riegel, Werner Mayer

Definition at line 51 of file Gui/Application.h.


Constructor & Destructor Documentation

Application::Application ( bool  GUIenabled  ) 
Application::~Application (  ) 

Member Function Documentation

bool Application::activateWorkbench ( const char *  name  ) 

Activate a named workbench.

Activate the matching workbench to the registered workbench handler with name name.

The handler must be an instance of a class written in Python. Normally, if a handler gets activated a workbench with the same name gets created unless it already exists.

The old workbench gets deactivated before. If the workbench to the handler is already active or if the switch fails false is returned.

Definition at line 899 of file Gui/Application.cpp.

References Gui::WorkbenchManager::activate(), Gui::Workbench::activated(), Gui::MainWindow::activateWorkbench(), Gui::WorkbenchManager::active(), Py::Callable::apply(), Base::Console(), Gui::WorkbenchManager::createWorkbench(), Gui::Workbench::deactivated(), Py::Object::getAttr(), Gui::getMainWindow(), Gui::Workbench::getPyObject(), Base::PyException::getStackTrace(), Gui::WorkbenchManager::getWorkbench(), Py::Object::hasAttr(), Gui::WorkbenchManager::instance(), draftTools::msg(), Gui::Workbench::name(), RobotExample::pos, Gui::WaitCursor::restoreCursor(), result, Py::Object::setAttr(), Gui::WaitCursor::setWaitCursor(), signalActivateWorkbench, Gui::ApplicationP::startingUp, Py::type(), and Base::Exception::what().

Referenced by runApplication(), and sActivateWorkbenchHandler().

Gui::Document * Application::activeDocument ( void   )  const
void Application::attachView ( Gui::BaseView pcView  ) 

Attach a view (get called by the FCView constructor).

Definition at line 800 of file Gui/Application.cpp.

References Gui::ApplicationP::passive.

Referenced by Gui::BaseView::BaseView().

CommandManager & Application::commandManager ( void   ) 

Reference to the command manager.

Definition at line 1222 of file Gui/Application.cpp.

References Gui::ApplicationP::commandManager.

Referenced by Gui::Dialog::DlgCustomToolbarsImp::addCustomCommand(), Gui::MainWindow::changeEvent(), Gui::Dialog::DlgCustomToolbars::changeEvent(), Gui::Dialog::DlgCustomKeyboardImp::changeEvent(), Gui::Dialog::DlgCustomCommandsImp::changeEvent(), Gui::MDITabbar::contextMenuEvent(), Gui::CreateDocCommands(), Gui::CreateFeatCommands(), Gui::CreateMacroCommands(), Gui::MainWindow::createPopupMenu(), Gui::CreateStdCommands(), Gui::CreateTestCommands(), Gui::CreateViewStdCommands(), CreateWebCommands(), Gui::CreateWindowStdCommands(), Gui::Dialog::DlgCustomCommandsImp::DlgCustomCommandsImp(), Gui::Dialog::DlgCustomKeyboardImp::DlgCustomKeyboardImp(), Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::DockWnd::TextBrowser::dropEvent(), Gui::MainWindow::event(), Gui::Dialog::CommandModel::goAddMacro(), Gui::MacroCommand::load(), Gui::Dialog::DlgCustomActionsImp::on_actionListWidget_itemActivated(), Gui::Dialog::DlgCustomActionsImp::on_buttonAddAction_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonAssign_clicked(), Gui::Dialog::DlgCustomActionsImp::on_buttonRemoveAction_clicked(), Gui::Dialog::DlgCustomActionsImp::on_buttonReplaceAction_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonReset_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonResetAll_clicked(), Gui::Dialog::DlgCustomToolbars::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged(), Gui::Dialog::DlgCustomKeyboardImp::on_editShortcut_textChanged(), Gui::Dialog::DlgCustomToolbars::onAddMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onAddMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onAddMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onGroupActivated(), Gui::Dialog::DlgCustomToolbars::onModifyMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onModifyMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onModifyMacroAction(), sAddCommand(), Gui::MacroCommand::save(), Gui::ToolBoxManager::setup(), Gui::ToolBarManager::setup(), sRunCommand(), Gui::TaskView::TaskWatcherCommands::TaskWatcherCommands(), and Gui::TaskView::TaskWatcherPython::TaskWatcherPython().

void Application::createStandardOperations (  ) 
void Application::detachView ( Gui::BaseView pcView  ) 

Detach a view (get called by the FCView destructor).

Definition at line 805 of file Gui/Application.cpp.

References Gui::ApplicationP::passive.

Referenced by Gui::BaseView::onClose().

void Application::exportTo ( const char *  FileName,
const char *  DocName,
const char *  Module 
)
Gui::Document * Application::getDocument ( const App::Document pDoc  )  const

Retrieves a pointer to the Gui::Document whose App::Document matches to pDoc.

If no such document exists 0 is returned.

Definition at line 765 of file Gui/Application.cpp.

References Gui::ApplicationP::documents.

Gui::Document * Application::getDocument ( const char *  name  )  const
Gui::ViewProvider * Application::getViewProvider ( App::DocumentObject obj  )  const
void Application::hideViewProvider ( App::DocumentObject obj  ) 

Hides the associated view provider of the given object.

Definition at line 780 of file Gui/Application.cpp.

References getViewProvider(), and Gui::ViewProvider::hide().

Referenced by sHideObject().

void Application::importFrom ( const char *  FileName,
const char *  DocName,
const char *  Module 
)
void Application::initApplication ( void   )  [static]
void Application::initTypes ( void   )  [static]
bool Application::isClosing ( void   ) 

true when the application shuting down

Definition at line 1212 of file Gui/Application.cpp.

References Gui::ApplicationP::isClosing.

MacroManager * Application::macroManager ( void   ) 
void Application::onLastWindowClosed ( Gui::Document pcDoc  ) 
void Application::onUpdate ( void   ) 

call update to all docuemnts an all views (costly!)

Definition at line 810 of file Gui/Application.cpp.

References Gui::ApplicationP::documents, and Gui::ApplicationP::passive.

Referenced by Gui::Command::updateAll().

void Application::open ( const char *  FileName,
const char *  Module 
)
void Application::runApplication ( void   )  [static]
void Application::runCommand ( bool  bForce,
const char *  sCmd,
  ... 
)
bool Application::runPythonCode ( const char *  cmd,
bool  gui = false,
bool  pyexc = true 
)
PyObject * Application::sActivateWorkbenchHandler ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 459 of file Gui/ApplicationPy.cpp.

References activateWorkbench(), and Instance.

PyObject * Gui::Application::sActiveDocument ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sActiveWorkbenchHandler ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sAddCommand ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sAddIcon ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sAddIconPath ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sAddLangPath ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sAddPreferencePage ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 440 of file Gui/ApplicationPy.cpp.

PyObject * Application::sAddResPath ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sAddWorkbenchHandler ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sCreateDialog ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 421 of file Gui/ApplicationPy.cpp.

References Base::Exception::what().

bool Application::sendHasMsgToActiveView ( const char *  pMsg  ) 
bool Application::sendMsgToActiveView ( const char *  pMsg,
const char **  ppReturn = 0 
)
void Application::setActiveDocument ( Gui::Document pcDocument  ) 
void Application::setupContextMenu ( const char *  recipient,
MenuItem items 
) const
PyObject * Application::sExport ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sGetDocument ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 146 of file Gui/ApplicationPy.cpp.

References getDocument(), Gui::Document::getPyObject(), and Instance.

PyObject * Application::sGetLocale ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sGetWorkbenchHandler ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 556 of file Gui/ApplicationPy.cpp.

References Instance.

PyObject * Application::sHide ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 161 of file Gui/ApplicationPy.cpp.

References activeDocument(), Instance, Py_Return, and Gui::Document::setHide().

PyObject * Application::sHideObject ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
void Application::showViewProvider ( App::DocumentObject obj  ) 

Shows the associated view provider of the given object.

Definition at line 774 of file Gui/Application.cpp.

References getViewProvider(), and Gui::ViewProvider::show().

Referenced by sShowObject().

PyObject * Application::sInsert ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sListWorkbenchHandlers ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 573 of file Gui/ApplicationPy.cpp.

References Instance.

void Application::slotActivatedObject ( const ViewProvider vp  )  [protected]

Definition at line 668 of file Gui/Application.cpp.

References signalActivatedObject.

Referenced by slotNewDocument().

void Application::slotActiveDocument ( const App::Document Doc  )  [protected]

Definition at line 640 of file Gui/Application.cpp.

References Gui::ApplicationP::documents, and signalActiveDocument.

Referenced by Application().

void Application::slotChangedObject ( const ViewProvider vp,
const App::Property Prop 
) [protected]

Definition at line 658 of file Gui/Application.cpp.

References signalChangedObject.

Referenced by slotNewDocument().

void Application::slotDeletedObject ( const ViewProvider vp  )  [protected]

Definition at line 653 of file Gui/Application.cpp.

References signalDeletedObject.

Referenced by slotNewDocument().

void Application::slotDeleteDocument ( const App::Document Doc  )  [protected]
void Application::slotNewDocument ( const App::Document Doc  )  [protected]
void Application::slotNewObject ( const ViewProvider vp  )  [protected]

Definition at line 648 of file Gui/Application.cpp.

References signalNewObject.

Referenced by slotNewDocument().

void Application::slotRelabelDocument ( const App::Document Doc  )  [protected]

Definition at line 619 of file Gui/Application.cpp.

References Gui::ApplicationP::documents, and signalRelabelDocument.

Referenced by Application().

void Application::slotRenamedObject ( const ViewProvider vp  )  [protected]

Definition at line 663 of file Gui/Application.cpp.

References signalRenamedObject.

Referenced by slotNewDocument().

void Application::slotRenameDocument ( const App::Document Doc  )  [protected]

Definition at line 630 of file Gui/Application.cpp.

References Gui::ApplicationP::documents, and signalRenameDocument.

Referenced by Application().

PyObject * Application::sOpen ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sRemoveWorkbenchHandler ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sRunCommand ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sSendActiveView ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 371 of file Gui/ApplicationPy.cpp.

References Base::Console(), Instance, and sendMsgToActiveView().

PyObject * Application::sShow ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 175 of file Gui/ApplicationPy.cpp.

References activeDocument(), Instance, Py_Return, and Gui::Document::setShow().

PyObject * Application::sShowObject ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
PyObject * Application::sUpdateGui ( PyObject self,
PyObject args,
PyObject kwd 
) [static]

Definition at line 390 of file Gui/ApplicationPy.cpp.

PyObject * Application::sUpdateLocale ( PyObject self,
PyObject args,
PyObject kwd 
) [static]
void Application::tryClose ( QCloseEvent *  e  ) 
void Application::updateActive ( void   ) 

call update to all views of the active document

Definition at line 838 of file Gui/Application.cpp.

References activeDocument(), and Gui::Document::onUpdate().

void Application::viewActivated ( Gui::MDIView pcView  ) 

get called if a view gets activated, this manage the whole activation scheme

Gets called if a view gets activated, this manages the whole activation scheme.

Definition at line 822 of file Gui/Application.cpp.

References Base::Console(), Gui::BaseView::getGuiDocument(), Gui::BaseView::isPassive(), setActiveDocument(), and signalActivateView.

Referenced by Gui::MainWindow::setActiveWindow().

QStringList Application::workbenches ( void   )  const
QPixmap Application::workbenchIcon ( const QString &  wb  )  const
QString Application::workbenchMenuText ( const QString &  wb  )  const
QString Application::workbenchToolTip ( const QString &  wb  )  const

Member Data Documentation

some kind of singelton

Definition at line 188 of file Gui/Application.h.

Referenced by Gui::Command::abortCommand(), InspectionGui::VisualInspection::accept(), PartGui::LoftWidget::accept(), PartGui::FaceColors::accept(), RobotGui::TaskDlgTrajectoryDressUp::accept(), RobotGui::TaskDlgTrajectoryCompound::accept(), RobotGui::TaskDlgEdge2Trac::accept(), DrawingGui::TaskProjection::accept(), PartDesignGui::ChamferWidget::accept(), PartGui::Mirroring::accept(), PartGui::DlgRevolution::accept(), PartGui::DlgPrimitives::accept(), Gui::Dialog::DlgMacroExecuteImp::accept(), PartGui::DlgFilletEdges::accept(), Gui::Dialog::TransformStrategy::acceptDataTransform(), StdCmdMeasureDistance::activated(), StdCmdTreeSelection::activated(), StdCmdDelete::activated(), StdCmdDDuplicateSelection::activated(), CmdShapeInfo::activated(), CmdPartExport::activated(), CmdMeshFillInteractiveHole::activated(), CmdMeshRemoveCompByHand::activated(), CmdMeshEvaluateFacet::activated(), CmdMeshAddFacet::activated(), CmdMeshVertexCurvatureInfo::activated(), CmdInspectElement::activated(), Gui::MacroCommand::activated(), Gui::RecentFilesAction::activateFile(), Gui::Dialog::DlgCustomToolbarsImp::addCustomCommand(), Gui::SelectionSingleton::addSelection(), Gui::Command::adjustCameraPosition(), Application(), PartGui::DlgExtrusion::apply(), PartGui::CrossSections::apply(), Gui::Dialog::TransformStrategy::applyViewTransform(), Gui::BaseView::BaseView(), Gui::MainWindow::changeEvent(), Gui::Dialog::DlgCustomToolbars::changeEvent(), Gui::Dialog::DlgCustomKeyboardImp::changeEvent(), Gui::Dialog::DlgCustomCommandsImp::changeEvent(), MeshGui::ViewProviderMesh::clipMeshCallback(), Gui::MainWindow::closeEvent(), Gui::Command::commitCommand(), Gui::Dialog::TransformStrategy::commitTransform(), Gui::TreeWidget::contextMenuEvent(), Gui::MDITabbar::contextMenuEvent(), CreateAssemblyCommands(), CreateCamCommands(), CreateCompleteCommands(), Gui::CreateDocCommands(), CreateDrawingCommands(), Gui::CreateFeatCommands(), CreateFemCommands(), CreateImageCommands(), CreateImportCommands(), CreateInspectionCommands(), Gui::CreateMacroCommands(), CreateMeshCommands(), CreateMeshPartCommands(), CreateParamPartCommands(), CreatePartCommands(), CreatePartDesignCommands(), CreatePointsCommands(), Gui::MainWindow::createPopupMenu(), CreateRaytracingCommands(), CreateReverseEngineeringCommands(), CreateRobotCommands(), CreateRobotCommandsExport(), CreateRobotCommandsInsertRobots(), CreateRobotCommandsTrajectory(), CreateSandboxCommands(), CreateSimplePartCommands(), CreateSketcherCommands(), CreateSketcherCommandsAlterGeo(), CreateSketcherCommandsConstraints(), CreateSketcherCommandsCreateGeo(), CreateStartCommands(), Gui::CreateStdCommands(), Gui::CreateTestCommands(), Gui::CreateViewStdCommands(), CreateWebCommands(), Gui::CreateWindowStdCommands(), PartGui::CrossSections::CrossSections(), Gui::PointMarker::customEvent(), Gui::MainWindow::customEvent(), PointsGui::ViewProviderPoints::cut(), Gui::DocumentIndex::data(), MeshGui::RemoveComponents::deleteSelection(), Gui::Dialog::DlgCustomCommandsImp::DlgCustomCommandsImp(), Gui::Dialog::DlgCustomKeyboardImp::DlgCustomKeyboardImp(), Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgDisplayPropertiesImp::DlgDisplayPropertiesImp(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), Gui::Dialog::DlgMacroRecordImp::DlgMacroRecordImp(), Gui::SoFCUnifiedSelection::doAction(), Gui::Command::doCommand(), Gui::DocumentModel::DocumentModel(), SketcherGui::ViewProviderSketch::doubleClicked(), Gui::ViewProviderGeometryObject::doubleClicked(), Gui::ViewProviderAnnotationLabel::doubleClicked(), SketcherGui::ViewProviderSketch::draw(), Gui::TreeWidget::dropEvent(), Gui::DockWnd::TextBrowser::dropEvent(), Gui::MainWindow::event(), Gui::ViewProvider::eventCallback(), SketcherGui::EditDatumDialog::exec(), Gui::PythonEditorView::executeScript(), exporter(), Gui::Document::exportObjects(), MeshGui::ViewProviderMesh::fillHole(), Gui::ViewProviderDocumentObject::findFrontRootOfType(), PartGui::DlgExtrusion::findShapes(), FreeCADGui_setupWithoutGUI(), Gui::ViewProviderDocumentObject::getActiveView(), Gui::Command::getGuiApplication(), InspectionGui::ViewProviderInspection::getIcon(), SketcherGui::ViewProviderSketch::getScaleFactor(), SketcherGui::SoZoomTranslation::getScaleFactor(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::Dialog::CommandModel::goAddMacro(), Gui::ViewProviderDocumentObjectGroup::hide(), initAssemblyGui(), initCamGui(), initCompleteGui(), initDrawingGui(), initFemGui(), initImageGui(), initImportGui(), initInspectionGui(), initMeshGui(), initMeshPartGui(), initPartDesignGui(), initPartGui(), initPointsGui(), initRaytracingGui(), initReverseEngineeringGui(), initRobotGui(), initSandboxGui(), initSketcherGui(), initStartGui(), initWebGui(), MeshGui::RemoveComponents::invertSelection(), StdCmdDrawStyle::isActive(), Gui::Command::isActiveObjectValid(), SketcherGui::ViewProviderSketch::isConstraintAtPosition(), Gui::MacroCommand::load(), Gui::MainWindow::loadUrls(), PartGui::LoftWidget::LoftWidget(), MeshGui::ViewProviderMesh::markPartCallback(), Gui::MergeDocuments::MergeDocuments(), SketcherGui::ViewProviderSketch::mouseButtonPressed(), Gui::TreeView::mouseDoubleClickEvent(), Gui::Dialog::DlgCustomActionsImp::on_actionListWidget_itemActivated(), Gui::Dialog::DlgCustomActionsImp::on_buttonAddAction_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonAssign_clicked(), Gui::Dialog::DlgCustomActionsImp::on_buttonRemoveAction_clicked(), Gui::Dialog::DlgCustomActionsImp::on_buttonReplaceAction_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonReset_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonResetAll_clicked(), Gui::Dialog::DlgCustomToolbars::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged(), MeshGui::DlgRegularSolidImp::on_createSolidButton_clicked(), MeshGui::RemoveComponents::on_deselectAll_clicked(), MeshGui::RemoveComponents::on_deselectComponents_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_editButton_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_editShortcut_textChanged(), MeshGui::DlgEvaluateMeshImp::on_refreshButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairAllTogether_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairDegeneratedButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairDuplicatedFacesButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairDuplicatedPointsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairFoldsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairIndicesButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairNonmanifoldsButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairOrientationButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_repairSelfIntersectionButton_clicked(), MeshGui::RemoveComponents::on_selectAll_clicked(), MeshGui::RemoveComponents::on_selectComponents_clicked(), CamGui::Cutting::on_SelectFace_button_clicked(), CamGui::Cutting::on_toolpath_calculation_highest_level_button_clicked(), CamGui::Cutting::on_toolpath_calculation_lowest_level_button_clicked(), CamGui::Cutting::on_toolpath_calculation_middle_level_button_clicked(), Gui::TreeWidget::onActivateDocument(), Gui::Dialog::DlgCustomToolbars::onAddMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onAddMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onAddMacroAction(), Gui::ViewProvider::onChanged(), Gui::BaseView::onClose(), Gui::TreeWidget::onCreateGroup(), PartDesignGui::ViewProviderRevolution::onDelete(), PartDesignGui::ViewProviderPocket::onDelete(), PartDesignGui::ViewProviderPad::onDelete(), PartDesignGui::ViewProviderFillet::onDelete(), Gui::Dialog::RedoDialog::onFetchInfo(), Gui::Dialog::UndoDialog::onFetchInfo(), Gui::TreeWidget::onFinishEditing(), Gui::Dialog::DlgCustomCommandsImp::onGroupActivated(), Gui::Dialog::DlgCustomToolbars::onModifyMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onModifyMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onModifyMacroAction(), Gui::Dialog::RedoDialog::onSelected(), Gui::Dialog::UndoDialog::onSelected(), Gui::TreeWidget::onSelectionChanged(), Gui::TreeWidget::onStartEditing(), Gui::Command::openCommand(), Gui::NavigationStyle::openPopupMenu(), MeshGui::ViewProviderMesh::partMeshCallback(), povViewCamera(), Gui::PythonEditorView::PythonEditorView(), Gui::WorkbenchGroup::refreshWorkbenchList(), PartDesignGui::TaskDlgRevolutionParameters::reject(), PartDesignGui::TaskDlgPocketParameters::reject(), PartDesignGui::TaskDlgPadParameters::reject(), PartDesignGui::TaskDlgFilletParameters::reject(), PartGui::FaceColors::reject(), RobotGui::TaskDlgTrajectoryDressUp::reject(), RobotGui::TaskDlgTrajectoryCompound::reject(), Gui::Dialog::TransformStrategy::resetViewTransform(), Gui::SelectionSingleton::rmvPreselect(), runApplication(), sActivateWorkbenchHandler(), sActiveDocument(), sActiveWorkbenchHandler(), sAddCommand(), sAddWorkbenchHandler(), Gui::MacroCommand::save(), MeshGui::DlgSettingsMeshView::saveSettings(), PartGui::DlgSettings3DViewPart::saveSettings(), MeshGui::ViewProviderMesh::segmMeshCallback(), Gui::MainWindow::setActiveWindow(), Gui::SelectionSingleton::setPreselect(), Gui::PropertyEditor::PropertyItem::setPropertyValue(), Gui::ToolBoxManager::setup(), Gui::ToolBarManager::setup(), PartGui::DlgFilletEdges::setupFillet(), setupMainWindow(), CompleteGui::Workbench::setupMenuBar(), CompleteGui::Workbench::setupToolBars(), sGetDocument(), sGetWorkbenchHandler(), PartGui::ShapeBuilderWidget::ShapeBuilderWidget(), sHide(), sHideObject(), Gui::ViewProviderDocumentObjectGroup::show(), sListWorkbenchHandlers(), Gui::WorkbenchGroup::slotAddWorkbench(), sOpen(), sRemoveWorkbenchHandler(), sRunCommand(), sSendActiveView(), sShow(), sShowObject(), Gui::TaskView::TaskAppearance::TaskAppearance(), RobotGui::TaskTrajectory::TaskTrajectory(), Gui::TaskView::TaskWatcherCommands::TaskWatcherCommands(), Gui::TaskView::TaskWatcherPython::TaskWatcherPython(), RobotGui::TrajectorySimulate::TrajectorySimulate(), Gui::TreeWidget::TreeWidget(), Gui::Command::updateAll(), RobotGui::ViewProviderRobotObject::updateData(), Gui::ViewProviderDocumentObjectGroup::updateData(), MeshGui::ViewProviderMeshCurvature::updateData(), InspectionGui::VisualInspection::VisualInspection(), Gui::WorkbenchGroup::WorkbenchGroup(), and ~Application().

PyMethodDef Application::Methods [static]

Definition at line 232 of file Gui/Application.h.

Referenced by Application().

signal on activated Object

Definition at line 109 of file Gui/Application.h.

Referenced by slotActivatedObject().

boost::signal<void (const Gui::MDIView*) Gui::Application::signalActivateView)

signal on activating view

Definition at line 117 of file Gui/Application.h.

Referenced by viewActivated().

boost::signal<void (const char*) Gui::Application::signalActivateWorkbench)

signal on activated workbench

Definition at line 111 of file Gui/Application.h.

Referenced by activateWorkbench(), and Gui::WorkbenchGroup::WorkbenchGroup().

signal on activating Document

Definition at line 99 of file Gui/Application.h.

Referenced by Gui::DocumentModel::DocumentModel(), slotActiveDocument(), and Gui::TreeWidget::TreeWidget().

boost::signal<void (const char*) Gui::Application::signalAddWorkbench)

signal on added workbench

Definition at line 113 of file Gui/Application.h.

Referenced by sAddWorkbenchHandler(), and Gui::WorkbenchGroup::WorkbenchGroup().

signal on deleted Object

Definition at line 103 of file Gui/Application.h.

Referenced by slotDeletedObject().

signal on deleted Document

Definition at line 93 of file Gui/Application.h.

Referenced by Gui::DocumentModel::DocumentModel(), slotDeleteDocument(), and Gui::TreeWidget::TreeWidget().

boost::signal<void (const Gui::Document&)> Gui::Application::signalNewDocument

signal on new Object

Definition at line 101 of file Gui/Application.h.

Referenced by slotNewObject().

signal on relabeling Document

Definition at line 95 of file Gui/Application.h.

Referenced by Gui::DocumentModel::DocumentModel(), slotRelabelDocument(), and Gui::TreeWidget::TreeWidget().

boost::signal<void (const char*) Gui::Application::signalRemoveWorkbench)

signal on removed workbench

Definition at line 115 of file Gui/Application.h.

Referenced by sRemoveWorkbenchHandler(), and Gui::WorkbenchGroup::WorkbenchGroup().

signal on renamed Object

Definition at line 107 of file Gui/Application.h.

Referenced by slotRenamedObject().

signal on renaming Document

Definition at line 97 of file Gui/Application.h.

Referenced by Gui::DocumentModel::DocumentModel(), slotRenameDocument(), and Gui::TreeWidget::TreeWidget().


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

Generated on Wed Nov 23 19:01:58 2011 for FreeCAD by  doxygen 1.6.1