Gui::Application Class Reference

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

#include <Application.h>

Public Member Functions

 Application (bool GUIenabled)
 construction More...
 
 ~Application ()
 destruction More...
 
methods for support of files
void open (const char *FileName, const char *Module)
 open a file More...
 
void importFrom (const char *FileName, const char *DocName, const char *Module)
 import a file into the document DocName More...
 
void exportTo (const char *FileName, const char *DocName, const char *Module)
 Export objects from the document DocName to a single file. More...
 
App::Documentreopen (App::Document *doc)
 Reload a partial opened document. More...
 
methods for View handling
bool sendMsgToActiveView (const char *pMsg, const char **ppReturn=0)
 send Messages to the active view More...
 
bool sendHasMsgToActiveView (const char *pMsg)
 send Messages test to the active view More...
 
bool sendMsgToFocusView (const char *pMsg, const char **ppReturn=0)
 send Messages to the focused view More...
 
bool sendHasMsgToFocusView (const char *pMsg)
 send Messages test to the focused view More...
 
void attachView (Gui::BaseView *pcView)
 Attach a view (get called by the FCView constructor) More...
 
void detachView (Gui::BaseView *pcView)
 Detach a view (get called by the FCView destructor) More...
 
void viewActivated (Gui::MDIView *pcView)
 get called if a view gets activated, this manage the whole activation scheme More...
 
void onUpdate (void)
 call update to all documents and all views (costly!) More...
 
void updateActive (void)
 call update to all views of the active document More...
 
void updateActions (bool delay=false)
 call update to all command actions More...
 
workbench handling
bool activateWorkbench (const char *name)
 Activate a named workbench. More...
 
QPixmap workbenchIcon (const QString &) const
 
QString workbenchToolTip (const QString &) const
 
QString workbenchMenuText (const QString &) const
 
QStringList workbenches (void) const
 
void setupContextMenu (const char *recipient, MenuItem *) const
 
Appearance
void setStyleSheet (const QString &qssFile, bool tiledBackground)
 Activate a named workbench. More...
 
User Commands
Gui::MacroManagermacroManager (void)
 Get macro manager. More...
 
Gui::CommandManagercommandManager (void)
 Reference to the command manager. More...
 
void createStandardOperations ()
 helper which create the commands More...
 

Public Attributes

Signals of the Application
boost::signals2::signal< void(const Gui::Document &, bool)> signalNewDocument
 signal on new Document More...
 
boost::signals2::signal< void(const Gui::Document &)> signalDeleteDocument
 signal on deleted Document More...
 
boost::signals2::signal< void(const Gui::Document &)> signalRelabelDocument
 signal on relabeling Document More...
 
boost::signals2::signal< void(const Gui::Document &)> signalRenameDocument
 signal on renaming Document More...
 
boost::signals2::signal< void(const Gui::Document &)> signalActiveDocument
 signal on activating Document More...
 
boost::signals2::signal< void(const Gui::ViewProvider &)> signalNewObject
 signal on new Object More...
 
boost::signals2::signal< void(const Gui::ViewProvider &)> signalDeletedObject
 signal on deleted Object More...
 
boost::signals2::signal< void(const Gui::ViewProvider &, const App::Property &)> signalBeforeChangeObject
 signal on changed Object More...
 
boost::signals2::signal< void(const Gui::ViewProvider &, const App::Property &)> signalChangedObject
 signal on changed object property More...
 
boost::signals2::signal< void(const Gui::ViewProvider &)> signalRelabelObject
 signal on renamed Object More...
 
boost::signals2::signal< void(const Gui::ViewProvider &)> signalActivatedObject
 signal on activated Object More...
 
boost::signals2::signal< void(const char *)> signalActivateWorkbench
 signal on activated workbench More...
 
boost::signals2::signal< void(const char *)> signalAddWorkbench
 signal on added workbench More...
 
boost::signals2::signal< void(const char *)> signalRemoveWorkbench
 signal on removed workbench More...
 
boost::signals2::signal< void(const Gui::Document &)> signalShowHidden
 signal on show hidden items More...
 
boost::signals2::signal< void(const Gui::MDIView *)> signalActivateView
 signal on activating view More...
 
boost::signals2::signal< void(const Gui::ViewProviderDocumentObject &)> signalInEdit
 signal on entering in edit mode More...
 
boost::signals2::signal< void(const Gui::ViewProviderDocumentObject &)> signalResetEdit
 signal on leaving edit mode More...
 

Init, Destruct an Access methods

static ApplicationInstance = 0L
 some kind of singelton More...
 
static PyMethodDef Methods []
 
void tryClose (QCloseEvent *e)
 
static void initApplication (void)
 
static void initTypes (void)
 
static void initOpenInventor (void)
 
static void runInitGuiScript (void)
 
static void runApplication (void)
 
static PyObjectsActivateWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsAddWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsRemoveWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsGetWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsListWorkbenchHandlers (PyObject *self, PyObject *args)
 
static PyObjectsActiveWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsAddResPath (PyObject *self, PyObject *args)
 
static PyObjectsAddLangPath (PyObject *self, PyObject *args)
 
static PyObjectsAddIconPath (PyObject *self, PyObject *args)
 
static PyObjectsAddIcon (PyObject *self, PyObject *args)
 
static PyObjectsGetIcon (PyObject *self, PyObject *args)
 
static PyObjectsIsIconCached (PyObject *self, PyObject *args)
 
static PyObjectsSendActiveView (PyObject *self, PyObject *args)
 
static PyObjectsSendFocusView (PyObject *self, PyObject *args)
 
static PyObjectsGetMainWindow (PyObject *self, PyObject *args)
 
static PyObjectsUpdateGui (PyObject *self, PyObject *args)
 
static PyObjectsUpdateLocale (PyObject *self, PyObject *args)
 
static PyObjectsGetLocale (PyObject *self, PyObject *args)
 
static PyObjectsSetLocale (PyObject *self, PyObject *args)
 
static PyObjectsSupportedLocales (PyObject *self, PyObject *args)
 
static PyObjectsCreateDialog (PyObject *self, PyObject *args)
 
static PyObjectsAddPreferencePage (PyObject *self, PyObject *args)
 
static PyObjectsRunCommand (PyObject *self, PyObject *args)
 
static PyObjectsAddCommand (PyObject *self, PyObject *args)
 
static PyObjectsHide (PyObject *self, PyObject *args)
 
static PyObjectsShow (PyObject *self, PyObject *args)
 
static PyObjectsHideObject (PyObject *self, PyObject *args)
 
static PyObjectsShowObject (PyObject *self, PyObject *args)
 
static PyObjectsOpen (PyObject *self, PyObject *args)
 
static PyObjectsInsert (PyObject *self, PyObject *args)
 
static PyObjectsExport (PyObject *self, PyObject *args)
 
static PyObjectsReload (PyObject *self, PyObject *args)
 
static PyObjectsLoadFile (PyObject *self, PyObject *args)
 
static PyObjectsCoinRemoveAllChildren (PyObject *self, PyObject *args)
 
static PyObjectsActiveDocument (PyObject *self, PyObject *args)
 
static PyObjectsSetActiveDocument (PyObject *self, PyObject *args)
 
static PyObjectsActiveView (PyObject *self, PyObject *args)
 
static PyObjectsActivateView (PyObject *self, PyObject *args)
 
static PyObjectsGetDocument (PyObject *self, PyObject *args)
 
static PyObjectsEditDocument (PyObject *self, PyObject *args)
 
static PyObjectsDoCommand (PyObject *self, PyObject *args)
 
static PyObjectsDoCommandGui (PyObject *self, PyObject *args)
 
static PyObjectsAddModule (PyObject *self, PyObject *args)
 
static PyObjectsShowDownloads (PyObject *self, PyObject *args)
 
static PyObjectsShowPreferences (PyObject *self, PyObject *args)
 
static PyObjectsCreateViewer (PyObject *self, PyObject *args)
 
static PyObjectsGetMarkerIndex (PyObject *self, PyObject *args)
 
static PyObjectsAddDocObserver (PyObject *self, PyObject *args)
 
static PyObjectsRemoveDocObserver (PyObject *self, PyObject *args)
 

