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=nullptr)
 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=nullptr)
 send Messages to the focused view More...
 
bool sendHasMsgToFocusView (const char *pMsg)
 send Messages test to the focused view More...
 
void attachView (Gui::BaseView *pcView)
 Attach a view (get called by the FCView constructor) More...
 
void detachView (Gui::BaseView *pcView)
 Detach a view (get called by the FCView destructor) More...
 
void viewActivated (Gui::MDIView *pcView)
 get called if a view gets activated, this manage the whole activation scheme More...
 
void onUpdate (void)
 call update to all documents and all views (costly!) More...
 
void updateActive (void)
 call update to all views of the active document More...
 
void updateActions (bool delay=false)
 call update to all command actions More...
 
workbench handling
bool activateWorkbench (const char *name)
 Activate a named workbench. More...
 
QPixmap workbenchIcon (const QString &) const
 
QString workbenchToolTip (const QString &) const
 
QString workbenchMenuText (const QString &) const
 
QStringList workbenches (void) const
 
void setupContextMenu (const char *recipient, MenuItem *) const
 
Appearance
void setStyleSheet (const QString &qssFile, bool tiledBackground)
 Activate a named workbench. More...
 
User Commands
Gui::MacroManagermacroManager (void)
 Get macro manager. More...
 
Gui::CommandManagercommandManager (void)
 Reference to the command manager. More...
 
void createStandardOperations ()
 helper which create the commands More...
 
Gui::PreferencePackManagerprefPackManager (void)
 

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...
 
boost::signals2::signal< void(int)> signalUserEditModeChanged
 signal on changing user edit mode More...
 

Init, Destruct an Access methods

static ApplicationInstance = nullptr
 some kind of singleton More...
 
void tryClose (QCloseEvent *e)
 
static void initApplication (void)
 
static void initTypes (void)
 
static void initOpenInventor (void)
 
static void runInitGuiScript (void)
 
static void runApplication (void)
 

User edit mode

static PyMethodDef Methods []
 
const std::map< int, std::string > userEditModes
 
int userEditMode = userEditModes.begin()->first
 
std::map< int, std::string > listUserEditModes () const
 
int getUserEditMode (const std::string &mode="") const
 
std::string getUserEditModeName (int mode=-1) const
 
bool setUserEditMode (int mode)
 
bool setUserEditMode (const std::string &mode)
 
static PyObjectsActivateWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsAddWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsRemoveWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsGetWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsListWorkbenchHandlers (PyObject *self, PyObject *args)
 
static PyObjectsActiveWorkbenchHandler (PyObject *self, PyObject *args)
 
static PyObjectsAddResPath (PyObject *self, PyObject *args)
 
static PyObjectsAddLangPath (PyObject *self, PyObject *args)
 
static PyObjectsAddIconPath (PyObject *self, PyObject *args)
 
static PyObjectsAddIcon (PyObject *self, PyObject *args)
 
static PyObjectsGetIcon (PyObject *self, PyObject *args)
 
static PyObjectsIsIconCached (PyObject *self, PyObject *args)
 
static PyObjectsSendActiveView (PyObject *self, PyObject *args)
 
static PyObjectsSendFocusView (PyObject *self, PyObject *args)
 
static PyObjectsGetMainWindow (PyObject *self, PyObject *args)
 
static PyObjectsUpdateGui (PyObject *self, PyObject *args)
 
static PyObjectsUpdateLocale (PyObject *self, PyObject *args)
 
static PyObjectsGetLocale (PyObject *self, PyObject *args)
 
static PyObjectsSetLocale (PyObject *self, PyObject *args)
 
static PyObjectsSupportedLocales (PyObject *self, PyObject *args)
 
static PyObjectsCreateDialog (PyObject *self, PyObject *args)
 
static PyObjectsAddPreferencePage (PyObject *self, PyObject *args)
 
static PyObjectsRunCommand (PyObject *self, PyObject *args)
 
static PyObjectsAddCommand (PyObject *self, PyObject *args)
 
static PyObjectsHide (PyObject *self, PyObject *args)
 
static PyObjectsShow (PyObject *self, PyObject *args)
 
static PyObjectsHideObject (PyObject *self, PyObject *args)
 
static PyObjectsShowObject (PyObject *self, PyObject *args)
 
static PyObjectsOpen (PyObject *self, PyObject *args)
 
static PyObjectsInsert (PyObject *self, PyObject *args)
 
static PyObjectsExport (PyObject *self, PyObject *args)
 
static PyObjectsReload (PyObject *self, PyObject *args)
 
static PyObjectsLoadFile (PyObject *self, PyObject *args)
 
static PyObjectsCoinRemoveAllChildren (PyObject *self, PyObject *args)
 
