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...
 
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...
 

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 &)
 

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 PyObjectsGetCommandInfo (PyObject *self, PyObject *args)
 
static PyObjectsListCommands (PyObject *self, PyObject *args)
 
static PyObjectsGetCommandShortcut (PyObject *self, PyObject *args)
 
static PyObjectsIsCommandActive (PyObject *self, PyObject *args)
 
static PyObjectsUpdateCommands (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)
 

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()

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 runApplication().

◆ activeDocument()

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

Getter for the active document.

Getter for the active view.

Referenced by InspectionGui::VisualInspection::accept(), DrawingGui::TaskProjection::accept(), Gui::Dialog::DlgMacroExecuteImp::accept(), RobotGui::TaskDlgTrajectoryCompound::accept(), RobotGui::TaskDlgEdge2Trac::accept(), RobotGui::TaskDlgTrajectoryDressUp::accept(), StdCmdGroup::activated(), Gui::MacroCommand::activated(), StdViewDockUndockFullscreen::activated(), StdCmdMeasureDistance::activated(), DrawSketchHandlerExternal::activated(), DrawSketchHandlerCarbonCopy::activated(), SketcherGui::ViewProviderSketch::activateHandler(), Gui::SelectionSingleton::addSelection(), Gui::Command::adjustCameraPosition(), MeshGui::ViewProviderMesh::clipMeshCallback(), Gui::Dialog::TransformStrategy::commitTransform(), PartGui::DlgPrimitives::createPrimitive(), ReverseEngineeringGui::SegmentationManual::createSegment(), MeshPartGui::CrossSections::CrossSections(), PartGui::CrossSections::CrossSections(), Gui::PointMarker::customEvent(), Gui::MainWindow::customEvent(), PointsGui::ViewProviderScattered::cut(), PointsGui::ViewProviderStructured::cut(), Gui::DocumentIndex::data(), MeshGui::RemoveComponents::deleteSelection(), PartDesignGui::ViewProviderDatum::doubleClicked(), Gui::ViewProviderDragger::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), RaytracingGui::ViewProviderPovray::doubleClicked(), RaytracingGui::ViewProviderLux::doubleClicked(), Gui::ViewProviderMaterialObject::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), FemGui::ViewProviderFemPostObject::doubleClicked(), FemGui::ViewProviderFemPostFunction::doubleClicked(), Gui::ViewProviderAnnotationLabel::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(), MeshGui::MeshSelection::getViewer(), PartGui::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(), RobotGui::TaskDlgTrajectoryCompound::reject(), RobotGui::TaskDlgTrajectoryDressUp::reject(), PartDesignGui::TaskDlgBooleanParameters::reject(), TechDrawGui::TaskRichAnno::removeFeature(), TechDrawGui::TaskLeaderLine::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::TaskPipeOrientation::TaskPipeOrientation(), PartDesignGui::TaskShapeBinder::TaskShapeBinder(), RobotGui::TaskTrajectory::TaskTrajectory(), RobotGui::TrajectorySimulate::TrajectorySimulate(), MeshGui::ViewProviderMesh::trimMeshCallback(), and RaytracingGui::Module::~Module().