methods for Document handling

void onLastWindowClosed (Gui::Document *pcDoc)
 message when a GuiDocument is about to vanish More...
 
Gui::DocumentactiveDocument (void) const
 Getter for the active document. More...
 
void setActiveDocument (Gui::Document *pcDocument)
 Set the active document. More...
 
Gui::DocumenteditDocument (void) const
 Getter for the editing document. More...
 
Gui::MDIVieweditViewOfNode (SoNode *node) const
 
void setEditDocument (Gui::Document *pcDocument)
 Set editing document, which will reset editing of all other document. More...
 
Gui::DocumentgetDocument (const char *name) const
 Retrieves a pointer to the Gui::Document whose App::Document has the name name. More...
 
Gui::DocumentgetDocument (const App::Document *pDoc) const
 Retrieves a pointer to the Gui::Document whose App::Document matches to pDoc. More...
 
Gui::MDIViewactiveView (void) const
 Getter for the active view of the active document or null. More...
 
void activateView (const Base::Type &, bool create=false)
 Activate a view of the given type of the active document. More...
 
void showViewProvider (const App::DocumentObject *)
 Shows the associated view provider of the given object. More...
 
void hideViewProvider (const App::DocumentObject *)
 Hides the associated view provider of the given object. More...
 
Gui::ViewProvidergetViewProvider (const App::DocumentObject *) const
 Get the view provider of the given object. More...
 
bool isClosing (void)
 true when the application shutting down More...
 
void checkForPreviousCrashes ()
 
void slotNewDocument (const App::Document &, bool)
 Observer message from the Application. More...
 
void slotDeleteDocument (const App::Document &)
 
void slotRelabelDocument (const App::Document &)
 
void slotRenameDocument (const App::Document &)
 
void slotActiveDocument (const App::Document &)
 
void slotShowHidden (const App::Document &)
 
void slotNewObject (const ViewProvider &)
 
void slotDeletedObject (const ViewProvider &)
 
void slotChangedObject (const ViewProvider &, const App::Property &Prop)
 
void slotRelabelObject (const ViewProvider &)
 
void slotActivatedObject (const ViewProvider &)
 
void slotInEdit (const Gui::ViewProviderDocumentObject &)
 
void slotResetEdit (const Gui::ViewProviderDocumentObject &)
 

Detailed Description

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

Author
J├╝rgen Riegel, Werner Mayer

Constructor & Destructor Documentation

◆ Application()

Application::Application ( bool  GUIenabled)

construction

References Gui::Translator::activateLanguage(), Base::InterpreterSingleton::addType(), draftgeoutils.faces::bind(), Gui::FreeCADGui_methods, App::GetApplication(), ParameterGrp::GetASCII(), ParameterGrp::GetBool(), ParameterGrp::GetGroup(), Gui::TaskView::ControlPy::getInstance(), App::Application::GetParameterGroupByPath(), App::Application::GetUserParameter(), Gui::GetWidgetFactorySupplier(), Gui::PythonDebugModule::init_module(), Gui::ExpressionBindingPy::init_type(), Gui::MDIViewPy::init_type(), Gui::PythonStdout::init_type(), Gui::PythonStderr::init_type(), Gui::OutputStdout::init_type(), Gui::OutputStderr::init_type(), Gui::PythonStdin::init_type(), Gui::SelectionFilterPy::init_type(), Gui::AbstractSplitViewPy::init_type(), Gui::TaskView::ControlPy::init_type(), Gui::View3DInventorPy::init_type(), Gui::View3DInventorViewerPy::init_type(), Gui::UiLoaderPy::init_type(), Gui::PyResource::init_type(), Gui::Translator::instance(), Base::Interpreter(), Gui::MacroCommand::load(), Methods, Gui::SelectionSingleton::Methods, App::Application::signalActiveDocument, App::Application::signalDeleteDocument, App::Application::signalNewDocument, App::Application::signalRelabelDocument, App::Application::signalRenameDocument, App::Application::signalShowHidden, slotActiveDocument(), slotDeleteDocument(), slotNewDocument(), slotRelabelDocument(), slotRenameDocument(), slotShowHidden(), Gui::AxisOriginPy::Type, Gui::CommandPy::Type, Gui::DocumentPy::Type, Gui::LinkViewPy::Type, Gui::ViewProviderDocumentObjectPy::Type, Gui::ViewProviderLinkPy::Type, and Gui::ViewProviderPy::Type.

◆ ~Application()

Member Function Documentation

◆ activateView()

void Application::activateView ( const Base::Type type,
bool  create = false 
)

Activate a view of the given type of the active document.

Application::activateView Activates a view of the given type of the active document.

If a view of this type doesn't exist and create is true a new view of this type will be created.

Parameters
type
create

References femsolver.elmer.equations.elasticity::create(), and Base::BaseClass::isDerivedFrom().

◆ activateWorkbench()

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.

References Gui::Workbench::activated(), Gui::MainWindow::activateWorkbench(), Gui::WorkbenchManager::active(), Base::Console(), Gui::WorkbenchManager::createWorkbench(), Gui::Workbench::deactivated(), Base::ConsoleSingleton::Error(), Base::Type::fromName(), App::GetApplication(), Base::BaseClass::getClassTypeId(), Gui::getMainWindow(), App::Application::GetParameterGroupByPath(), Gui::Workbench::getPyObject(), Gui::WorkbenchManager::getWorkbench(), Gui::WorkbenchManager::instance(), Base::Type::isDerivedFrom(), Base::ConsoleSingleton::Log(), Gui::Workbench::name(), Gui::WaitCursor::restoreCursor(), and Gui::WaitCursor::setWaitCursor().

Referenced by Gui::Dialog::DlgSettingsLazyLoadedImp::onLoadClicked(), and runApplication().

◆ activeDocument()

Gui::Document * Application::activeDocument ( void  ) const

Getter for the active document.

Getter for the active view.

Referenced by Gui::Dialog::DlgMacroExecuteImp::accept(), DrawingGui::TaskProjection::accept(), InspectionGui::VisualInspection::accept(), RobotGui::TaskDlgEdge2Trac::accept(), RobotGui::TaskDlgTrajectoryCompound::accept(), RobotGui::TaskDlgTrajectoryDressUp::accept(), Gui::MacroCommand::activated(), StdCmdGroup::activated(), StdViewDockUndockFullscreen::activated(), StdCmdMeasureDistance::activated(), DrawSketchHandlerExternal::activated(), DrawSketchHandlerCarbonCopy::activated(), Gui::RecentMacrosAction::activateFile(), SketcherGui::ViewProviderSketch::activateHandler(), Gui::SelectionSingleton::addSelection(), Gui::Command::adjustCameraPosition(), MeshGui::ViewProviderMesh::clipMeshCallback(), Gui::Dialog::TransformStrategy::commitTransform(), SketcherGui::ConstraintView::contextMenuEvent(), PartGui::DlgPrimitives::createPrimitive(), ReverseEngineeringGui::SegmentationManual::createSegment(), MeshPartGui::CrossSections::CrossSections(), PartGui::CrossSections::CrossSections(), Gui::MainWindow::customEvent(), Gui::PointMarker::customEvent(), PointsGui::ViewProviderScattered::cut(), PointsGui::ViewProviderStructured::cut(), Gui::DocumentIndex::data(), MeshGui::RemoveComponents::deleteSelection(), Gui::ViewProviderAnnotationLabel::doubleClicked(), Gui::ViewProviderMaterialObject::doubleClicked(), FemGui::ViewProviderFemPostFunction::doubleClicked(), FemGui::ViewProviderFemPostObject::doubleClicked(), RaytracingGui::ViewProviderLux::doubleClicked(), RaytracingGui::ViewProviderPovray::doubleClicked(), Gui::ViewProviderDragger::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), PartDesignGui::ViewProviderDatum::doubleClicked(), SketcherGui::ViewProviderSketch::doubleClicked(), PartGui::eraseAllDimensions(), Gui::MainWindow::event(), Gui::ViewProvider::eventCallback(), PartDesignGui::TaskBooleanParameters::exitSelectionMode(), MeshGui::ViewProviderMesh::fillHole(), ReverseEngineeringGui::SegmentationManual::Private::findGeometry(), TechDrawGui::DrawGuiUtil::get3DDirAndRot(), Gui::Command::getActiveGuiDocument(), Gui::DocumentT::getAppDocumentPython(), Gui::ViewProvider::getBoundingBox(), Gui::Command::getDocument(), Gui::DocumentT::getGuiDocumentPython(), Gui::ViewProviderT::getObjectPython(), PartGui::getViewer(), MeshGui::MeshSelection::getViewer(), StdCmdDrawStyle::isActive(), Gui::Command::isActiveObjectValid(), Gui::Command::isViewOfType(), MeshGui::ViewProviderMesh::markPartCallback(), MeshGui::DlgRegularSolidImp::on_createSolidButton_clicked(), MeshGui::DlgEvaluateMeshImp::on_refreshButton_clicked(), FemGui::TaskFemConstraint::onButtonWizOk(), MeshGui::ViewProviderMesh::partMeshCallback(), PartDesignGui::TaskDlgBooleanParameters::reject(), RobotGui::TaskDlgTrajectoryCompound::reject(), RobotGui::TaskDlgTrajectoryDressUp::reject(), TechDrawGui::TaskLeaderLine::removeFeature(), TechDrawGui::TaskRichAnno::removeFeature(), Gui::SelectionSingleton::rmvPreselect(), Gui::SelectionSingleton::rmvSelectionGate(), Gui::TreeWidget::scrollItemToTop(), MeshGui::ViewProviderMesh::segmMeshCallback(), SpreadsheetGui::WorkbenchHelper::setBackgroundColor(), SpreadsheetGui::WorkbenchHelper::setForegroundColor(), Gui::SelectionSingleton::setPreselect(), sOpen(), Gui::TreeWidget::startItemSearch(), PartDesignGui::TaskShapeBinder::TaskShapeBinder(), RobotGui::TaskTrajectory::TaskTrajectory(), RobotGui::TrajectorySimulate::TrajectorySimulate(), and MeshGui::ViewProviderMesh::trimMeshCallback().