static PyObjectsActiveDocument (PyObject *self, PyObject *args)
 
static PyObjectsSetActiveDocument (PyObject *self, PyObject *args)
 
static PyObjectsActiveView (PyObject *self, PyObject *args)
 
static PyObjectsActivateView (PyObject *self, PyObject *args)
 
static PyObjectsGetDocument (PyObject *self, PyObject *args)
 
static PyObjectsEditDocument (PyObject *self, PyObject *args)
 
static PyObjectsDoCommand (PyObject *self, PyObject *args)
 
static PyObjectsDoCommandGui (PyObject *self, PyObject *args)
 
static PyObjectsAddModule (PyObject *self, PyObject *args)
 
static PyObjectsShowDownloads (PyObject *self, PyObject *args)
 
static PyObjectsShowPreferences (PyObject *self, PyObject *args)
 
static PyObjectsCreateViewer (PyObject *self, PyObject *args)
 
static PyObjectsGetMarkerIndex (PyObject *self, PyObject *args)
 
static PyObjectsAddDocObserver (PyObject *self, PyObject *args)
 
static PyObjectsRemoveDocObserver (PyObject *self, PyObject *args)
 
static PyObjectsListUserEditModes (PyObject *self, PyObject *args)
 
static PyObjectsGetUserEditMode (PyObject *self, PyObject *args)
 
static PyObjectsSetUserEditMode (PyObject *self, PyObject *args)
 

methods for Document handling

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

Detailed Description

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

Author
J├╝rgen Riegel, Werner Mayer

Constructor & Destructor Documentation

◆ Application()

Application::Application ( bool  GUIenabled)

construction

References Gui::Translator::activateLanguage(), Base::InterpreterSingleton::addType(), draftgeoutils.faces::bind(), App::Application::Config(), createStandardOperations(), 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::MainWindowPy::init_type(), Gui::MDIViewPy::init_type(), Gui::SoQtOffscreenRendererPy::init_type(), Gui::AbstractSplitViewPy::init_type(), Gui::UiLoaderPy::init_type(), Gui::View3DInventorPy::init_type(), Gui::PyResource::init_type(), Gui::ExpressionBindingPy::init_type(), Gui::PythonStdout::init_type(), Gui::PythonStderr::init_type(), Gui::OutputStdout::init_type(), Gui::OutputStderr::init_type(), Gui::PythonStdin::init_type(), Gui::SelectionFilterPy::init_type(), Gui::TaskView::ControlPy::init_type(), Gui::View3DInventorViewerPy::init_type(), Instance, 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(), and slotShowHidden().

◆ ~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 activeDocument(), femsolver.elmer.equations.elasticity::create(), and Base::BaseClass::isDerivedFrom().

Referenced by onLastWindowClosed().

◆ 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(), Instance, Gui::WorkbenchManager::instance(), Base::Type::isDerivedFrom(), Base::ConsoleSingleton::Log(), Gui::Workbench::name(), Gui::WaitCursor::restoreCursor(), Gui::WaitCursor::setWaitCursor(), signalActivateWorkbench, and Gui::ApplicationP::startingUp.

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

◆ activeDocument()

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

Getter for the active document.

Getter for the active view.

References Gui::ApplicationP::activeDocument.

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

◆ activeView()

◆ attachView()

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

Attach a view (get called by the FCView constructor)

References Gui::ApplicationP::passive.

◆ checkForPreviousCrashes()

◆ commandManager()

CommandManager & Application::commandManager ( void  )

Reference to the command manager.

References Gui::ApplicationP::commandManager.

Referenced by Gui::PythonGroupCommand::activated(), Gui::GroupCommand::addCommand(), Gui::Dialog::DlgCustomToolbarsImp::addCustomCommand(), PartDesignGui::assertActivePart(), Gui::Dialog::DlgCustomCommandsImp::changeEvent(), Gui::Dialog::DlgCustomKeyboardImp::changeEvent(), Gui::Dialog::DlgCustomToolbars::changeEvent(), Gui::MainWindow::changeEvent(), Gui::CommandManager::checkAcceleratorForConflicts(), 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(), SpreadsheetGui::SheetTableView::mergeCells(), Gui::CommandManager::newMacroName(), 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::TaskSketcherConstraints::on_listWidgetConstraints_updateActiveStatus(), SketcherGui::TaskSketcherConstraints::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(), Gui::Command::printConflictingAccelerators(), sAddCommand(), Gui::MacroCommand::save(), Gui::Dialog::DlgCustomKeyboardImp::setShortcutOfCurrentAction(), Gui::ToolBoxManager::setup(), Gui::ToolBarManager::setup(), MeshGui::Workbench::setupMenuBar(), Gui::Dialog::DlgPreferencePackManagementImp::showAddonManager(), SpreadsheetGui::SheetTableView::splitCell(), 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)

