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::Document * | reopen (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::MacroManager * | macroManager (void) |
Get macro manager. More... | |
Gui::CommandManager & | commandManager (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::Document * | activeDocument (void) const |
Getter for the active document. More... | |
void | setActiveDocument (Gui::Document *pcDocument) |
Set the active document. More... | |
Gui::Document * | editDocument (void) const |
Getter for the editing document. More... | |
Gui::MDIView * | editViewOfNode (SoNode *node) const |
void | setEditDocument (Gui::Document *pcDocument) |
Set editing document, which will reset editing of all other document. More... | |
Gui::Document * | getDocument (const char *name) const |
Retrieves a pointer to the Gui::Document whose App::Document has the name name. More... | |
Gui::Document * | getDocument (const App::Document *pDoc) const |
Retrieves a pointer to the Gui::Document whose App::Document matches to pDoc. More... | |
Gui::MDIView * | activeView (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::ViewProvider * | getViewProvider (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.
Constructor & Destructor Documentation
◆ Application()
Application::Application | ( | bool | GUIenabled | ) |
construction
References Gui::Translator::activateLanguage(), Base::InterpreterSingleton::addType(), 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::PythonStdout::init_type(), Gui::ExpressionBindingPy::init_type(), Gui::MDIViewPy::init_type(), Gui::View3DInventorPy::init_type(), Gui::View3DInventorViewerPy::init_type(), Gui::PythonStderr::init_type(), Gui::OutputStdout::init_type(), Gui::TaskView::ControlPy::init_type(), Gui::AbstractSplitViewPy::init_type(), Gui::OutputStderr::init_type(), Gui::PythonStdin::init_type(), Gui::SelectionFilterPy::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::LinkViewPy::Type, and Gui::AxisOriginPy::Type.
◆ ~Application()
Application::~Application | ( | ) |
destruction
References Base::InterpreterSingleton::cleanupSWIG(), Base::Console(), Gui::BitmapFactoryInst::destruct(), Gui::Translator::destruct(), Gui::WorkbenchManager::destruct(), Gui::WidgetFactorySupplier::destruct(), Gui::SelectionSingleton::destruct(), Gui::SoFCDB::finish(), Base::Interpreter(), Base::ConsoleSingleton::Log(), and Gui::MacroCommand::save().
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()
Gui::MDIView * Application::activeView | ( | void | ) | const |
Getter for the active view of the active document or null.
Referenced by PartDesignGui::getActivePart(), PartDesignGui::getBody(), Gui::ViewProvider::getBoundingBox(), PartDesignGui::setEdit(), PartDesignGui::Workbench::setupContextMenu(), and PartDesignGui::ViewProvider::unsetEdit().
◆ attachView()
void Application::attachView | ( | Gui::BaseView * | pcView | ) |
Attach a view (get called by the FCView constructor)
Referenced by Gui::BaseView::BaseView().
◆ checkForPreviousCrashes()
void Application::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()
void Application::createStandardOperations | ( | ) |
helper which create the commands
References Gui::CreateDocCommands(), Gui::CreateFeatCommands(), Gui::CreateLinkCommands(), Gui::CreateMacroCommands(), Gui::CreateStdCommands(), Gui::CreateStructureCommands(), Gui::CreateTestCommands(), Gui::CreateViewStdCommands(), and Gui::CreateWindowStdCommands().
◆ 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()
Gui::Document * Application::editDocument | ( | void | ) | const |
Getter for the editing document.
Referenced by Gui::Document::beforeDelete(), SketcherGui::ViewProviderSketch::getEditingPlacement(), Gui::ViewProviderLink::initDraggingPlacement(), Gui::Command::invoke(), Gui::TreeWidget::mouseDoubleClickEvent(), SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::ViewProviderSketch::setEdit(), SketcherGui::ViewProviderSketch::setEditViewer(), Gui::Document::slotDeletedObject(), Gui::DocumentItem::slotInEdit(), Gui::Document::slotSkipRecompute(), Gui::ViewProviderLink::startEditing(), and SketcherGui::ViewProviderSketch::updateData().
◆ editViewOfNode()
Gui::MDIView * Application::editViewOfNode | ( | SoNode * | node | ) | const |
◆ exportTo()
void Application::exportTo | ( | const char * | FileName, |
const char * | DocName, | ||
const char * | Module | ||
) |
Export objects from the document DocName to a single file.
References Gui::Command::App, Gui::MainWindow::appendRecentFile(), Base::Tools::escapedUnicodeFromUtf8(), Base::Tools::escapeEncodeFilename(), Base::FileInfo::extension(), Base::FileInfo::filePath(), App::GetApplication(), Base::Persistence::getClassTypeId(), App::Application::getDocument(), App::Application::getImportFilters(), Gui::getMainWindow(), Gui::SelectionSingleton::getObjectsOfType(), Gui::WaitCursor::NoEvents, Gui::WaitCursor::restoreCursor(), Gui::Selection(), Gui::WaitCursor::setIgnoreEvents(), and Gui::WaitCursor::setWaitCursor().
Referenced by StdCmdExport::activated().
◆ 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()
void Application::hideViewProvider | ( | const App::DocumentObject * | obj | ) |
Hides the associated view provider of the given object.
References Gui::ViewProvider::hide().
Referenced by FemGui::TaskDlgMeshShapeNetgen::accept(), PartDesignGui::ViewProviderBody::dropObject(), PathGui::ViewProviderPathShape::updateData(), PathGui::ViewProviderArea::updateData(), PartGui::ViewProviderMultiFuse::updateData(), PartGui::ViewProviderBoolean::updateData(), PathGui::ViewProviderAreaView::updateData(), PartGui::ViewProviderCompound::updateData(), and PartGui::ViewProviderMultiCommon::updateData().
◆ importFrom()
void Application::importFrom | ( | const char * | FileName, |
const char * | DocName, | ||
const char * | Module | ||
) |
import a file into the document DocName
References Gui::Command::App, Gui::MainWindow::appendRecentFile(), Base::Tools::escapedUnicodeFromUtf8(), Base::Tools::escapeEncodeFilename(), Base::FileInfo::extension(), Base::FileInfo::filePath(), App::GetApplication(), ParameterGrp::GetBool(), Gui::getMainWindow(), App::Application::GetParameterGroupByPath(), Gui::Command::Gui, Base::FileInfo::hasExtension(), Gui::WaitCursor::NoEvents, Gui::WaitCursor::restoreCursor(), Gui::WaitCursor::setIgnoreEvents(), Gui::WaitCursor::setWaitCursor(), and Gui::FileDialog::setWorkingDirectory().
Referenced by StdCmdImport::activated(), and Gui::MainWindow::loadUrls().
◆ initApplication()
|
static |
◆ initOpenInventor()
|
static |
References Gui::SoFCDB::init().
◆ initTypes()
|
static |
◆ isClosing()
bool Application::isClosing | ( | void | ) |
true when the application shutting down
◆ macroManager()
MacroManager * Application::macroManager | ( | void | ) |
Get macro manager.
Referenced by Gui::Dialog::DlgMacroExecuteImp::accept(), StdCmdMacroStartDebug::activated(), StdCmdMacroStopDebug::activated(), StdCmdMacroStepOver::activated(), StdCmdMacroStepInto::activated(), Gui::MacroCommand::activated(), StdCmdViewIvIssueCamPos::activated(), Gui::Command::addModule(), PendingLine::cancel(), Gui::SelectionSingleton::clearCompleteSelection(), Gui::SelectionSingleton::clearSelection(), Gui::Dialog::DlgMacroRecordImp::DlgMacroRecordImp(), Gui::TreeWidget::dropEvent(), Gui::SelectionSingleton::enableCommandLog(), Gui::PythonEditorView::executeScript(), Gui::Command::invoke(), StdCmdMacroStopDebug::isActive(), StdCmdMacroStepOver::isActive(), StdCmdMacroStepInto::isActive(), Gui::TreeWidget::mouseDoubleClickEvent(), PendingLine::PendingLine(), Gui::Command::printCaller(), Gui::PythonEditorP::PythonEditorP(), sDoCommand(), and sDoCommandGui().
◆ onLastWindowClosed()
void Application::onLastWindowClosed | ( | Gui::Document * | pcDoc | ) |
message when a GuiDocument is about to vanish
References Gui::Command::Doc, Base::BaseClass::getClassTypeId(), Gui::Document::getDocument(), Gui::getMainWindow(), App::Document::getName(), and Gui::MainWindow::setActiveWindow().
◆ 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()
void Application::open | ( | const char * | FileName, |
const char * | Module | ||
) |
open a file
References Gui::Command::App, Gui::MainWindow::appendRecentFile(), App::Document::countObjects(), Base::Tools::escapedUnicodeFromUtf8(), Base::Tools::escapeEncodeFilename(), Base::FileInfo::extension(), Base::FileInfo::filePath(), App::Application::getActiveDocument(), App::GetApplication(), ParameterGrp::GetBool(), Gui::getMainWindow(), App::Document::getName(), App::Application::GetParameterGroupByPath(), Draft::gui, Gui::Command::Gui, Base::FileInfo::hasExtension(), Gui::WaitCursor::NoEvents, Gui::WaitCursor::restoreCursor(), Gui::WaitCursor::setIgnoreEvents(), Gui::WaitCursor::setWaitCursor(), and Gui::FileDialog::setWorkingDirectory().
Referenced by StdCmdOpen::activated(), Gui::RecentFilesAction::activateFile(), Gui::GUIApplication::event(), and sLoadFile().
◆ reopen()
App::Document * Application::reopen | ( | App::Document * | doc | ) |
Reload a partial opened document.
References App::GetApplication(), Base::BaseClass::getClassTypeId(), App::PropertyContainer::getPropertyList(), Gui::WaitCursor::NoEvents, App::Application::openDocument(), App::Document::PartialDoc, App::Document::PartialRestore, App::Property::purgeTouched(), Gui::Document::setActiveView(), and Gui::WaitCursor::setIgnoreEvents().
Referenced by Gui::TreeWidget::onReloadDoc(), and sReload().
◆ runApplication()
|
static |
References activateWorkbench(), Gui::BitmapFactory(), Gui::GUIApplication::caughtException, App::Application::Config(), Base::Console(), Base::FileInfo::deleteFile(), App::Application::destructObserver(), Base::ConsoleSingleton::Error(), Gui::ActionStyleEvent::EventType, App::GetApplication(), App::Application::GetARGC(), App::Application::GetARGV(), ParameterGrp::GetASCII(), ParameterGrp::GetBool(), App::Application::getCmdLineFiles(), Gui::WindowParameter::getDefaultParameter(), App::Application::getExecutableName(), ParameterGrp::GetGroup(), ParameterGrp::GetInt(), Gui::getMainWindow(), App::Application::GetParameterGroupByPath(), App::Application::getResourceDir(), App::Application::getTempPath(), App::Application::getUserAppDataDir(), Gui::GUIApplicationNativeEventAware::initSpaceball(), Gui::AutoSaver::instance(), Gui::GUISingleApplication::isRunning(), Base::ConsoleSingleton::Log(), Base::ConsoleSingleton::Message(), Gui::FileDialog::restoreLocation(), Gui::FileDialog::saveLocation(), Gui::GUISingleApplication::sendMessage(), Gui::AutoSaver::setCompressed(), setStyleSheet(), Gui::AutoSaver::setTimeout(), Gui::FileDialog::setWorkingDirectory(), and workbenches().
◆ runInitGuiScript()
|
static |
References Base::Interpreter(), Base::InterpreterSingleton::runString(), and Base::ScriptFactory().
◆ sActivateView()
References femsolver.elmer.equations.elasticity::create(), and Base::Type::fromName().
◆ sActivateWorkbenchHandler()
References Base::BaseExceptionFreeCADError.
◆ sActiveDocument()
References Gui::Document::getPyObject().
◆ sActiveView()
◆ sActiveWorkbenchHandler()
◆ sAddCommand()
◆ sAddDocObserver()
References Gui::DocumentObserverPython::addObserver().
◆ sAddIcon()
◆ sAddIconPath()
References Gui::BitmapFactoryInst::addPath(), Gui::BitmapFactory(), and App::GetApplication().
◆ sAddLangPath()
References Gui::Translator::addPath(), App::GetApplication(), and Gui::Translator::instance().
◆ sAddModule()
References Gui::Command::addModule(), and Gui::Command::Doc.
◆ sAddPreferencePage()
◆ sAddResPath()
◆ sAddWorkbenchHandler()
◆ sCoinRemoveAllChildren()
◆ sCreateDialog()
◆ sCreateViewer()
References Gui::MainWindow::addWindow(), Gui::getMainWindow(), and OfflineRenderingUtils::viewer().
◆ sDoCommand()
◆ sDoCommandGui()
◆ sEditDocument()
References Gui::Document::getPyObject().
◆ sendHasMsgToActiveView()
bool Application::sendHasMsgToActiveView | ( | const char * | pMsg | ) |
send Messages test to the active view
References Gui::MainWindow::activeWindow(), and Gui::getMainWindow().
Referenced by StdCmdSave::isActive(), StdCmdSaveAs::isActive(), StdCmdPrint::isActive(), StdCmdPrintPreview::isActive(), StdCmdPrintPdf::isActive(), StdCmdUndo::isActive(), StdCmdRedo::isActive(), StdCmdCut::isActive(), StdCmdViewFitAll::isActive(), StdCmdViewFitSelection::isActive(), StdCmdViewVR::isActive(), StdCmdViewExample1::isActive(), StdCmdViewExample2::isActive(), StdCmdViewExample3::isActive(), StdCmdViewIvStereoOff::isActive(), StdCmdViewIvStereoRedGreen::isActive(), StdCmdViewIvStereoQuadBuff::isActive(), StdCmdViewIvStereoInterleavedRows::isActive(), StdCmdViewIvStereoInterleavedColumns::isActive(), and StdCmdViewIvIssueCamPos::isActive().
◆ sendHasMsgToFocusView()
bool Application::sendHasMsgToFocusView | ( | const char * | pMsg | ) |
send Messages test to the focused view
References Gui::MainWindow::activeWindow(), and Gui::getMainWindow().
◆ sendMsgToActiveView()
bool Application::sendMsgToActiveView | ( | const char * | pMsg, |
const char ** | ppReturn = 0 |
||
) |
send Messages to the active view
References Gui::MainWindow::activeWindow(), and Gui::getMainWindow().
Referenced by StdCmdFreezeViews::activated(), StdCmdUndo::activated(), StdCmdRedo::activated(), StdCmdCut::activated(), StdCmdViewIvIssueCamPos::activated(), Gui::Dialog::RedoDialog::onSelected(), and Gui::Dialog::UndoDialog::onSelected().
◆ 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()
void Application::setActiveDocument | ( | Gui::Document * | pcDocument | ) |
Set the active document.
References Gui::MacroManager::Cmt, Base::Console(), Gui::Document::getDocument(), Gui::getMainWindow(), App::Document::getName(), Base::Interpreter(), Base::ConsoleSingleton::Log(), Base::InterpreterSingleton::runString(), Gui::MainWindow::updateActions(), and Base::ConsoleSingleton::Warning().
◆ setEditDocument()
void Application::setEditDocument | ( | Gui::Document * | pcDocument | ) |
Set editing document, which will reset editing of all other document.
References Gui::getMainWindow(), and Gui::MainWindow::updateActions().
Referenced by Gui::ElementColors::accept(), Gui::Document::beforeDelete(), Gui::ElementColors::reject(), Gui::Document::resetEdit(), Gui::Document::setEdit(), and Gui::Document::slotDeletedObject().
◆ setStyleSheet()
void Application::setStyleSheet | ( | const QString & | qssFile, |
bool | tiledBackground | ||
) |
Activate a named workbench.
References Gui::ActionStyleEvent::Clear, Gui::getMainWindow(), and Gui::ActionStyleEvent::Restore.
Referenced by runApplication(), and Gui::Dialog::DlgGeneralImp::saveSettings().
◆ setupContextMenu()
void Application::setupContextMenu | ( | const char * | recipient, |
MenuItem * | items | ||
) | const |
References Gui::WorkbenchManager::active(), Base::BaseClass::getClassTypeId(), Base::BaseClass::getTypeId(), Gui::WorkbenchManager::instance(), Base::Type::isDerivedFrom(), Gui::Workbench::name(), and Gui::Workbench::setupContextMenu().
Referenced by Gui::DAG::Model::contextMenuEvent(), Gui::TreeWidget::contextMenuEvent(), SketcherGui::ViewProviderSketch::mouseButtonPressed(), and Gui::NavigationStyle::openPopupMenu().
◆ sExport()
◆ sGetCommandInfo()
References Base::BaseExceptionFreeCADError, commandManager(), Gui::CommandBase::getAccel(), Gui::CommandManager::getCommandByName(), Gui::CommandBase::getMenuText(), Gui::CommandBase::getPixmap(), Gui::CommandBase::getStatusTip(), Gui::CommandBase::getToolTipText(), Gui::CommandBase::getWhatsThis(), and Instance.
◆ sGetCommandShortcut()
◆ sGetDocument()
References Gui::Document::getPyObject(), and App::DocumentPy::Type.
◆ sGetIcon()
◆ sGetLocale()
References Gui::Translator::activeLanguage(), and Gui::Translator::instance().
◆ sGetMainWindow()
◆ sGetMarkerIndex()
◆ sGetWorkbenchHandler()
◆ sHide()
References Gui::Document::setHide().
◆ sHideObject()
References App::DocumentObjectPy::Type.
◆ showViewProvider()
void Application::showViewProvider | ( | const App::DocumentObject * | obj | ) |
Shows the associated view provider of the given object.
References Gui::ViewProvider::show().
Referenced by PathGui::ViewProviderPathShape::onDelete(), PartGui::ViewProviderCompound::onDelete(), PartGui::ViewProviderMirror::onDelete(), PartGui::ViewProviderMultiFuse::onDelete(), PathGui::ViewProviderArea::onDelete(), PartGui::ViewProviderBoolean::onDelete(), PathGui::ViewProviderAreaView::onDelete(), PartGui::ViewProviderRuledSurface::onDelete(), PartGui::ViewProviderFillet::onDelete(), PartGui::ViewProviderMultiCommon::onDelete(), PartGui::ViewProviderChamfer::onDelete(), PartGui::ViewProviderRevolution::onDelete(), DrawingGui::OrthoViews::OrthoViews(), and PartDesignGui::TaskLoftParameters::TaskLoftParameters().
◆ sInsert()
◆ sIsCommandActive()
◆ sIsIconCached()
References Gui::BitmapFactory().
◆ sListCommands()
References commandManager(), Gui::CommandManager::getAllCommands(), and Instance.
◆ sListWorkbenchHandlers()
◆ sLoadFile()
◆ slotActivatedObject()
|
protected |
References Gui::getMainWindow(), and Gui::MainWindow::updateActions().
Referenced by slotNewDocument().
◆ slotActiveDocument()
|
protected |
References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), Gui::MainWindow::setActiveWindow(), and Gui::MainWindow::updateActions().
Referenced by Application().
◆ slotChangedObject()
|
protected |
References Gui::getMainWindow(), and Gui::MainWindow::updateActions().
Referenced by slotNewDocument().
◆ slotDeletedObject()
|
protected |
Referenced by slotNewDocument().
◆ slotDeleteDocument()
|
protected |
References Gui::SelectionSingleton::clearCompleteSelection(), Base::Console(), App::Document::getName(), Base::ConsoleSingleton::Log(), and Gui::Selection().
Referenced by Application().
◆ slotInEdit()
|
protected |
Referenced by slotNewDocument().
◆ slotNewDocument()
|
protected |
Observer message from the Application.
References Gui::Document::createView(), Base::BaseClass::getClassTypeId(), Gui::Document::signalActivatedObject, Gui::Document::signalChangedObject, Gui::Document::signalDeletedObject, Gui::Document::signalInEdit, Gui::Document::signalNewObject, Gui::Document::signalRelabelObject, Gui::Document::signalResetEdit, slotActivatedObject(), slotChangedObject(), slotDeletedObject(), slotInEdit(), slotNewObject(), slotRelabelObject(), and slotResetEdit().
Referenced by Application().
◆ slotNewObject()
|
protected |
Referenced by slotNewDocument().
◆ slotRelabelDocument()
|
protected |
Referenced by Application().
◆ slotRelabelObject()
|
protected |
Referenced by slotNewDocument().
◆ slotRenameDocument()
|
protected |
Referenced by Application().
◆ slotResetEdit()
|
protected |
Referenced by slotNewDocument().
◆ slotShowHidden()
|
protected |
Referenced by Application().
◆ sOpen()
References activeDocument(), Gui::MainWindow::addWindow(), Gui::BitmapFactory(), Base::Console(), Base::ConsoleSingleton::Error(), App::GetApplication(), Gui::getMainWindow(), Instance, Base::Interpreter(), App::Application::newDocument(), Gui::EditorView::open(), and Base::InterpreterSingleton::runString().
◆ sReload()
References App::GetApplication(), getDocument(), Instance, and reopen().
◆ sRemoveDocObserver()
References Gui::DocumentObserverPython::removeObserver().
◆ sRemoveWorkbenchHandler()
◆ sRunCommand()
◆ sSendActiveView()
References Base::Console(), and Base::ConsoleSingleton::Warning().
◆ sSendFocusView()
References Base::Console(), and Base::ConsoleSingleton::Warning().
◆ sSetActiveDocument()
◆ sSetLocale()
◆ sShow()
References Gui::Document::setShow().
◆ sShowDownloads()
References Gui::Dialog::DownloadManager::getInstance().
◆ sShowObject()
References App::DocumentObjectPy::Type.
◆ sShowPreferences()
◆ sSupportedLocales()
References Gui::Translator::instance(), and Gui::Translator::supportedLocales().
◆ sUpdateCommands()
References Gui::getMainWindow(), and Gui::MainWindow::updateActions().
◆ sUpdateGui()
◆ sUpdateLocale()
References Gui::Translator::instance(), and Gui::Translator::refresh().
◆ tryClose()
void Application::tryClose | ( | QCloseEvent * | e | ) |
References App::Application::closeAllDocuments(), App::GetApplication(), and Gui::getMainWindow().
Referenced by Gui::MainWindow::closeEvent().
◆ 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()
QStringList Application::workbenches | ( | void | ) | const |
References App::Application::Config().
Referenced by Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), StartGui::DlgStartPreferencesImp::DlgStartPreferencesImp(), Gui::Dialog::DlgWorkbenchesImp::DlgWorkbenchesImp(), Gui::Dialog::DlgWorkbenchesImp::load_enabled_workbenches(), Gui::WorkbenchGroup::refreshWorkbenchList(), and runApplication().
◆ workbenchIcon()
QPixmap Application::workbenchIcon | ( | const QString & | wb | ) | const |
References Gui::BitmapFactoryInst::addPixmapToCache(), Gui::BitmapFactory(), and Gui::BitmapFactoryInst::pixmap().
Referenced by Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), StartGui::DlgStartPreferencesImp::DlgStartPreferencesImp(), and Gui::WorkbenchGroup::slotAddWorkbench().
◆ workbenchMenuText()
QString Application::workbenchMenuText | ( | const QString & | wb | ) | const |
◆ workbenchToolTip()
QString Application::workbenchToolTip | ( | const QString & | wb | ) | const |
Referenced by Gui::WorkbenchGroup::slotAddWorkbench().
Member Data Documentation
◆ Instance
|
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
|
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
boost::signals2::signal<void (const Gui::Document&)> Gui::Application::signalActiveDocument |
signal on activating Document
Referenced by PartDesignGui::Workbench::activated(), PartDesignGui::Workbench::deactivated(), Gui::DocumentModel::DocumentModel(), Gui::Dialog::Placement::Placement(), Gui::PropertyView::PropertyView(), Gui::TreeWidget::TreeWidget(), Gui::DAG::View::View(), and Gui::DAG::View::~View().
◆ 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
boost::signals2::signal<void (const Gui::ViewProvider&, const App::Property&)> Gui::Application::signalChangedObject |
signal on changed object property
Referenced by Gui::Dialog::DlgDisplayPropertiesImp::DlgDisplayPropertiesImp(), Gui::ViewProvider::onChanged(), Gui::PropertyView::PropertyView(), Gui::TaskView::TaskAppearance::TaskAppearance(), SketcherGui::TaskSketcherGeneral::TaskSketcherGeneral(), and Gui::TreeWidget::TreeWidget().
◆ signalDeletedObject
boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalDeletedObject |
signal on deleted Object
Referenced by Gui::ElementColors::ElementColors(), PartGui::FaceColors::FaceColors(), and Gui::PropertyView::PropertyView().
◆ signalDeleteDocument
boost::signals2::signal<void (const Gui::Document&)> Gui::Application::signalDeleteDocument |
signal on deleted Document
Referenced by Gui::DocumentModel::DocumentModel(), Gui::ElementColors::ElementColors(), PartGui::FaceColors::FaceColors(), Gui::ManualAlignment::ManualAlignment(), Gui::PropertyView::PropertyView(), Gui::TreeWidget::TreeWidget(), Gui::DAG::View::View(), and Gui::DAG::View::~View().
◆ 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 |
signal on new Document
Referenced by Gui::DocumentModel::DocumentModel(), and Gui::TreeWidget::TreeWidget().
◆ 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 |
signal on relabeling Document
Referenced by Gui::DocumentModel::DocumentModel(), and Gui::TreeWidget::TreeWidget().
◆ 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 |
signal on renaming Document
Referenced by Gui::DocumentModel::DocumentModel(), and Gui::TreeWidget::TreeWidget().
◆ 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