◆ activeView()

◆ attachView()

void Application::attachView ( Gui::BaseView pcView)

Attach a view (get called by the FCView constructor)

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

◆ checkForPreviousCrashes()

◆ commandManager()

CommandManager & Application::commandManager ( void  )

Reference to the command manager.

Referenced by Gui::PythonGroupCommand::activated(), Gui::GroupCommand::addCommand(), Gui::Dialog::DlgCustomToolbarsImp::addCustomCommand(), PartDesignGui::assertActivePart(), Gui::Dialog::DlgCustomCommandsImp::changeEvent(), Gui::Dialog::DlgCustomKeyboardImp::changeEvent(), Gui::Dialog::DlgCustomToolbars::changeEvent(), Gui::MainWindow::changeEvent(), Gui::MDITabbar::contextMenuEvent(), Gui::PythonGroupCommand::createAction(), Gui::CreateDocCommands(), Gui::CreateFeatCommands(), Gui::CreateLinkCommands(), Gui::Workbench::createLinkMenu(), Gui::CreateMacroCommands(), Gui::MainWindow::createPopupMenu(), Gui::CreateStdCommands(), Gui::CreateStructureCommands(), Gui::CreateTestCommands(), Gui::CreateViewStdCommands(), Gui::CreateWindowStdCommands(), PartDesignGui::WorkflowManager::determineWorkflow(), Gui::Dialog::DlgCustomCommandsImp::DlgCustomCommandsImp(), Gui::Dialog::DlgCustomKeyboardImp::DlgCustomKeyboardImp(), Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::MainWindow::event(), Gui::Dialog::CommandModel::goAddMacro(), Gui::PythonGroupCommand::languageChange(), Gui::MacroCommand::load(), Gui::Dialog::DlgCustomActionsImp::on_actionListWidget_itemActivated(), Gui::Dialog::DlgMacroExecuteImp::on_addonsButton_clicked(), Gui::Dialog::DlgCustomActionsImp::on_buttonAddAction_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::DlgCustomKeyboardImp::on_categoryBox_activated(), Gui::Dialog::DlgCustomToolbars::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged(), Gui::Dialog::DlgCustomKeyboardImp::on_editShortcut_textChanged(), Gui::Dialog::DemoMode::on_fullscreen_toggled(), SketcherGui::TaskSketcherConstrains::on_listWidgetConstraints_updateActiveStatus(), SketcherGui::TaskSketcherConstrains::on_listWidgetConstraints_updateDrivingStatus(), Gui::Dialog::DlgMacroExecuteImp::on_toolbarButton_clicked(), Gui::Dialog::DlgCustomCommandsImp::onAddMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onAddMacroAction(), Gui::Dialog::DlgCustomToolbars::onAddMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onGroupActivated(), Gui::Dialog::DlgCustomCommandsImp::onModifyMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onModifyMacroAction(), Gui::Dialog::DlgCustomToolbars::onModifyMacroAction(), Gui::TaskCSysDragger::open(), sAddCommand(), Gui::MacroCommand::save(), Gui::Dialog::DlgCustomKeyboardImp::setShortcutOfCurrentAction(), Gui::ToolBoxManager::setup(), Gui::ToolBarManager::setup(), MeshGui::Workbench::setupMenuBar(), sRunCommand(), SandboxGui::TaskPanelView::TaskPanelView(), FemGui::TaskPostClip::TaskPostClip(), FemGui::TaskPostCut::TaskPostCut(), Gui::TaskView::TaskWatcherCommands::TaskWatcherCommands(), Gui::TaskView::TaskWatcherPython::TaskWatcherPython(), Gui::Command::testActive(), Gui::MainWindow::updateEditorActions(), and Gui::TaskCSysDragger::~TaskCSysDragger().

◆ createStandardOperations()

◆ detachView()

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

Detach a view (get called by the FCView destructor)

Referenced by Gui::BaseView::onClose(), and SpreadsheetGui::SheetView::~SheetView().

◆ editDocument()

◆ editViewOfNode()

◆ exportTo()

◆ getDocument() [1/2]

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.

◆ getDocument() [2/2]

Gui::Document * Application::getDocument ( const char *  name) const

Retrieves a pointer to the Gui::Document whose App::Document has the name name.

If no such document exists 0 is returned.

References App::GetApplication(), and App::Application::getDocument().