◆ 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(), 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(), sGetCommandInfo(), sGetCommandShortcut(), sIsCommandActive(), sListCommands(), 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 PartGui::LoftWidget::accept(), Gui::TaskCSysDragger::accept(), PartGui::SweepWidget::accept(), PartGui::FaceColors::accept(), TechDrawGui::TaskLineDecor::accept(), TechDrawGui::TaskProjGroup::accept(), TechDrawGui::TaskRichAnno::accept(), TechDrawGui::TaskCosVertex::accept(), MeshPartGui::Tessellation::accept(), TechDrawGui::TaskDetail::accept(), TechDrawGui::TaskLeaderLine::accept(), Gui::Dialog::DocumentRecovery::accept(), TechDrawGui::TaskCenterLine::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::AlignmentGroup::getDocument(), Gui::ViewProviderDocumentObject::getDocument(), Gui::ViewProviderT::getDocument(), Gui::ViewProviderDocumentObject::getEditingView(), TechDrawGui::QGIView::getFrameState(), InspectionGui::ViewProviderInspection::getIcon(), Gui::ViewProviderDocumentObject::getInventorView(), TechDrawGui::ViewProviderTemplate::getMDIViewPage(), TechDrawGui::ViewProviderDrawingView::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::FaceColors::open(), PartGui::TaskDlgAttacher::open(), PartGui::FaceColors::Private::Private(), PartGui::FaceColors::reject(), TechDrawGui::TaskLineDecor::reject(), TechDrawGui::TaskProjGroup::reject(), TechDrawGui::TaskRichAnno::reject(), TechDrawGui::TaskCosVertex::reject(), TechDrawGui::TaskDetail::reject(), TechDrawGui::TaskLeaderLine::reject(), TechDrawGui::TaskCenterLine::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(), 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::ElementView::deleteSelectedItems(), SketcherGui::ConstraintView::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::ViewProviderHatch::getMDIView(), TechDrawGui::ViewProviderGeomHatch::getMDIView(), PartDesignGui::ViewProviderDatum::getRelevantBoundBox(), Gui::DocumentItem::getViewProvider(), MeshGui::MeshSelection::getViewProviders(), PartGui::TaskCheckGeometryResults::goCheck(), SurfaceGui::ViewProviderGeomFillSurface::highlightReferences(), SurfaceGui::ViewProviderFilling::highlightReferences(), PartDesignGui::ViewProviderDressUp::highlightReferences(), PartDesignGui::ViewProviderShapeBinder::highlightReferences(), PartDesignGui::ViewProviderPipe::highlightReferences(), PartDesignGui::makeBody(), Gui::ViewProviderOrigin::onChanged(), PartDesignGui::ViewProvider::onDelete(), PartGui::ViewProviderOffset::onDelete(), PartGui::ViewProviderThickness::onDelete(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), Gui::PropertyView::onTimer(), PartGui::PropertyEnumAttacherItem::openTask(), PartGui::ThicknessWidget::reject(), PartGui::OffsetWidget::reject(), PartDesignGui::TaskDlgSketchBasedParameters::reject(), PartDesignGui::TaskDlgFeatureParameters::reject(), Gui::TreeWidget::selectAllLinks(), Gui::Document::setActiveView(), Gui::DocumentPy::setEdit(), Gui::Document::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::TaskRevolutionParameters::TaskRevolutionParameters(), RobotGui::ViewProviderRobotObject::updateData(), PartDesignGui::ViewProviderBody::updateData(), PartGui::ViewProviderMultiFuse::updateData(), PartGui::ViewProviderBoolean::updateData(), PartGui::ViewProviderCompound::updateData(), PartGui::ViewProviderFillet::updateData(), PartGui::ViewProviderMultiCommon::updateData(), PartGui::ViewProviderChamfer::updateData(), FemGui::ViewProviderFemPostPipeline::updateFunctionSize(), PartDesignGui::ViewProviderBody::updateOriginDatumSize(), Gui::ViewProviderOriginGroupExtension::updateOriginSize(), FemGui::ViewProviderFemPostFunctionProvider::updateSize(), Gui::View3DInventorViewer::viewSelection(), PartGui::DlgProjectionOnSurface::~DlgProjectionOnSurface(), PartDesignGui::TaskBoxPrimitives::~TaskBoxPrimitives(), 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()

void Application::onLastWindowClosed ( Gui::Document pcDoc)

◆ 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()

◆ sGetCommandInfo()

◆ sGetCommandShortcut()

◆ 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()

◆ sIsCommandActive()

◆ sIsIconCached()

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

References Gui::BitmapFactory().

◆ sListCommands()

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

◆ sListWorkbenchHandlers()

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

◆ sLoadFile()

◆ slotActivatedObject()

void Application::slotActivatedObject ( const ViewProvider vp)
protected

◆ slotActiveDocument()

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

◆ slotChangedObject()

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

◆ 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

◆ sUpdateCommands()

PyObject * Application::sUpdateCommands ( 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)

