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=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::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... | |
Gui::PreferencePackManager * | prefPackManager (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 Application * | Instance = 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) |
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 &) |
The Application main class This is the central class of the GUI.
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::~Application | ( | ) |
destruction
References Base::InterpreterSingleton::cleanupSWIG(), Base::Console(), Gui::WidgetFactorySupplier::destruct(), Gui::WorkbenchManager::destruct(), Gui::BitmapFactoryInst::destruct(), Gui::Translator::destruct(), Gui::SelectionSingleton::destruct(), Gui::SoFCDB::finish(), Instance, Base::Interpreter(), Base::ConsoleSingleton::Log(), and Gui::MacroCommand::save().
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.
type | |
create |
References activeDocument(), femsolver.elmer.equations.elasticity::create(), and Base::BaseClass::isDerivedFrom().
Referenced by onLastWindowClosed().
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().
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().
Gui::MDIView * Application::activeView | ( | void | ) | const |
Getter for the active view of the active document or null.
References activeDocument(), and Gui::Document::getActiveView().
Referenced by PartDesignGui::assertActivePart(), PartDesignGui::getActivePart(), PartGui::getAutoGroupCommandStr(), PartDesignGui::getBody(), Gui::ViewProvider::getBoundingBox(), PartDesignGui::makeBodyActive(), PartDesignGui::setEdit(), PartDesignGui::Workbench::setupContextMenu(), and PartDesignGui::ViewProvider::unsetEdit().
void Application::attachView | ( | Gui::BaseView * | pcView | ) |
Attach a view (get called by the FCView constructor)
References Gui::ApplicationP::passive.
void Application::checkForPreviousCrashes | ( | ) |
References Gui::Dialog::ApplicationCache::applyUserSettings(), Gui::Dialog::DocumentRecoveryFinder::checkForPreviousCrashes(), Base::Console(), Gui::Dialog::ApplicationCache::performAction(), Gui::Dialog::ApplicationCache::periodicCheckOfSize(), Gui::Dialog::ApplicationCache::size(), and Base::ConsoleSingleton::Warning().
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().
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().
Referenced by Application().
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().
Gui::Document * Application::editDocument | ( | void | ) | const |
Getter for the editing document.
References Gui::ApplicationP::editDocument.
Referenced by Gui::Document::beforeDelete(), Gui::ViewProviderLink::initDraggingPlacement(), Gui::TreeWidget::mouseDoubleClickEvent(), SketcherGui::ViewProviderSketch::purgeHandler(), sEditDocument(), SketcherGui::ViewProviderSketch::setEdit(), SketcherGui::ViewProviderSketch::setEditViewer(), Gui::Document::slotDeletedObject(), Gui::DocumentItem::slotInEdit(), Gui::Document::slotSkipRecompute(), Gui::ViewProviderLink::startEditing(), and SketcherGui::ViewProviderSketch::updateData().
Gui::MDIView * Application::editViewOfNode | ( | SoNode * | node | ) | const |
References Gui::ApplicationP::editDocument, and Gui::Document::getViewOfNode().
Referenced by SketcherGui::ViewProviderSketch::getScaleFactor().
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(), ParameterGrp::GetBool(), Base::Persistence::getClassTypeId(), App::Application::getDocument(), App::Application::getImportFilters(), Gui::getMainWindow(), Gui::SelectionSingleton::getObjectsOfType(), App::Application::GetParameterGroupByPath(), Gui::WaitCursor::NoEvents, Gui::WaitCursor::restoreCursor(), Gui::Selection(), Gui::WaitCursor::setIgnoreEvents(), and Gui::WaitCursor::setWaitCursor().
Referenced by StdCmdExport::activated().
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.
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().
int Application::getUserEditMode | ( | const std::string & | mode = "" | ) | const |
References userEditMode, and userEditModes.
std::string Application::getUserEditModeName | ( | int | mode = -1 | ) | const |
References userEditMode, and userEditModes.
Referenced by sGetUserEditMode().
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().
void Application::hideViewProvider | ( | const App::DocumentObject * | obj | ) |
Hides the associated view provider of the given object.
References getViewProvider(), and Gui::ViewProvider::hide().
Referenced by FemGui::TaskDlgMeshShapeNetgen::accept(), PartDesignGui::ViewProviderBody::dropObject(), sHideObject(), PartGui::ViewProviderBoolean::updateData(), PartGui::ViewProviderMultiFuse::updateData(), PartGui::ViewProviderMultiCommon::updateData(), PartGui::ViewProviderCompound::updateData(), PathGui::ViewProviderArea::updateData(), PathGui::ViewProviderAreaView::updateData(), and PathGui::ViewProviderPathShape::updateData().
void Application::importFrom | ( | const char * | FileName, |
const char * | DocName, | ||
const char * | Module | ||
) |
import a file into the document DocName
References activeDocument(), Gui::Command::App, Gui::MainWindow::appendRecentFile(), Base::Tools::escapedUnicodeFromUtf8(), Base::Tools::escapeEncodeFilename(), Base::FileInfo::extension(), Base::FileInfo::filePath(), App::GetApplication(), ParameterGrp::GetBool(), getDocument(), Gui::getMainWindow(), App::Application::GetParameterGroupByPath(), Base::FileInfo::hasExtension(), Gui::WaitCursor::NoEvents, draftutils.translate::QT_TRANSLATE_NOOP, Gui::WaitCursor::restoreCursor(), Gui::WaitCursor::setIgnoreEvents(), Gui::Document::setModified(), Gui::WaitCursor::setWaitCursor(), Gui::FileDialog::setWorkingDirectory(), and updateActions().
Referenced by StdCmdImport::activated(), and Gui::MainWindow::loadUrls().
|
static |
|
static |
References Gui::SoFCDB::init().
Referenced by runApplication().
|
static |
References Base::Persistence::getClassTypeId(), Base::BaseClass::init(), and Base::Persistence::init().
Referenced by initApplication().
bool Application::isClosing | ( | void | ) |
true when the application shutting down
References Gui::ApplicationP::isClosing.
std::map< int, std::string > Gui::Application::listUserEditModes | ( | ) | const |
Referenced by sListUserEditModes().
MacroManager * Application::macroManager | ( | void | ) |
Get macro manager.
References Gui::ApplicationP::macroMngr.
Referenced by Gui::Dialog::DlgMacroExecuteImp::accept(), Gui::MacroCommand::activated(), StdCmdMacroStopRecord::activated(), StdCmdViewIvIssueCamPos::activated(), Gui::RecentMacrosAction::activateFile(), Gui::Command::addModule(), PendingLine::cancel(), Gui::SelectionSingleton::clearCompleteSelection(), Gui::SelectionSingleton::clearSelection(), Gui::Dialog::DlgMacroRecordImp::DlgMacroRecordImp(), Gui::TreeWidget::dropEvent(), Gui::SelectionSingleton::enableCommandLog(), Gui::PythonEditorView::executeScript(), StdCmdDlgMacroRecord::isActive(), StdCmdMacroStopRecord::isActive(), StdCmdDlgMacroExecute::isActive(), Gui::TreeWidget::mouseDoubleClickEvent(), PendingLine::PendingLine(), Gui::Command::printCaller(), Gui::PythonEditorP::PythonEditorP(), sDoCommand(), sDoCommandGui(), and setActiveDocument().
void Application::onLastWindowClosed | ( | Gui::Document * | pcDoc | ) |
message when a GuiDocument is about to vanish
References activateView(), Gui::ApplicationP::activeDocument, Base::Console(), Gui::Command::Doc, Gui::ApplicationP::documents, Base::ConsoleSingleton::Error(), Base::BaseClass::getClassTypeId(), Gui::Document::getDocument(), Gui::getMainWindow(), App::Document::getName(), Gui::ApplicationP::isClosing, setActiveDocument(), Gui::MainWindow::setActiveWindow(), and App::Document::TempDoc.
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().
void Application::open | ( | const char * | FileName, |
const char * | Module | ||
) |
open a file
References Gui::Command::App, Gui::MainWindow::appendRecentFile(), App::Document::countObjects(), Gui::ApplicationP::documents, Base::Tools::escapedUnicodeFromUtf8(), Base::Tools::escapeEncodeFilename(), Base::FileInfo::extension(), Base::FileInfo::filePath(), App::Application::getActiveDocument(), App::GetApplication(), ParameterGrp::GetBool(), getDocument(), Gui::getMainWindow(), App::Document::getName(), App::Application::GetParameterGroupByPath(), Gui::Command::Gui, Draft::gui, Base::FileInfo::hasExtension(), Gui::WaitCursor::NoEvents, Gui::WaitCursor::restoreCursor(), sendHasMsgToActiveView(), Gui::WaitCursor::setIgnoreEvents(), Gui::WaitCursor::setWaitCursor(), and Gui::FileDialog::setWorkingDirectory().
Referenced by StdCmdOpen::activated(), Gui::RecentFilesAction::activateFile(), Gui::GUIApplication::event(), and sLoadFile().
Gui::PreferencePackManager * Application::prefPackManager | ( | void | ) |
References Gui::ApplicationP::prefPackManager.
Referenced by Gui::Dialog::DlgPreferencePackManagementImp::deleteUserPack(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), Gui::Dialog::DlgPreferencePackManagementImp::hideBuiltInPack(), Gui::Dialog::DlgPreferencePackManagementImp::hideInstalledPack(), Gui::Dialog::DlgGeneralImp::newPreferencePackDialogAccepted(), Gui::Dialog::DlgGeneralImp::recreatePreferencePackMenu(), and Gui::Dialog::DlgRevertToBackupConfigImp::showEvent().
App::Document * Application::reopen | ( | App::Document * | doc | ) |
Reload a partial opened document.
References Gui::ApplicationP::documents, App::GetApplication(), Base::BaseClass::getClassTypeId(), getDocument(), App::PropertyContainer::getPropertyList(), Gui::WaitCursor::NoEvents, App::Application::openDocument(), App::Document::PartialDoc, App::Document::PartialRestore, App::Property::purgeTouched(), setActiveDocument(), Gui::Document::setActiveView(), and Gui::WaitCursor::setIgnoreEvents().
Referenced by Gui::TreeWidget::onReloadDoc(), and sReload().
|
static |
References Gui::Translator::activeLanguage(), Gui::BitmapFactory(), Gui::GUIApplication::caughtException, App::Application::Config(), draftgeoutils.intersections::connect(), 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(), App::Application::getHomePath(), ParameterGrp::GetInt(), Gui::getMainWindow(), App::Application::GetParameterGroupByPath(), App::Application::getResourceDir(), App::Application::getUserAppDataDir(), App::Application::getUserCachePath(), initOpenInventor(), Gui::GUIApplicationNativeEventAware::initSpaceball(), Instance, Gui::AutoSaver::instance(), Gui::Translator::instance(), Gui::GUISingleApplication::isRunning(), Base::ConsoleSingleton::Log(), Base::ConsoleSingleton::Message(), Gui::FileDialog::restoreLocation(), runInitGuiScript(), Gui::FileDialog::saveLocation(), Gui::GUISingleApplication::sendMessage(), Gui::AutoSaver::setCompressed(), Gui::Translator::setLocale(), Gui::AutoSaver::setTimeout(), Gui::FileDialog::setWorkingDirectory(), Gui::ApplicationP::startingUp, Base::FileInfo::toStdWString(), and Base::ConsoleSingleton::Warning().
|
static |
References Base::Interpreter(), Base::InterpreterSingleton::runString(), and Base::ScriptFactory().
Referenced by runApplication().
References femsolver.elmer.equations.elasticity::create(), and Base::Type::fromName().
References activateWorkbench(), Instance, and Base::PyExc_FC_GeneralError.
References Gui::Document::getPyObject().
References Gui::DocumentObserverPython::addObserver().
References Gui::Command::addModule(), and Gui::Command::Doc.
References Instance, and signalAddWorkbench.
References Gui::MainWindow::addWindow(), Gui::getMainWindow(), and OfflineRenderingUtils::viewer().
References editDocument(), Gui::Document::getPyObject(), and Instance.
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(), StdCmdDlgMacroExecuteDirect::isActive(), StdCmdMacroStartDebug::isActive(), StdCmdToggleBreakpoint::isActive(), StdCmdViewFitAll::isActive(), StdCmdViewFitSelection::isActive(), StdCmdViewVR::isActive(), StdCmdViewExample1::isActive(), StdCmdViewExample2::isActive(), StdCmdViewExample3::isActive(), StdCmdViewIvStereoOff::isActive(), StdCmdViewIvStereoRedGreen::isActive(), StdCmdViewIvStereoQuadBuff::isActive(), StdCmdViewIvStereoInterleavedRows::isActive(), StdCmdViewIvStereoInterleavedColumns::isActive(), StdCmdViewIvIssueCamPos::isActive(), and open().
bool Application::sendHasMsgToFocusView | ( | const char * | pMsg | ) |
send Messages test to the focused view
References Gui::MainWindow::activeWindow(), and Gui::getMainWindow().
bool Application::sendMsgToActiveView | ( | const char * | pMsg, |
const char ** | ppReturn = nullptr |
||
) |
send Messages to the active view
References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), and updateActions().
Referenced by StdCmdUndo::activated(), StdCmdRedo::activated(), StdCmdCut::activated(), StdCmdFreezeViews::activated(), StdCmdViewIvIssueCamPos::activated(), Gui::Dialog::UndoDialog::onSelected(), Gui::Dialog::RedoDialog::onSelected(), and sSendActiveView().
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().
void Application::setActiveDocument | ( | Gui::Document * | pcDocument | ) |
Set the active document.
References Gui::ApplicationP::activeDocument, Gui::MacroManager::addLine(), Gui::MacroManager::Cmt, Base::Console(), Gui::ApplicationP::documents, Gui::Document::getDocument(), App::Document::getName(), Base::Interpreter(), Base::ConsoleSingleton::Log(), macroManager(), Gui::ApplicationP::passive, Base::InterpreterSingleton::runString(), updateActions(), and Base::ConsoleSingleton::Warning().
Referenced by onLastWindowClosed(), reopen(), slotDeleteDocument(), and viewActivated().
void Application::setEditDocument | ( | Gui::Document * | pcDocument | ) |
Set editing document, which will reset editing of all other document.
References Gui::ApplicationP::documents, Gui::ApplicationP::editDocument, and updateActions().
Referenced by Gui::ElementColors::accept(), Gui::Document::beforeDelete(), Gui::ElementColors::reject(), Gui::Document::resetEdit(), Gui::Document::setEdit(), and Gui::Document::slotDeletedObject().
void Application::setStyleSheet | ( | const QString & | qssFile, |
bool | tiledBackground | ||
) |
Activate a named workbench.
References Gui::ActionStyleEvent::Clear, Gui::getMainWindow(), Gui::ActionStyleEvent::Restore, and Gui::ApplicationP::startingUp.
Referenced by Gui::Dialog::DlgGeneralImp::saveSettings().
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::TreeWidget::contextMenuEvent(), Gui::DAG::Model::contextMenuEvent(), SketcherGui::ViewProviderSketch::mouseButtonPressed(), and Gui::NavigationStyle::openPopupMenu().
bool Application::setUserEditMode | ( | const std::string & | mode | ) |
References setUserEditMode(), and userEditModes.
References signalUserEditModeChanged, userEditMode, and userEditModes.
Referenced by StdCmdUserEditMode::activated(), StdCmdUserEditMode::createAction(), setUserEditMode(), and sSetUserEditMode().
References getDocument(), Gui::Document::getPyObject(), and Instance.
References Gui::Translator::activeLanguage(), and Gui::Translator::instance().
References Gui::MainWindowPy::createWrapper(), and Gui::getMainWindow().
References getUserEditModeName(), and Instance.
References Instance.
References activeDocument(), Instance, and Gui::Document::setHide().
References hideViewProvider(), and Instance.
void Application::showViewProvider | ( | const App::DocumentObject * | obj | ) |
Shows the associated view provider of the given object.
References getViewProvider(), and Gui::ViewProvider::show().
Referenced by 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::ViewProviderRuledSurface::onDelete(), PathGui::ViewProviderArea::onDelete(), PathGui::ViewProviderAreaView::onDelete(), PathGui::ViewProviderPathShape::onDelete(), DrawingGui::OrthoViews::OrthoViews(), sShowObject(), PartDesignGui::TaskLoftParameters::TaskLoftParameters(), and PartDesignGui::TaskPipeScaling::TaskPipeScaling().
References Gui::BitmapFactory().
References Instance, and listUserEditModes().
References Instance.
|
protected |
References signalActivatedObject, and updateActions().
Referenced by slotNewDocument().
|
protected |
References Gui::ApplicationP::activeDocument, Gui::MainWindow::activeWindow(), Gui::ApplicationP::documents, Gui::Document::getActiveView(), Gui::getMainWindow(), Gui::Document::getPyObject(), Gui::MainWindow::setActiveWindow(), signalActiveDocument, and updateActions().
Referenced by Application().
|
protected |
References signalChangedObject, and updateActions().
Referenced by slotNewDocument().
|
protected |
References Gui::ViewProviderMap::deleteObject(), signalDeletedObject, and Gui::ApplicationP::viewproviderMap.
Referenced by slotNewDocument().
|
protected |
References Gui::ApplicationP::activeDocument, Gui::SelectionSingleton::clearCompleteSelection(), Base::Console(), Gui::ViewProviderMap::deleteDocument(), Gui::ApplicationP::documents, App::Document::getName(), Base::ConsoleSingleton::Log(), Gui::Selection(), setActiveDocument(), signalDeleteDocument, and Gui::ApplicationP::viewproviderMap.
Referenced by Application().
|
protected |
References signalInEdit.
Referenced by slotNewDocument().
|
protected |
Observer message from the Application.
References draftgeoutils.faces::bind(), Gui::Document::createView(), Gui::ApplicationP::documents, Base::BaseClass::getClassTypeId(), Gui::Document::signalActivatedObject, Gui::Document::signalChangedObject, Gui::Document::signalDeletedObject, Gui::Document::signalInEdit, signalNewDocument, Gui::Document::signalNewObject, Gui::Document::signalRelabelObject, Gui::Document::signalResetEdit, slotActivatedObject(), slotChangedObject(), slotDeletedObject(), slotInEdit(), slotNewObject(), slotRelabelObject(), and slotResetEdit().
Referenced by Application().
|
protected |
References Gui::ViewProviderMap::newObject(), signalNewObject, and Gui::ApplicationP::viewproviderMap.
Referenced by slotNewDocument().
|
protected |
References Gui::ApplicationP::documents, and signalRelabelDocument.
Referenced by Application().
|
protected |
References signalRelabelObject.
Referenced by slotNewDocument().
|
protected |
References Gui::ApplicationP::documents, and signalRenameDocument.
Referenced by Application().
|
protected |
References signalResetEdit.
Referenced by slotNewDocument().
|
protected |
References Gui::ApplicationP::documents, and signalShowHidden.
Referenced by Application().
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().
References App::GetApplication(), getDocument(), Instance, and reopen().
References Gui::DocumentObserverPython::removeObserver().
References Base::Console(), Instance, sendMsgToActiveView(), and Base::ConsoleSingleton::Warning().
References Base::Console(), Instance, sendMsgToFocusView(), and Base::ConsoleSingleton::Warning().
References Instance, and setUserEditMode().
References activeDocument(), Instance, and Gui::Document::setShow().
References Gui::Dialog::DownloadManager::getInstance().
References Instance, and showViewProvider().
References Gui::Translator::instance(), and Gui::Translator::supportedLocales().
References Gui::Translator::instance(), and Gui::Translator::refresh().
void Application::tryClose | ( | QCloseEvent * | e | ) |
void Application::updateActions | ( | bool | delay = false | ) |
call update to all command actions
References Gui::getMainWindow(), and Gui::MainWindow::updateActions().
Referenced by importFrom(), Gui::ViewProvider::onChanged(), sendMsgToActiveView(), sendMsgToFocusView(), setActiveDocument(), setEditDocument(), slotActivatedObject(), slotActiveDocument(), and slotChangedObject().
void Application::updateActive | ( | void | ) |
call update to all views of the active document
References activeDocument(), and Gui::Document::onUpdate().
void Application::viewActivated | ( | Gui::MDIView * | pcView | ) |
get called if a view gets activated, this manage the whole activation scheme
Gets called if a view gets activated, this manages the whole activation scheme.
References Base::Console(), Gui::BaseView::getGuiDocument(), Gui::BaseView::isPassive(), Base::ConsoleSingleton::Log(), setActiveDocument(), and signalActivateView.
Referenced by Gui::MainWindow::changeEvent(), and Gui::MainWindow::setActiveWindow().
QStringList Application::workbenches | ( | void | ) | const |
References App::Application::Config().
Referenced by Gui::Dialog::DlgSettingsLazyLoadedImp::buildUnloadedWorkbenchList(), Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), StartGui::DlgStartPreferencesImp::DlgStartPreferencesImp(), Gui::Dialog::DlgWorkbenchesImp::DlgWorkbenchesImp(), Gui::Dialog::DlgWorkbenchesImp::load_enabled_workbenches(), and Gui::WorkbenchGroup::refreshWorkbenchList().
QPixmap Application::workbenchIcon | ( | const QString & | wb | ) | const |
References Gui::BitmapFactoryInst::addPixmapToCache(), Gui::BitmapFactory(), and Gui::BitmapFactoryInst::pixmap().
Referenced by Gui::Dialog::DlgSettingsLazyLoadedImp::buildUnloadedWorkbenchList(), Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), StartGui::DlgStartPreferencesImp::DlgStartPreferencesImp(), and Gui::WorkbenchGroup::slotAddWorkbench().
QString Application::workbenchMenuText | ( | const QString & | wb | ) | const |
QString Application::workbenchToolTip | ( | const QString & | wb | ) | const |
|
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().
|
static |
Referenced by Application().
boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalActivatedObject |
signal on activated Object
Referenced by slotActivatedObject().
boost::signals2::signal<void (const Gui::MDIView*)> Gui::Application::signalActivateView |
signal on activating view
Referenced by StdCmdDrawStyle::StdCmdDrawStyle(), and viewActivated().
boost::signals2::signal<void (const char*)> Gui::Application::signalActivateWorkbench |
signal on activated workbench
Referenced by activateWorkbench(), and Gui::WorkbenchGroup::WorkbenchGroup().
boost::signals2::signal<void (const Gui::Document&)> Gui::Application::signalActiveDocument |
boost::signals2::signal<void (const char*)> Gui::Application::signalAddWorkbench |
signal on added workbench
Referenced by sAddWorkbenchHandler(), and Gui::WorkbenchGroup::WorkbenchGroup().
boost::signals2::signal<void (const Gui::ViewProvider&, const App::Property&)> Gui::Application::signalBeforeChangeObject |
signal on changed Object
Referenced by Gui::ViewProvider::onBeforeChange().
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(), slotChangedObject(), Gui::TaskView::TaskAppearance::TaskAppearance(), and Gui::TreeWidget::TreeWidget().
boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalDeletedObject |
signal on deleted Object
Referenced by Gui::ElementColors::ElementColors(), PartGui::FaceColors::FaceColors(), Gui::PropertyView::PropertyView(), and slotDeletedObject().
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(), slotDeleteDocument(), Gui::TreeWidget::TreeWidget(), and Gui::DAG::View::View().
boost::signals2::signal<void (const Gui::ViewProviderDocumentObject&)> Gui::Application::signalInEdit |
signal on entering in edit mode
Referenced by slotInEdit().
boost::signals2::signal<void (const Gui::Document&, bool)> Gui::Application::signalNewDocument |
signal on new Document
Referenced by Gui::DocumentModel::DocumentModel(), slotNewDocument(), and Gui::TreeWidget::TreeWidget().
boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalNewObject |
signal on new Object
Referenced by slotNewObject().
boost::signals2::signal<void (const Gui::Document&)> Gui::Application::signalRelabelDocument |
signal on relabeling Document
Referenced by Gui::DocumentModel::DocumentModel(), slotRelabelDocument(), and Gui::TreeWidget::TreeWidget().
boost::signals2::signal<void (const Gui::ViewProvider&)> Gui::Application::signalRelabelObject |
signal on renamed Object
Referenced by slotRelabelObject().
boost::signals2::signal<void (const char*)> Gui::Application::signalRemoveWorkbench |
signal on removed workbench
Referenced by sRemoveWorkbenchHandler(), and Gui::WorkbenchGroup::WorkbenchGroup().
boost::signals2::signal<void (const Gui::Document&)> Gui::Application::signalRenameDocument |
signal on renaming Document
Referenced by Gui::DocumentModel::DocumentModel(), slotRenameDocument(), and Gui::TreeWidget::TreeWidget().
boost::signals2::signal<void (const Gui::ViewProviderDocumentObject&)> Gui::Application::signalResetEdit |
signal on leaving edit mode
Referenced by slotResetEdit().
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().
boost::signals2::signal<void (int)> Gui::Application::signalUserEditModeChanged |
signal on changing user edit mode
Referenced by setUserEditMode(), and StdCmdUserEditMode::StdCmdUserEditMode().
Referenced by getUserEditMode(), getUserEditModeName(), and setUserEditMode().
|
protected |
Referenced by getUserEditMode(), getUserEditModeName(), and setUserEditMode().