Referenced by Gui::Dialog::DocumentRecovery::accept(), MeshPartGui::Tessellation::accept(), PartGui::FaceColors::accept(), PartGui::LoftWidget::accept(), PartGui::SweepWidget::accept(), TechDrawGui::TaskCenterLine::accept(), TechDrawGui::TaskCosVertex::accept(), TechDrawGui::TaskDetail::accept(), TechDrawGui::TaskLeaderLine::accept(), TechDrawGui::TaskLineDecor::accept(), TechDrawGui::TaskProjGroup::accept(), TechDrawGui::TaskRichAnno::accept(), Gui::TaskCSysDragger::accept(), Gui::Dialog::TransformStrategy::acceptDataTransform(), Gui::AlignmentGroup::addView(), Gui::TransactionViewProvider::applyNew(), Gui::Dialog::TransformStrategy::applyViewTransform(), PartDesignGui::ViewProviderBody::attach(), Gui::MainWindow::closeAllDocuments(), TechDrawGui::Grabber3d::copyActiveViewToSvgFile(), Gui::TreeWidget::dropEvent(), Gui::Document::exportObjects(), Gui::ViewProviderOriginGroupExtension::extensionAttach(), Gui::ViewProviderDocumentObject::findFrontRootOfType(), PartGui::DlgExtrusion::findShapes(), Gui::ViewProviderDocumentObject::getActiveView(), Gui::DocumentT::getDocument(), Gui::ViewProviderT::getDocument(), Gui::AlignmentGroup::getDocument(), Gui::ViewProviderDocumentObject::getDocument(), Gui::ViewProviderDocumentObject::getEditingView(), TechDrawGui::QGIView::getFrameState(), InspectionGui::ViewProviderInspection::getIcon(), Gui::ViewProviderDocumentObject::getInventorView(), TechDrawGui::ViewProviderDrawingView::getMDIViewPage(), TechDrawGui::ViewProviderTemplate::getMDIViewPage(), TechDrawGui::ViewProviderDrawingView::getQView(), Gui::LinkInfo::getView(), Gui::ViewProviderDocumentObject::getViewOfNode(), TechDrawGui::QGIView::getViewProvider(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::MainWindow::insertFromMimeData(), Gui::TreeWidget::isObjectShowable(), Gui::TaskView::TaskView::keyPressEvent(), TechDrawGui::TaskLinkDim::loadAvailDims(), Gui::MergeDocuments::MergeDocuments(), Gui::DAG::Model::mouseDoubleClickEvent(), 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(), Gui::TreeWidget::onActivateDocument(), Gui::TreeWidget::onFinishEditing(), PartGui::TaskDlgAttacher::open(), PartGui::FaceColors::open(), PartGui::FaceColors::Private::Private(), PartGui::FaceColors::reject(), TechDrawGui::TaskCenterLine::reject(), TechDrawGui::TaskCosVertex::reject(), TechDrawGui::TaskDetail::reject(), TechDrawGui::TaskLeaderLine::reject(), TechDrawGui::TaskLineDecor::reject(), TechDrawGui::TaskProjGroup::reject(), TechDrawGui::TaskRichAnno::reject(), Gui::Dialog::TransformStrategy::resetViewTransform(), Gui::Document::save(), Gui::Document::saveAll(), PartGui::DlgSettings3DViewPart::saveSettings(), Gui::TreeWidget::selectAll(), FemGui::ActiveAnalysisObserver::setActiveObject(), TechDrawGui::ViewProviderPage::setTemplateMarkers(), PartDesignGui::ViewProviderBody::setVisualBodyMode(), sExport(), DrawingGui::ViewProviderDrawingPage::showDrawingView(), TechDrawGui::ViewProviderPage::showMDIViewPage(), SpreadsheetGui::ViewProviderSheet::showSpreadsheetView(), sReload(), PartGui::TaskAttacher::TaskAttacher(), TechDrawGui::TaskCosVertex::TaskCosVertex(), TechDrawGui::TaskDetail::TaskDetail(), TechDrawGui::TaskLeaderLine::TaskLeaderLine(), PartDesignGui::TaskPipeOrientation::TaskPipeOrientation(), TechDrawGui::TaskProjGroup::TaskProjGroup(), TechDrawGui::TaskRichAnno::TaskRichAnno(), PartDesignGui::ViewProviderBody::unifyVisualProperty(), DrawingGui::ViewProviderDrawingPage::updateData(), MeshGui::ViewProviderMeshCurvature::updateData(), TechDrawGui::ViewProviderGeomHatch::updateGraphic(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), and InspectionGui::VisualInspection::VisualInspection().

◆ getViewProvider()

Gui::ViewProvider * Application::getViewProvider ( const App::DocumentObject obj) const

Get the view provider of the given object.

References Draft::gui.

Referenced by MeshPartGui::Tessellation::accept(), PartGui::DlgFilletEdges::accept(), Gui::View3DInventorViewer::checkGroupOnTop(), SketcherGui::ConstraintView::deleteSelectedItems(), SketcherGui::ElementView::deleteSelectedItems(), Gui::DlgObjectSelection::DlgObjectSelection(), Gui::SoFCUnifiedSelection::doAction(), Gui::TreeWidget::dropEvent(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren(), ExportOCAFGui::findColors(), Gui::LinkInfo::getDetail(), Gui::ViewProviderDocumentObject::getDetailPath(), Gui::ViewProviderLink::getElementColors(), Gui::ViewProviderLink::getLinkedView(), TechDrawGui::ViewProviderGeomHatch::getMDIView(), TechDrawGui::ViewProviderHatch::getMDIView(), PartDesignGui::ViewProviderDatum::getRelevantBoundBox(), Gui::DocumentItem::getViewProvider(), MeshGui::MeshSelection::getViewProviders(), PartGui::TaskCheckGeometryResults::goCheck(), SurfaceGui::ViewProviderGeomFillSurface::highlightReferences(), PartDesignGui::ViewProviderDressUp::highlightReferences(), PartDesignGui::ViewProviderShapeBinder::highlightReferences(), SurfaceGui::ViewProviderFilling::highlightReferences(), SurfaceGui::ViewProviderSections::highlightReferences(), PartDesignGui::makeBody(), Gui::ViewProviderOrigin::onChanged(), PartGui::ViewProviderOffset::onDelete(), PartGui::ViewProviderThickness::onDelete(), PartDesignGui::ViewProvider::onDelete(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), Gui::PropertyView::onTimer(), PartGui::PropertyEnumAttacherItem::openTask(), PartGui::OffsetWidget::reject(), PartGui::ThicknessWidget::reject(), PartDesignGui::TaskDlgFeatureParameters::reject(), PartDesignGui::TaskDlgSketchBasedParameters::reject(), Gui::TreeWidget::selectAllLinks(), Gui::Document::setActiveView(), Gui::Document::setEdit(), Gui::DocumentPy::setEdit(), Gui::ViewProviderLink::setOverrideMode(), PartDesignGui::ViewProviderAddSub::setPreviewDisplayMode(), Gui::ViewProviderOrigin::setTemporaryVisibility(), PartGui::DlgFilletEdges::setupFillet(), Gui::SelectionSingleton::setVisible(), sExport(), PartDesignGui::ViewProviderTransformed::startEditing(), PartDesignGui::TaskBoxPrimitives::TaskBoxPrimitives(), FemGui::TaskCreateNodeSet::TaskCreateNodeSet(), PartDesignGui::TaskFeaturePick::TaskFeaturePick(), PartDesignGui::TaskHelixParameters::TaskHelixParameters(), PartDesignGui::TaskRevolutionParameters::TaskRevolutionParameters(), PartGui::ViewProviderBoolean::updateData(), PartGui::ViewProviderMultiFuse::updateData(), PartGui::ViewProviderMultiCommon::updateData(), PartGui::ViewProviderCompound::updateData(), PartGui::ViewProviderFillet::updateData(), PartGui::ViewProviderChamfer::updateData(), RobotGui::ViewProviderRobotObject::updateData(), PartDesignGui::ViewProviderBody::updateData(), FemGui::ViewProviderFemPostPipeline::updateFunctionSize(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), Gui::ViewProviderOriginGroupExtension::updateOriginSize(), FemGui::ViewProviderFemPostFunctionProvider::updateSize(), Gui::View3DInventorViewer::viewSelection(), PartGui::DlgProjectionOnSurface::~DlgProjectionOnSurface(), PartDesignGui::TaskBoxPrimitives::~TaskBoxPrimitives(), PartDesignGui::TaskHelixParameters::~TaskHelixParameters(), PartDesignGui::TaskLinearPatternParameters::~TaskLinearPatternParameters(), PartDesignGui::TaskMirroredParameters::~TaskMirroredParameters(), PartDesignGui::TaskPolarPatternParameters::~TaskPolarPatternParameters(), and PartDesignGui::TaskRevolutionParameters::~TaskRevolutionParameters().

◆ hideViewProvider()

◆ importFrom()

◆ initApplication()

void Application::initApplication ( void  )
static

◆ initOpenInventor()

void Application::initOpenInventor ( void  )
static

References Gui::SoFCDB::init().

◆ initTypes()

void Application::initTypes ( void  )
static

◆ isClosing()

bool Application::isClosing ( void  )

true when the application shutting down

◆ macroManager()

◆ onLastWindowClosed()

◆ onUpdate()

void Application::onUpdate ( void  )

call update to all documents and all views (costly!)

Referenced by shipAreasCurve.TaskPanel.TaskPanel::initValues(), shipAreasCurve.TaskPanel.TaskPanel::onData(), and Gui::Command::updateAll().

◆ open()

◆ reopen()

◆ runApplication()

◆ runInitGuiScript()

void Application::runInitGuiScript ( void  )
static

◆ sActivateView()

PyObject * Gui::Application::sActivateView ( PyObject self,
PyObject args 
)
static

◆ sActivateWorkbenchHandler()

PyObject * Application::sActivateWorkbenchHandler ( PyObject self,
PyObject args 
)
static

◆ sActiveDocument()

PyObject * Gui::Application::sActiveDocument ( PyObject self,
PyObject args 
)
static

◆ sActiveView()

◆ sActiveWorkbenchHandler()

PyObject * Application::sActiveWorkbenchHandler ( PyObject self,
PyObject args 
)
static

◆ sAddCommand()

◆ sAddDocObserver()

PyObject * Application::sAddDocObserver ( PyObject self,
PyObject args 
)
static

◆ sAddIcon()

PyObject * Application::sAddIcon ( PyObject self,
PyObject args 
)
static

◆ sAddIconPath()

PyObject * Application::sAddIconPath ( PyObject self,
PyObject args 
)
static

◆ sAddLangPath()

PyObject * Application::sAddLangPath ( PyObject self,
PyObject args 
)
static

◆ sAddModule()

PyObject * Application::sAddModule ( PyObject self,
PyObject args 
)
static

◆ sAddPreferencePage()

PyObject * Application::sAddPreferencePage ( PyObject self,
PyObject args 
)
static

◆ sAddResPath()

◆ sAddWorkbenchHandler()

PyObject * Application::sAddWorkbenchHandler ( PyObject self,
PyObject args 
)
static

◆ sCoinRemoveAllChildren()

PyObject * Application::sCoinRemoveAllChildren ( PyObject self,
PyObject args 
)
static

◆ sCreateDialog()

PyObject * Application::sCreateDialog ( PyObject self,
PyObject args 
)
static

◆ sCreateViewer()

PyObject * Application::sCreateViewer ( PyObject self,
PyObject args 
)
static

◆ sDoCommand()

PyObject * Application::sDoCommand ( PyObject self,
PyObject args 
)
static

◆ sDoCommandGui()

PyObject * Application::sDoCommandGui ( PyObject self,
PyObject args 
)
static

◆ sEditDocument()

PyObject * Gui::Application::sEditDocument ( PyObject self,
PyObject args 
)
static

◆ sendHasMsgToActiveView()

◆ sendHasMsgToFocusView()

bool Application::sendHasMsgToFocusView ( const char *  pMsg)

send Messages test to the focused view

References Gui::MainWindow::activeWindow(), and Gui::getMainWindow().

◆ sendMsgToActiveView()

◆ sendMsgToFocusView()

bool Application::sendMsgToFocusView ( const char *  pMsg,
const char **  ppReturn = 0 
)

send Messages to the focused view

send Messages to the active view

References Gui::MainWindow::activeWindow(), and Gui::getMainWindow().

Referenced by StdCmdCopy::activated(), and StdCmdPaste::activated().

◆ setActiveDocument()

◆ setEditDocument()

void Application::setEditDocument ( Gui::Document pcDocument)

◆ setStyleSheet()

void Application::setStyleSheet ( const QString &  qssFile,
bool  tiledBackground 
)

◆ setupContextMenu()

◆ sExport()

◆ sGetDocument()

PyObject * Application::sGetDocument ( PyObject self,
PyObject args 
)
static

◆ sGetIcon()

◆ sGetLocale()

PyObject * Application::sGetLocale ( PyObject self,
PyObject args 
)
static

◆ sGetMainWindow()

◆ sGetMarkerIndex()

◆ sGetWorkbenchHandler()

PyObject * Application::sGetWorkbenchHandler ( PyObject self,
PyObject args 
)
static

◆ sHide()

PyObject * Application::sHide ( PyObject self,
PyObject args 
)
static

◆ sHideObject()

PyObject * Application::sHideObject ( PyObject self,
PyObject args 
)
static

◆ showViewProvider()

◆ sInsert()

◆ sIsIconCached()

PyObject * Application::sIsIconCached ( PyObject self,
PyObject args 
)
static

References Gui::BitmapFactory().

◆ sListWorkbenchHandlers()

PyObject * Application::sListWorkbenchHandlers ( PyObject self,
PyObject args 
)
static

◆ sLoadFile()

◆ slotActivatedObject()

void Application::slotActivatedObject ( const ViewProvider vp)
protected

Referenced by slotNewDocument().

◆ slotActiveDocument()

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

◆ slotChangedObject()

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

Referenced by slotNewDocument().

◆ slotDeletedObject()

void Application::slotDeletedObject ( const ViewProvider vp)
protected

Referenced by slotNewDocument().

◆ slotDeleteDocument()

void Application::slotDeleteDocument ( const App::Document Doc)
protected

◆ slotInEdit()

void Application::slotInEdit ( const Gui::ViewProviderDocumentObject vp)
protected

Referenced by slotNewDocument().

◆ slotNewDocument()

◆ slotNewObject()

void Application::slotNewObject ( const ViewProvider vp)
protected

Referenced by slotNewDocument().

◆ slotRelabelDocument()

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

Referenced by Application().

◆ slotRelabelObject()

void Application::slotRelabelObject ( const ViewProvider vp)
protected

Referenced by slotNewDocument().

◆ slotRenameDocument()

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

Referenced by Application().

◆ slotResetEdit()

void Application::slotResetEdit ( const Gui::ViewProviderDocumentObject vp)
protected

Referenced by slotNewDocument().

◆ slotShowHidden()

void Application::slotShowHidden ( const App::Document Doc)
protected

Referenced by Application().

◆ sOpen()

◆ sReload()

PyObject * Application::sReload ( PyObject self,
PyObject args 
)
static

◆ sRemoveDocObserver()

PyObject * Application::sRemoveDocObserver ( PyObject self,
PyObject args 
)
static

◆ sRemoveWorkbenchHandler()

PyObject * Application::sRemoveWorkbenchHandler ( PyObject self,
PyObject args 
)
static

◆ sRunCommand()

◆ sSendActiveView()

PyObject * Application::sSendActiveView ( PyObject self,
PyObject args 
)
static

◆ sSendFocusView()

PyObject * Application::sSendFocusView ( PyObject self,
PyObject args 
)
static

◆ sSetActiveDocument()

PyObject * Gui::Application::sSetActiveDocument ( PyObject self,
PyObject args 
)
static

◆ sSetLocale()

PyObject * Application::sSetLocale ( PyObject self,
PyObject args 
)
static

◆ sShow()

PyObject * Application::sShow ( PyObject self,
PyObject args 
)
static

◆ sShowDownloads()

PyObject * Application::sShowDownloads ( PyObject self,
PyObject args 
)
static

◆ sShowObject()

PyObject * Application::sShowObject ( PyObject self,
PyObject args 
)
static

◆ sShowPreferences()

◆ sSupportedLocales()

PyObject * Application::sSupportedLocales ( PyObject self,
PyObject args 
)
static

◆ sUpdateGui()

PyObject * Application::sUpdateGui ( PyObject self,
PyObject args 
)
static

◆ sUpdateLocale()

PyObject * Application::sUpdateLocale ( PyObject self,
PyObject args 
)
static

◆ tryClose()

void Application::tryClose ( QCloseEvent *  e)

◆ updateActions()

void Application::updateActions ( bool  delay = false)

call update to all command actions

References Gui::getMainWindow(), and Gui::MainWindow::updateActions().

Referenced by Gui::ViewProvider::onChanged().

◆ updateActive()

void Application::updateActive ( void  )

call update to all views of the active document

◆ viewActivated()

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.

References Base::Console(), Gui::BaseView::getGuiDocument(), Gui::BaseView::isPassive(), and Base::ConsoleSingleton::Log().

Referenced by Gui::MainWindow::changeEvent(), and Gui::MainWindow::setActiveWindow().

◆ workbenches()

◆ workbenchIcon()

◆ workbenchMenuText()

◆ workbenchToolTip()

QString Application::workbenchToolTip ( const QString &  wb) const

Member Data Documentation

◆ Instance

Application * Application::Instance = 0L
static

some kind of singelton

Referenced by Gui::Dialog::DlgMacroExecuteImp::accept(), Gui::Dialog::DocumentRecovery::accept(), Gui::ElementColors::accept(), DrawingGui::TaskProjection::accept(), FemGui::TaskDlgMeshShapeNetgen::accept(), InspectionGui::VisualInspection::accept(), MeshPartGui::Tessellation::accept(), PartGui::DlgFilletEdges::accept(), PartGui::FaceColors::accept(), PartGui::LoftWidget::accept(), PartGui::SweepWidget::accept(), RobotGui::TaskDlgEdge2Trac::accept(), RobotGui::TaskDlgTrajectoryCompound::accept(), RobotGui::TaskDlgTrajectoryDressUp::accept(), TechDrawGui::TaskCenterLine::accept(), TechDrawGui::TaskCosVertex::accept(), TechDrawGui::TaskDetail::accept(), TechDrawGui::TaskLeaderLine::accept(), TechDrawGui::TaskLineDecor::accept(), TechDrawGui::TaskProjGroup::accept(), TechDrawGui::TaskRichAnno::accept(), Gui::TaskCSysDragger::accept(), Gui::Dialog::TransformStrategy::acceptDataTransform(), PartDesignGui::Workbench::activated(), Gui::PythonGroupCommand::activated(), Gui::MacroCommand::activated(), StdCmdMacroStartDebug::activated(), StdCmdMacroStopDebug::activated(), StdCmdMacroStepOver::activated(), StdCmdMacroStepInto::activated(), StdCmdGroup::activated(), StdViewDockUndockFullscreen::activated(), StdCmdMeasureDistance::activated(), CmdViewMeasureClearAll::activated(), DrawSketchHandlerExternal::activated(), DrawSketchHandlerCarbonCopy::activated(), Gui::RecentFilesAction::activateFile(), Gui::RecentMacrosAction::activateFile(), SketcherGui::ViewProviderSketch::activateHandler(), Gui::GroupCommand::addCommand(), Gui::Dialog::DlgCustomToolbarsImp::addCustomCommand(), Gui::Command::addModule(), Gui::SelectionSingleton::addSelection(), Gui::AlignmentGroup::addView(), Gui::Command::adjustCameraPosition(), Gui::TransactionViewProvider::applyNew(), Gui::Dialog::TransformStrategy::applyViewTransform(), PartDesignGui::assertActivePart(), PartDesignGui::ViewProviderBody::attach(), Gui::BaseView::BaseView(), Gui::Document::beforeDelete(), Gui::Dialog::DlgSettingsLazyLoadedImp::buildUnloadedWorkbenchList(), PendingLine::cancel(), Gui::Dialog::DlgCustomCommandsImp::changeEvent(), Gui::Dialog::DlgCustomKeyboardImp::changeEvent(), Gui::Dialog::DlgCustomToolbars::changeEvent(), Gui::MainWindow::changeEvent(), Gui::View3DInventorViewer::checkGroupOnTop(), Gui::TreeWidget::checkTopParent(), Gui::SelectionSingleton::clearCompleteSelection(), Gui::SelectionSingleton::clearSelection(), MeshGui::ViewProviderMesh::clipMeshCallback(), Gui::MainWindow::closeAllDocuments(), Gui::MainWindow::closeEvent(), Gui::Dialog::TransformStrategy::commitTransform(), Gui::MDITabbar::contextMenuEvent(), Gui::TreeWidget::contextMenuEvent(), SketcherGui::ConstraintView::contextMenuEvent(), Gui::DAG::Model::contextMenuEvent(), TechDrawGui::Grabber3d::copyActiveViewToSvgFile(), Gui::PythonGroupCommand::createAction(), Gui::CreateDocCommands(), Gui::CreateFeatCommands(), Gui::CreateLinkCommands(), Gui::Workbench::createLinkMenu(), Gui::CreateMacroCommands(), Gui::MainWindow::createPopupMenu(), PartGui::DlgPrimitives::createPrimitive(), ReverseEngineeringGui::SegmentationManual::createSegment(), Gui::CreateStdCommands(), Gui::CreateStructureCommands(), Gui::CreateTestCommands(), Gui::CreateViewStdCommands(), Gui::CreateWindowStdCommands(), MeshPartGui::CrossSections::CrossSections(), PartGui::CrossSections::CrossSections(), Gui::MainWindow::customEvent(), Gui::PointMarker::customEvent(), PointsGui::ViewProviderScattered::cut(), PointsGui::ViewProviderStructured::cut(), Gui::DocumentIndex::data(), PartDesignGui::Workbench::deactivated(), SketcherGui::ConstraintView::deleteSelectedItems(), SketcherGui::ElementView::deleteSelectedItems(), MeshGui::RemoveComponents::deleteSelection(), PartDesignGui::WorkflowManager::determineWorkflow(), 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::DlgObjectSelection::DlgObjectSelection(), StartGui::DlgStartPreferencesImp::DlgStartPreferencesImp(), Gui::Dialog::DlgWorkbenchesImp::DlgWorkbenchesImp(), Gui::SoFCUnifiedSelection::doAction(), Gui::DocumentModel::DocumentModel(), Gui::ViewProviderAnnotationLabel::doubleClicked(), Gui::ViewProviderMaterialObject::doubleClicked(), FemGui::ViewProviderFemPostFunction::doubleClicked(), FemGui::ViewProviderFemPostObject::doubleClicked(), RaytracingGui::ViewProviderLux::doubleClicked(), RaytracingGui::ViewProviderPovray::doubleClicked(), Gui::ViewProviderDragger::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), PartDesignGui::ViewProviderDatum::doubleClicked(), SketcherGui::ViewProviderSketch::doubleClicked(), SketcherGui::ViewProviderSketch::drawConstraintIcons(), Gui::TreeWidget::dropEvent(), PartDesignGui::ViewProviderBody::dropObject(), Gui::ElementColors::ElementColors(), Gui::SelectionSingleton::enableCommandLog(), PartGui::eraseAllDimensions(), Gui::MainWindow::event(), Gui::GUIApplication::event(), Gui::ViewProvider::eventCallback(), Gui::PythonEditorView::executeScript(), PartDesignGui::TaskBooleanParameters::exitSelectionMode(), Gui::Document::exportObjects(), Gui::ViewProviderOriginGroupExtension::extensionAttach(), Gui::ViewProviderGeoFeatureGroupExtension::extensionClaimChildren(), PartGui::FaceColors::FaceColors(), MeshGui::ViewProviderMesh::fillHole(), ExportOCAFGui::findColors(), Gui::ViewProviderDocumentObject::findFrontRootOfType(), ReverseEngineeringGui::SegmentationManual::Private::findGeometry(), PartGui::DlgExtrusion::findShapes(), TechDrawGui::DrawGuiUtil::get3DDirAndRot(), PartDesignGui::getActivePart(), Gui::ViewProviderDocumentObject::getActiveView(), Gui::DocumentT::getAppDocumentPython(), PartDesignGui::getBody(), Gui::ViewProvider::getBoundingBox(), Gui::LinkInfo::getDetail(), Gui::ViewProviderDocumentObject::getDetailPath(), Gui::DocumentT::getDocument(), Gui::ViewProviderT::getDocument(), Gui::AlignmentGroup::getDocument(), Gui::ViewProviderDocumentObject::getDocument(), SketcherGui::ViewProviderSketch::getEditingPlacement(), Gui::ViewProviderDocumentObject::getEditingView(), Gui::ViewProviderLink::getElementColors(), TechDrawGui::QGIView::getFrameState(), Gui::Command::getGuiApplication(), Gui::DocumentT::getGuiDocumentPython(), InspectionGui::ViewProviderInspection::getIcon(), Gui::ViewProviderDocumentObject::getInventorView(), Gui::ViewProviderLink::getLinkedView(), Gui::ViewProviderDocumentObject::getLinkedViewProvider(), Gui::ViewProviderLink::getLinkedViewProvider(), TechDrawGui::ViewProviderGeomHatch::getMDIView(), TechDrawGui::ViewProviderHatch::getMDIView(), TechDrawGui::ViewProviderDrawingView::getMDIViewPage(), TechDrawGui::ViewProviderTemplate::getMDIViewPage(), Gui::ViewProviderT::getObjectPython(), TechDrawGui::ViewProviderDrawingView::getQView(), PartDesignGui::ViewProviderDatum::getRelevantBoundBox(), SketcherGui::ViewProviderSketch::getScaleFactor(), Gui::LinkInfo::getView(), PartGui::getViewer(), MeshGui::MeshSelection::getViewer(), Gui::ViewProviderDocumentObject::getViewOfNode(), Gui::DocumentItem::getViewProvider(), TechDrawGui::QGIView::getViewProvider(), MeshGui::MeshSelection::getViewProviders(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::Dialog::CommandModel::goAddMacro(), PartGui::TaskCheckGeometryResults::goCheck(), SurfaceGui::ViewProviderGeomFillSurface::highlightReferences(), PartDesignGui::ViewProviderDressUp::highlightReferences(), PartDesignGui::ViewProviderShapeBinder::highlightReferences(), SurfaceGui::ViewProviderFilling::highlightReferences(), SurfaceGui::ViewProviderSections::highlightReferences(), Gui::ViewProviderLink::initDraggingPlacement(), Gui::MainWindow::insertFromMimeData(), StdCmdMacroStopDebug::isActive(), StdCmdMacroStepOver::isActive(), StdCmdMacroStepInto::isActive(), StdCmdDrawStyle::isActive(), Gui::Command::isActiveObjectValid(), Gui::TreeWidget::isObjectShowable(), Gui::TreeWidget::itemSearch(), Gui::TaskView::TaskView::keyPressEvent(), Gui::PythonGroupCommand::languageChange(), Gui::MacroCommand::load(), Gui::Dialog::DlgWorkbenchesImp::load_enabled_workbenches(), TechDrawGui::TaskLinkDim::loadAvailDims(), Gui::MainWindow::loadUrls(), PartDesignGui::makeBody(), Gui::ManualAlignment::ManualAlignment(), MeshGui::ViewProviderMesh::markPartCallback(), Gui::MergeDocuments::MergeDocuments(), SketcherGui::ViewProviderSketch::mouseButtonPressed(), Gui::DAG::Model::mouseDoubleClickEvent(), Gui::TreeView::mouseDoubleClickEvent(), Gui::TreeWidget::mouseDoubleClickEvent(), Gui::Dialog::DlgCustomActionsImp::on_actionListWidget_itemActivated(), Gui::Dialog::DlgMacroExecuteImp::on_addonsButton_clicked(), Gui::Dialog::DlgCustomActionsImp::on_buttonAddAction_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::DlgCustomKeyboardImp::on_categoryBox_activated(), Gui::Dialog::DlgCustomToolbars::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged(), MeshGui::DlgRegularSolidImp::on_createSolidButton_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_editShortcut_textChanged(), Gui::Dialog::DemoMode::on_fullscreen_toggled(), SketcherGui::TaskSketcherConstrains::on_listWidgetConstraints_updateActiveStatus(), SketcherGui::TaskSketcherConstrains::on_listWidgetConstraints_updateDrivingStatus(), 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(), Gui::Dialog::DlgMacroExecuteImp::on_toolbarButton_clicked(), Gui::TreeWidget::onActivateDocument(), Gui::Dialog::DlgCustomCommandsImp::onAddMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onAddMacroAction(), Gui::Dialog::DlgCustomToolbars::onAddMacroAction(), Gui::ViewProvider::onBeforeChange(), FemGui::TaskFemConstraint::onButtonWizOk(), Gui::ViewProvider::onChanged(), Gui::ViewProviderOrigin::onChanged(), PartDesignGui::ViewProvider::onChanged(), Gui::BaseView::onClose(), PartGui::ViewProviderBoolean::onDelete(), PartGui::ViewProviderMultiFuse::onDelete(), PartGui::ViewProviderMultiCommon::onDelete(), PartGui::ViewProviderCompound::onDelete(), PartGui::ViewProviderMirror::onDelete(), PartGui::ViewProviderFillet::onDelete(), PartGui::ViewProviderChamfer::onDelete(), PartGui::ViewProviderRevolution::onDelete(), PartGui::ViewProviderOffset::onDelete(), PartGui::ViewProviderThickness::onDelete(), PartGui::ViewProviderRuledSurface::onDelete(), PartDesignGui::ViewProviderHelix::onDelete(), PartDesignGui::ViewProviderSketchBased::onDelete(), PathGui::ViewProviderArea::onDelete(), PathGui::ViewProviderAreaView::onDelete(), PathGui::ViewProviderPathShape::onDelete(), PartDesignGui::ViewProvider::onDelete(), PartDesignGui::ViewProviderBoolean::onDelete(), PartDesignGui::ViewProviderHole::onDelete(), Gui::TreeWidget::onFinishEditing(), Gui::Dialog::DlgCustomCommandsImp::onGroupActivated(), Gui::Dialog::DlgSettingsLazyLoadedImp::onLoadClicked(), Gui::Dialog::DlgCustomCommandsImp::onModifyMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onModifyMacroAction(), Gui::Dialog::DlgCustomToolbars::onModifyMacroAction(), Gui::TreeWidget::onReloadDoc(), Gui::Dialog::UndoDialog::onSelected(), Gui::Dialog::RedoDialog::onSelected(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), PathGui::PathSelectionObserver::onSelectionChanged(), Gui::PropertyView::onTimer(), PartGui::TaskDlgAttacher::open(), PartGui::FaceColors::open(), Gui::TaskCSysDragger::open(), Gui::NavigationStyle::openPopupMenu(), PartGui::PropertyEnumAttacherItem::openTask(), DrawingGui::OrthoViews::OrthoViews(), MeshGui::ViewProviderMesh::partMeshCallback(), PendingLine::PendingLine(), Gui::Dialog::Placement::Placement(), Gui::Command::printCaller(), PartGui::FaceColors::Private::Private(), Gui::PropertyView::PropertyView(), SketcherGui::ViewProviderSketch::purgeHandler(), Gui::PythonEditorP::PythonEditorP(), Gui::WorkbenchGroup::refreshWorkbenchList(), Gui::ElementColors::reject(), PartGui::FaceColors::reject(), PartGui::OffsetWidget::reject(), PartGui::ThicknessWidget::reject(), PartDesignGui::TaskDlgBooleanParameters::reject(), PartDesignGui::TaskDlgFeatureParameters::reject(), PartDesignGui::TaskDlgSketchBasedParameters::reject(), RobotGui::TaskDlgTrajectoryCompound::reject(), RobotGui::TaskDlgTrajectoryDressUp::reject(), TechDrawGui::TaskCenterLine::reject(), TechDrawGui::TaskCosVertex::reject(), TechDrawGui::TaskDetail::reject(), TechDrawGui::TaskLeaderLine::reject(), TechDrawGui::TaskLineDecor::reject(), TechDrawGui::TaskProjGroup::reject(), TechDrawGui::TaskRichAnno::reject(), TechDrawGui::TaskLeaderLine::removeFeature(), TechDrawGui::TaskRichAnno::removeFeature(), Gui::Document::resetEdit(), Gui::Dialog::TransformStrategy::resetViewTransform(), Gui::SelectionSingleton::rmvPreselect(), Gui::SelectionSingleton::rmvSelectionGate(), sAddCommand(), Gui::MacroCommand::save(), Gui::Document::save(), Gui::Document::saveAll(), Gui::Dialog::DlgGeneralImp::saveSettings(), PartGui::DlgSettings3DViewPart::saveSettings(), Gui::TreeWidget::scrollItemToTop(), sDoCommand(), sDoCommandGui(), SketcherGui::ViewProviderSketch::seekConstraintPosition(), MeshGui::ViewProviderMesh::segmMeshCallback(), Gui::TreeWidget::selectAll(), Gui::TreeWidget::selectAllLinks(), Gui::TreeWidget::selectLinkedObject(), FemGui::ActiveAnalysisObserver::setActiveObject(), Gui::Document::setActiveView(), Gui::MainWindow::setActiveWindow(), SpreadsheetGui::WorkbenchHelper::setBackgroundColor(), PartDesignGui::setEdit(), Gui::Document::setEdit(), SketcherGui::ViewProviderSketch::setEdit(), Gui::DocumentPy::setEdit(), SurfaceGui::FillingPanel::setEditedObject(), SurfaceGui::FillingEdgePanel::setEditedObject(), SurfaceGui::FillingVertexPanel::setEditedObject(), SurfaceGui::GeomFillSurface::setEditedObject(), SurfaceGui::SectionsPanel::setEditedObject(), SketcherGui::ViewProviderSketch::setEditViewer(), SpreadsheetGui::WorkbenchHelper::setForegroundColor(), Gui::LinkView::setLink(), Gui::ViewProviderLink::setOverrideMode(), Gui::SelectionSingleton::setPreselect(), PartDesignGui::ViewProviderAddSub::setPreviewDisplayMode(), Gui::Dialog::DlgCustomKeyboardImp::setShortcutOfCurrentAction(), TechDrawGui::ViewProviderPage::setTemplateMarkers(), Gui::ViewProviderOrigin::setTemporaryVisibility(), Gui::ToolBoxManager::setup(), Gui::ToolBarManager::setup(), PartDesignGui::Workbench::setupContextMenu(), PartGui::DlgFilletEdges::setupFillet(), MeshGui::Workbench::setupMenuBar(), PartDesignGui::Workbench::setupMenuBar(), Gui::SelectionSingleton::setVisible(), PartDesignGui::ViewProviderBody::setVisualBodyMode(), sExport(), DrawingGui::ViewProviderDrawingPage::showDrawingView(), TechDrawGui::ViewProviderPage::showMDIViewPage(), SpreadsheetGui::ViewProviderSheet::showSpreadsheetView(), sLoadFile(), Gui::WorkbenchGroup::slotAddWorkbench(), Gui::Document::slotDeletedObject(), Gui::DocumentItem::slotExpandObject(), Gui::DocumentItem::slotHighlightObject(), Gui::DocumentItem::slotInEdit(), Gui::Document::slotShowHidden(), Gui::Document::slotSkipRecompute(), sOpen(), sReload(), sRunCommand(), Gui::ViewProviderLink::startEditing(), PartDesignGui::ViewProviderTransformed::startEditing(), Gui::TreeWidget::startItemSearch(), Gui::TaskView::TaskAppearance::TaskAppearance(), PartGui::TaskAttacher::TaskAttacher(), PartDesignGui::TaskBoxPrimitives::TaskBoxPrimitives(), TechDrawGui::TaskCosVertex::TaskCosVertex(), FemGui::TaskCreateNodeSet::TaskCreateNodeSet(), TechDrawGui::TaskDetail::TaskDetail(), PartDesignGui::TaskFeaturePick::TaskFeaturePick(), PartDesignGui::TaskHelixParameters::TaskHelixParameters(), TechDrawGui::TaskLeaderLine::TaskLeaderLine(), PartDesignGui::TaskLoftParameters::TaskLoftParameters(), SandboxGui::TaskPanelView::TaskPanelView(), PartDesignGui::TaskPipeOrientation::TaskPipeOrientation(), PartDesignGui::TaskPipeScaling::TaskPipeScaling(), FemGui::TaskPostClip::TaskPostClip(), FemGui::TaskPostCut::TaskPostCut(), TechDrawGui::TaskProjGroup::TaskProjGroup(), PartDesignGui::TaskRevolutionParameters::TaskRevolutionParameters(), TechDrawGui::TaskRichAnno::TaskRichAnno(), PartDesignGui::TaskShapeBinder::TaskShapeBinder(), SketcherGui::TaskSketcherGeneral::TaskSketcherGeneral(), RobotGui::TaskTrajectory::TaskTrajectory(), Gui::TaskView::TaskWatcherCommands::TaskWatcherCommands(), Gui::TaskView::TaskWatcherPython::TaskWatcherPython(), Gui::Command::testActive(), RobotGui::TrajectorySimulate::TrajectorySimulate(), Gui::TreeWidget::TreeWidget(), MeshGui::ViewProviderMesh::trimMeshCallback(), PartDesignGui::ViewProviderBody::unifyVisualProperty(), PartDesignGui::ViewProvider::unsetEdit(), Gui::Command::updateAll(), DrawingGui::ViewProviderDrawingPage::updateData(), MeshGui::ViewProviderMeshCurvature::updateData(), PartGui::ViewProviderBoolean::updateData(), PartGui::ViewProviderMultiFuse::updateData(), PartGui::ViewProviderMultiCommon::updateData(), PartGui::ViewProviderCompound::updateData(), PartGui::ViewProviderFillet::updateData(), PartGui::ViewProviderChamfer::updateData(), PathGui::ViewProviderArea::updateData(), PathGui::ViewProviderAreaView::updateData(), PathGui::ViewProviderPathShape::updateData(), RobotGui::ViewProviderRobotObject::updateData(), SketcherGui::ViewProviderSketch::updateData(), PartDesignGui::ViewProviderBody::updateData(), Gui::ViewProviderLink::updateDataPrivate(), Gui::MainWindow::updateEditorActions(), Gui::ViewProviderLink::updateElementList(), FemGui::ViewProviderFemPostPipeline::updateFunctionSize(), TechDrawGui::ViewProviderGeomHatch::updateGraphic(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), Gui::ViewProviderOriginGroupExtension::updateOriginSize(), FemGui::ViewProviderFemPostFunctionProvider::updateSize(), Gui::DAG::View::View(), Gui::View3DInventorViewer::viewSelection(), InspectionGui::VisualInspection::VisualInspection(), Gui::WorkbenchGroup::WorkbenchGroup(), PartGui::DlgProjectionOnSurface::~DlgProjectionOnSurface(), SpreadsheetGui::SheetView::~SheetView(), PartDesignGui::TaskBoxPrimitives::~TaskBoxPrimitives(), Gui::TaskCSysDragger::~TaskCSysDragger(), PartDesignGui::TaskHelixParameters::~TaskHelixParameters(), PartDesignGui::TaskLinearPatternParameters::~TaskLinearPatternParameters(), PartDesignGui::TaskMirroredParameters::~TaskMirroredParameters(), PartDesignGui::TaskPolarPatternParameters::~TaskPolarPatternParameters(), PartDesignGui::TaskRevolutionParameters::~TaskRevolutionParameters(), and Gui::DAG::View::~View().

◆ Methods

PyMethodDef Application::Methods
static

Referenced by Application().

◆ signalActivatedObject

boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalActivatedObject

signal on activated Object

◆ signalActivateView

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

signal on activating view

Referenced by StdCmdDrawStyle::StdCmdDrawStyle().

◆ signalActivateWorkbench

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

signal on activated workbench

Referenced by Gui::WorkbenchGroup::WorkbenchGroup().

◆ signalActiveDocument

◆ signalAddWorkbench

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

signal on added workbench

Referenced by Gui::WorkbenchGroup::WorkbenchGroup().

◆ signalBeforeChangeObject

boost::signals2::signal<void (const Gui::ViewProvider&, const App::Property&)> Gui::Application::signalBeforeChangeObject

signal on changed Object

Referenced by Gui::ViewProvider::onBeforeChange().

◆ signalChangedObject

◆ signalDeletedObject

boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalDeletedObject

◆ signalDeleteDocument

◆ signalInEdit

boost::signals2::signal<void (const Gui::ViewProviderDocumentObject&)> Gui::Application::signalInEdit

signal on entering in edit mode

◆ signalNewDocument

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

◆ signalNewObject

boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalNewObject

signal on new Object

◆ signalRelabelDocument

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

◆ signalRelabelObject

boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalRelabelObject

signal on renamed Object

◆ signalRemoveWorkbench

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

signal on removed workbench

Referenced by Gui::WorkbenchGroup::WorkbenchGroup().

◆ signalRenameDocument

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

◆ signalResetEdit

boost::signals2::signal<void (const Gui::ViewProviderDocumentObject&)> Gui::Application::signalResetEdit

signal on leaving edit mode

◆ signalShowHidden

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

signal on show hidden items

Referenced by Gui::Document::slotShowHidden(), and Gui::TreeWidget::TreeWidget().


The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Gui/Application.h
  • Sources/FreeCAD/src/Gui/Application.cpp
  • Sources/FreeCAD/src/Gui/ApplicationPy.cpp