References Gui::ApplicationP::passive.

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

◆ editDocument()

◆ editViewOfNode()

Gui::MDIView * Application::editViewOfNode ( SoNode node) const

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

References Gui::ApplicationP::documents.

◆ 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 Gui::ApplicationP::documents, App::GetApplication(), and App::Application::getDocument().

Referenced by Gui::Dialog::DocumentRecovery::accept(), MeshPartGui::Tessellation::accept(), PartGui::FaceColors::accept(), PartGui::LoftWidget::accept(), PartGui::SweepWidget::accept(), TechDrawGui::TaskCenterLine::accept(), TechDrawGui::TaskCosVertex::accept(), TechDrawGui::TaskDetail::accept(), TechDrawGui::TaskLeaderLine::accept(), TechDrawGui::TaskLineDecor::accept(), TechDrawGui::TaskProjGroup::accept(), TechDrawGui::TaskRichAnno::accept(), Gui::TaskCSysDragger::accept(), Gui::Dialog::TransformStrategy::acceptDataTransform(), Gui::AlignmentGroup::addView(), Gui::TransactionViewProvider::applyNew(), Gui::Dialog::TransformStrategy::applyViewTransform(), PartDesignGui::ViewProviderBody::attach(), Gui::MainWindow::closeAllDocuments(), TechDrawGui::Grabber3d::copyActiveViewToSvgFile(), TechDrawGui::TaskHatch::createHatch(), Gui::TreeWidget::dropEvent(), Gui::Document::exportObjects(), Gui::ViewProviderOriginGroupExtension::extensionAttach(), Gui::ViewProviderDocumentObject::findFrontRootOfType(), PartGui::DlgExtrusion::findShapes(), Gui::ViewProviderDocumentObject::getActiveView(), Gui::DocumentT::getDocument(), Gui::ViewProviderT::getDocument(), Gui::AlignmentGroup::getDocument(), Gui::ViewProviderDocumentObject::getDocument(), Gui::ViewProviderDocumentObject::getEditingView(), TechDrawGui::QGIView::getFrameState(), InspectionGui::ViewProviderInspection::getIcon(), Gui::ViewProviderDocumentObject::getInventorView(), TechDrawGui::ViewProviderDrawingView::getMDIViewPage(), TechDrawGui::ViewProviderTemplate::getMDIViewPage(), TechDrawGui::ViewProviderDrawingView::getQView(), Gui::LinkInfo::getView(), Gui::ViewProviderDocumentObject::getViewOfNode(), TechDrawGui::QGIView::getViewProvider(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), importFrom(), 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(), TechDrawGui::ViewProviderDrawingView::onGuiRepaint(), PartGui::TaskDlgAttacher::open(), PartGui::FaceColors::open(), open(), PartGui::FaceColors::Private::Private(), PartGui::FaceColors::reject(), TechDrawGui::TaskCenterLine::reject(), TechDrawGui::TaskCosVertex::reject(), TechDrawGui::TaskDetail::reject(), TechDrawGui::TaskLeaderLine::reject(), TechDrawGui::TaskLineDecor::reject(), TechDrawGui::TaskProjGroup::reject(), TechDrawGui::TaskRichAnno::reject(), reopen(), 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(), sGetDocument(), 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().

◆ getUserEditMode()

int Application::getUserEditMode ( const std::string &  mode = "") const

References userEditMode, and userEditModes.

◆ getUserEditModeName()

std::string Application::getUserEditModeName ( int  mode = -1) const

References userEditMode, and userEditModes.

Referenced by sGetUserEditMode().

◆ getViewProvider()

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

Get the view provider of the given object.

References Gui::ViewProviderMap::getViewProvider(), and Gui::ApplicationP::viewproviderMap.

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

◆ hideViewProvider()

◆ importFrom()

◆ initApplication()

void Application::initApplication ( void  )
static

◆ initOpenInventor()

void Application::initOpenInventor ( void  )
static

References Gui::SoFCDB::init().

Referenced by runApplication().

◆ initTypes()

void Application::initTypes ( void  )
static

◆ isClosing()

bool Application::isClosing ( void  )

true when the application shutting down

References Gui::ApplicationP::isClosing.

◆ listUserEditModes()

std::map< int, std::string > Gui::Application::listUserEditModes ( ) const

Referenced by sListUserEditModes().

◆ macroManager()

◆ onLastWindowClosed()

◆ onUpdate()

void Application::onUpdate ( void  )

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

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

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

◆ open()