◆ 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 PartGui::LoftWidget::accept(), InspectionGui::VisualInspection::accept(), Gui::TaskCSysDragger::accept(), PartGui::SweepWidget::accept(), DrawingGui::TaskProjection::accept(), PartGui::FaceColors::accept(), Gui::Dialog::DlgMacroExecuteImp::accept(), RobotGui::TaskDlgTrajectoryCompound::accept(), FemGui::TaskDlgMeshShapeNetgen::accept(), TechDrawGui::TaskLineDecor::accept(), RobotGui::TaskDlgEdge2Trac::accept(), RobotGui::TaskDlgTrajectoryDressUp::accept(), Gui::ElementColors::accept(), TechDrawGui::TaskProjGroup::accept(), TechDrawGui::TaskRichAnno::accept(), TechDrawGui::TaskCosVertex::accept(), MeshPartGui::Tessellation::accept(), TechDrawGui::TaskDetail::accept(), TechDrawGui::TaskLeaderLine::accept(), PartGui::DlgFilletEdges::accept(), Gui::Dialog::DocumentRecovery::accept(), TechDrawGui::TaskCenterLine::accept(), Gui::Dialog::TransformStrategy::acceptDataTransform(), PartDesignGui::Workbench::activated(), StdCmdGroup::activated(), StdCmdMacroStartDebug::activated(), StdCmdMacroStopDebug::activated(), StdCmdMacroStepOver::activated(), StdCmdMacroStepInto::activated(), Gui::PythonGroupCommand::activated(), Gui::MacroCommand::activated(), StdViewDockUndockFullscreen::activated(), StdCmdMeasureDistance::activated(), CmdViewMeasureClearAll::activated(), DrawSketchHandlerExternal::activated(), DrawSketchHandlerCarbonCopy::activated(), Gui::RecentFilesAction::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::ViewProviderBody::attach(), Gui::BaseView::BaseView(), Gui::Document::beforeDelete(), 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::DAG::Model::contextMenuEvent(), Gui::TreeWidget::contextMenuEvent(), Gui::MDITabbar::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::PointMarker::customEvent(), Gui::MainWindow::customEvent(), PointsGui::ViewProviderScattered::cut(), PointsGui::ViewProviderStructured::cut(), Gui::DocumentIndex::data(), PartDesignGui::Workbench::deactivated(), SketcherGui::ElementView::deleteSelectedItems(), SketcherGui::ConstraintView::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(), PartDesignGui::ViewProviderDatum::doubleClicked(), Gui::ViewProviderDragger::doubleClicked(), PartDesignGui::ViewProviderBody::doubleClicked(), RaytracingGui::ViewProviderPovray::doubleClicked(), RaytracingGui::ViewProviderLux::doubleClicked(), Gui::ViewProviderMaterialObject::doubleClicked(), Gui::ViewProviderPart::doubleClicked(), FemGui::ViewProviderFemPostObject::doubleClicked(), FemGui::ViewProviderFemPostFunction::doubleClicked(), Gui::ViewProviderAnnotationLabel::doubleClicked(), SketcherGui::ViewProviderSketch::doubleClicked(), SketcherGui::ViewProviderSketch::drawConstraintIcons(), Gui::TreeWidget::dropEvent(), PartDesignGui::ViewProviderBody::dropObject(), Gui::ElementColors::ElementColors(), Gui::SelectionSingleton::enableCommandLog(), PartGui::eraseAllDimensions(), Gui::GUIApplication::event(), Gui::MainWindow::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::AlignmentGroup::getDocument(), Gui::ViewProviderDocumentObject::getDocument(), Gui::ViewProviderT::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::ViewProviderHatch::getMDIView(), TechDrawGui::ViewProviderGeomHatch::getMDIView(), TechDrawGui::ViewProviderTemplate::getMDIViewPage(), TechDrawGui::ViewProviderDrawingView::getMDIViewPage(), Gui::ViewProviderT::getObjectPython(), TechDrawGui::ViewProviderDrawingView::getQView(), PartDesignGui::ViewProviderDatum::getRelevantBoundBox(), SketcherGui::ViewProviderSketch::getScaleFactor(), Gui::LinkInfo::getView(), MeshGui::MeshSelection::getViewer(), PartGui::getViewer(), Gui::ViewProviderDocumentObject::getViewOfNode(), TechDrawGui::QGIView::getViewProvider(), Gui::DocumentItem::getViewProvider(), MeshGui::MeshSelection::getViewProviders(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::Dialog::CommandModel::goAddMacro(), PartGui::TaskCheckGeometryResults::goCheck(), SurfaceGui::ViewProviderGeomFillSurface::highlightReferences(), SurfaceGui::ViewProviderFilling::highlightReferences(), PartDesignGui::ViewProviderDressUp::highlightReferences(), PartDesignGui::ViewProviderShapeBinder::highlightReferences(), PartDesignGui::ViewProviderPipe::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(), PartDesignGui::ViewProvider::onChanged(), Gui::ViewProviderOrigin::onChanged(), Gui::ViewProvider::onChanged(), Gui::BaseView::onClose(), PathGui::ViewProviderPathShape::onDelete(), PartGui::ViewProviderCompound::onDelete(), PartGui::ViewProviderMirror::onDelete(), PartGui::ViewProviderMultiFuse::onDelete(), PathGui::ViewProviderArea::onDelete(), PartDesignGui::ViewProviderHole::onDelete(), PartGui::ViewProviderBoolean::onDelete(), PartDesignGui::ViewProviderSketchBased::onDelete(), PathGui::ViewProviderAreaView::onDelete(), PartGui::ViewProviderRuledSurface::onDelete(), PartGui::ViewProviderFillet::onDelete(), PartDesignGui::ViewProviderBoolean::onDelete(), PartDesignGui::ViewProvider::onDelete(), PartGui::ViewProviderMultiCommon::onDelete(), PartGui::ViewProviderChamfer::onDelete(), PartGui::ViewProviderRevolution::onDelete(), PartGui::ViewProviderOffset::onDelete(), PartGui::ViewProviderThickness::onDelete(), Gui::TreeWidget::onFinishEditing(), Gui::Dialog::DlgCustomCommandsImp::onGroupActivated(), Gui::Dialog::DlgCustomCommandsImp::onModifyMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onModifyMacroAction(), Gui::Dialog::DlgCustomToolbars::onModifyMacroAction(), Gui::TreeWidget::onReloadDoc(), Gui::Dialog::RedoDialog::onSelected(), Gui::Dialog::UndoDialog::onSelected(), PartDesignGui::TaskBooleanParameters::onSelectionChanged(), PathGui::PathSelectionObserver::onSelectionChanged(), Gui::PropertyView::onTimer(), Gui::TaskCSysDragger::open(), PartGui::FaceColors::open(), PartGui::TaskDlgAttacher::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(), PartGui::OffsetWidget::reject(), PartGui::ThicknessWidget::reject(), PartGui::FaceColors::reject(), RobotGui::TaskDlgTrajectoryCompound::reject(), TechDrawGui::TaskLineDecor::reject(), RobotGui::TaskDlgTrajectoryDressUp::reject(), TechDrawGui::TaskProjGroup::reject(), Gui::ElementColors::reject(), TechDrawGui::TaskRichAnno::reject(), PartDesignGui::TaskDlgSketchBasedParameters::reject(), TechDrawGui::TaskCosVertex::reject(), TechDrawGui::TaskDetail::reject(), TechDrawGui::TaskLeaderLine::reject(), TechDrawGui::TaskCenterLine::reject(), PartDesignGui::TaskDlgFeatureParameters::reject(), PartDesignGui::TaskDlgBooleanParameters::reject(), TechDrawGui::TaskRichAnno::removeFeature(), TechDrawGui::TaskLeaderLine::removeFeature(), Gui::Document::resetEdit(), Gui::Dialog::TransformStrategy::resetViewTransform(), Gui::SelectionSingleton::rmvPreselect(), Gui::SelectionSingleton::rmvSelectionGate(), sAddCommand(), Gui::Document::save(), Gui::MacroCommand::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(), Gui::DocumentPy::setEdit(), PartDesignGui::setEdit(), Gui::Document::setEdit(), SketcherGui::ViewProviderSketch::setEdit(), SurfaceGui::FillingVertexPanel::setEditedObject(), SurfaceGui::FillingUnboundPanel::setEditedObject(), SurfaceGui::GeomFillSurface::setEditedObject(), SurfaceGui::FillingPanel::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(), PartDesignGui::Workbench::setupMenuBar(), MeshGui::Workbench::setupMenuBar(), Gui::SelectionSingleton::setVisible(), PartDesignGui::ViewProviderBody::setVisualBodyMode(), sExport(), sGetCommandInfo(), sGetCommandShortcut(), DrawingGui::ViewProviderDrawingPage::showDrawingView(), TechDrawGui::ViewProviderPage::showMDIViewPage(), SpreadsheetGui::ViewProviderSheet::showSpreadsheetView(), sIsCommandActive(), sListCommands(), 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(), PartDesignGui::ViewProviderTransformed::startEditing(), Gui::ViewProviderLink::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(), TechDrawGui::TaskLeaderLine::TaskLeaderLine(), PartDesignGui::TaskLoftParameters::TaskLoftParameters(), SandboxGui::TaskPanelView::TaskPanelView(), PartDesignGui::TaskPipeOrientation::TaskPipeOrientation(), 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(), RobotGui::ViewProviderRobotObject::updateData(), DrawingGui::ViewProviderDrawingPage::updateData(), PartDesignGui::ViewProviderBody::updateData(), PathGui::ViewProviderPathShape::updateData(), MeshGui::ViewProviderMeshCurvature::updateData(), PathGui::ViewProviderArea::updateData(), PartGui::ViewProviderMultiFuse::updateData(), PartGui::ViewProviderBoolean::updateData(), PathGui::ViewProviderAreaView::updateData(), PartGui::ViewProviderCompound::updateData(), PartGui::ViewProviderFillet::updateData(), PartGui::ViewProviderMultiCommon::updateData(), PartGui::ViewProviderChamfer::updateData(), SketcherGui::ViewProviderSketch::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(), RaytracingGui::Module::~Module(), SpreadsheetGui::SheetView::~SheetView(), PartDesignGui::TaskBoxPrimitives::~TaskBoxPrimitives(), Gui::TaskCSysDragger::~TaskCSysDragger(), 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:
  • src/Gui/Application.h
  • src/Gui/Application.cpp
  • src/Gui/ApplicationPy.cpp