◆ prefPackManager()

◆ reopen()

◆ runApplication()

void Application::runApplication ( void  )
static

◆ 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

References Instance, and signalAddWorkbench.

◆ 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 = nullptr 
)

send Messages to the focused view

send Messages to the active view

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

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

◆ setActiveDocument()

◆ setEditDocument()

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

◆ setStyleSheet()

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

◆ setupContextMenu()

◆ setUserEditMode() [1/2]

bool Application::setUserEditMode ( const std::string &  mode)

References setUserEditMode(), and userEditModes.

◆ setUserEditMode() [2/2]

◆ sExport()

◆ sGetDocument()

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

◆ sGetIcon()

◆ sGetLocale()

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

◆ sGetMainWindow()

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

◆ sGetMarkerIndex()

◆ sGetUserEditMode()

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

References getUserEditModeName(), and Instance.

◆ sGetWorkbenchHandler()

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

References Instance.

◆ sHide()

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

◆ sHideObject()

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

References hideViewProvider(), and Instance.

◆ showViewProvider()

◆ sInsert()

◆ sIsIconCached()

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

References Gui::BitmapFactory().

◆ sListUserEditModes()

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

References Instance, and listUserEditModes().

◆ sListWorkbenchHandlers()

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

References Instance.

◆ sLoadFile()

◆ slotActivatedObject()

void Application::slotActivatedObject ( const ViewProvider vp)
protected

References signalActivatedObject, and updateActions().

Referenced by slotNewDocument().

◆ slotActiveDocument()

◆ slotChangedObject()

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

References signalChangedObject, and updateActions().

Referenced by slotNewDocument().

◆ slotDeletedObject()

void Application::slotDeletedObject ( const ViewProvider vp)
protected

◆ slotDeleteDocument()

◆ slotInEdit()

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

References signalInEdit.

Referenced by slotNewDocument().

◆ slotNewDocument()

◆ slotNewObject()

void Application::slotNewObject ( const ViewProvider vp)
protected

◆ slotRelabelDocument()

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

◆ slotRelabelObject()

void Application::slotRelabelObject ( const ViewProvider vp)
protected

References signalRelabelObject.

Referenced by slotNewDocument().

◆ slotRenameDocument()

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

◆ slotResetEdit()

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

References signalResetEdit.

Referenced by slotNewDocument().

◆ slotShowHidden()

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

◆ 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

◆ sSetUserEditMode()

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

References Instance, and setUserEditMode().

◆ 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

References Instance, and showViewProvider().

◆ sShowPreferences()

◆ sSupportedLocales()

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

◆ sUpdateGui()

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

◆ sUpdateLocale()

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

◆ tryClose()

◆ updateActions()

◆ updateActive()

void Application::updateActive ( void  )

call update to all views of the active document

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

◆ 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(), Base::ConsoleSingleton::Log(), setActiveDocument(), and signalActivateView.

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 = nullptr
static

some kind of singleton

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

◆ Methods

PyMethodDef Application::Methods
static

Referenced by Application().

◆ signalActivatedObject

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

signal on activated Object

Referenced by slotActivatedObject().

◆ signalActivateView

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

signal on activating view

Referenced by StdCmdDrawStyle::StdCmdDrawStyle(), and viewActivated().

◆ signalActivateWorkbench

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

signal on activated workbench

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

◆ signalActiveDocument

◆ signalAddWorkbench

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

signal on added workbench

Referenced by sAddWorkbenchHandler(), and 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

Referenced by slotInEdit().

◆ 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

Referenced by slotNewObject().

◆ 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

Referenced by slotRelabelObject().

◆ signalRemoveWorkbench

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

signal on removed workbench

Referenced by sRemoveWorkbenchHandler(), and 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

Referenced by slotResetEdit().

◆ signalShowHidden

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

signal on show hidden items

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

◆ signalUserEditModeChanged

boost::signals2::signal<void (int)> Gui::Application::signalUserEditModeChanged

signal on changing user edit mode

Referenced by setUserEditMode(), and StdCmdUserEditMode::StdCmdUserEditMode().

◆ userEditMode

int Gui::Application::userEditMode = userEditModes.begin()->first
protected

◆ userEditModes

const std::map<int, std::string> Gui::Application::userEditModes
protected
Initial value:
{
{0, QT_TRANSLATE_NOOP("EditMode", "Default")},
{1, QT_TRANSLATE_NOOP("EditMode", "Transform")},
{2, QT_TRANSLATE_NOOP("EditMode", "Cutting")},
{3, QT_TRANSLATE_NOOP("EditMode", "Color")}
}

Referenced by getUserEditMode(), getUserEditModeName(), and setUserEditMode().


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