The Applcation main class This is the central class of the GUI. More...
#include <Application.h>
Public Member Functions | |
Application (bool GUIenabled) | |
construction | |
bool | isClosing (void) |
true when the application shuting down | |
~Application () | |
destruction | |
workbench handling | |
bool | activateWorkbench (const char *name) |
Activate a named workbench. | |
void | setupContextMenu (const char *recipient, MenuItem *) const |
QStringList | workbenches (void) const |
QPixmap | workbenchIcon (const QString &) const |
QString | workbenchMenuText (const QString &) const |
QString | workbenchToolTip (const QString &) const |
methods for View handling | |
void | attachView (Gui::BaseView *pcView) |
Attach a view (get called by the FCView constructor). | |
void | detachView (Gui::BaseView *pcView) |
Detach a view (get called by the FCView destructor). | |
void | onUpdate (void) |
call update to all docuemnts an all views (costly!) | |
bool | sendHasMsgToActiveView (const char *pMsg) |
send Messages test to the active view | |
bool | sendMsgToActiveView (const char *pMsg, const char **ppReturn=0) |
send Messages to the active view | |
void | updateActive (void) |
call update to all views of the active document | |
void | viewActivated (Gui::MDIView *pcView) |
get called if a view gets activated, this manage the whole activation scheme | |
User Commands | |
Gui::CommandManager & | commandManager (void) |
Reference to the command manager. | |
void | createStandardOperations () |
helper which create the commands | |
Gui::MacroManager * | macroManager (void) |
Get macro manager. | |
void | runCommand (bool bForce, const char *sCmd,...) |
Run a Python command. | |
bool | runPythonCode (const char *cmd, bool gui=false, bool pyexc=true) |
methods for support of files | |
void | exportTo (const char *FileName, const char *DocName, const char *Module) |
Export objects from the document DocName to a single file. | |
void | importFrom (const char *FileName, const char *DocName, const char *Module) |
import a file into the document DocName | |
void | open (const char *FileName, const char *Module) |
open a file | |
Static Public Member Functions | |
static PyObject * | sActivateWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sActiveDocument (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sActiveWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sAddCommand (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sAddIcon (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sAddIconPath (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sAddLangPath (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sAddPreferencePage (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sAddResPath (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sAddWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sCreateDialog (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sExport (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sGetDocument (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sGetLocale (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sGetWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sHide (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sHideObject (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sInsert (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sListWorkbenchHandlers (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sOpen (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sRemoveWorkbenchHandler (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sRunCommand (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sSendActiveView (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sShow (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sShowObject (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sUpdateGui (PyObject *self, PyObject *args, PyObject *kwd) |
static PyObject * | sUpdateLocale (PyObject *self, PyObject *args, PyObject *kwd) |
Public Attributes | |
Signals of the Application | |
boost::signal< void(const Gui::ViewProvider &)> | signalActivatedObject |
signal on activated Object | |
boost::signal< void(const Gui::MDIView *) | signalActivateView ) |
signal on activating view | |
boost::signal< void(const char *) | signalActivateWorkbench ) |
signal on activated workbench | |
boost::signal< void(const Gui::Document &)> | signalActiveDocument |
signal on activating Document | |
boost::signal< void(const char *) | signalAddWorkbench ) |
signal on added workbench | |
boost::signal< void(const Gui::ViewProvider &, const App::Property &)> | signalChangedObject |
signal on changed object property | |
boost::signal< void(const Gui::ViewProvider &)> | signalDeletedObject |
signal on deleted Object | |
boost::signal< void(const Gui::Document &)> | signalDeleteDocument |
signal on deleted Document | |
boost::signal< void(const Gui::Document &)> | signalNewDocument |
signal on new Document | |
boost::signal< void(const Gui::ViewProvider &)> | signalNewObject |
signal on new Object | |
boost::signal< void(const Gui::Document &)> | signalRelabelDocument |
signal on relabeling Document | |
boost::signal< void(const char *) | signalRemoveWorkbench ) |
signal on removed workbench | |
boost::signal< void(const Gui::ViewProvider &)> | signalRenamedObject |
signal on renamed Object | |
boost::signal< void(const Gui::Document &)> | signalRenameDocument |
signal on renaming Document | |
Static Public Attributes | |
static PyMethodDef | Methods [] |
Init, Destruct an Access methods | |
| |
static Application * | Instance = 0L |
some kind of singelton | |
void | tryClose (QCloseEvent *e) |
static void | initApplication (void) |
static void | initTypes (void) |
static void | runApplication (void) |
methods for Document handling | |
| |
Gui::Document * | activeDocument (void) const |
Getter for the active document. | |
Gui::Document * | getDocument (const App::Document *pDoc) const |
Retrieves a pointer to the Gui::Document whose App::Document matches to pDoc. | |
Gui::Document * | getDocument (const char *name) const |
Retrieves a pointer to the Gui::Document whose App::Document has the name name. | |
Gui::ViewProvider * | getViewProvider (App::DocumentObject *) const |
Get the view provider of the given object. | |
void | hideViewProvider (App::DocumentObject *) |
Hides the associated view provider of the given object. | |
void | onLastWindowClosed (Gui::Document *pcDoc) |
message when a GuiDocument is about to vanish | |
void | setActiveDocument (Gui::Document *pcDocument) |
Set the active document. | |
void | showViewProvider (App::DocumentObject *) |
Shows the associated view provider of the given object. | |
void | slotActivatedObject (const ViewProvider &) |
void | slotActiveDocument (const App::Document &) |
void | slotChangedObject (const ViewProvider &, const App::Property &Prop) |
void | slotDeletedObject (const ViewProvider &) |
void | slotDeleteDocument (const App::Document &) |
void | slotNewDocument (const App::Document &) |
Observer message from the Application. | |
void | slotNewObject (const ViewProvider &) |
void | slotRelabelDocument (const App::Document &) |
void | slotRenamedObject (const ViewProvider &) |
void | slotRenameDocument (const App::Document &) |
The Applcation main class This is the central class of the GUI.
Definition at line 51 of file Gui/Application.h.
Application::Application | ( | bool | GUIenabled | ) |
construction
Definition at line 310 of file Gui/Application.cpp.
References Gui::Translator::activateLanguage(), draftlibs::fcgeo::bind(), createStandardOperations(), Gui::FreeCADGui_methods, App::GetApplication(), ParameterGrp::GetGroup(), Gui::TaskView::ControlPy::getInstance(), App::Application::GetUserParameter(), Gui::GetWidgetFactorySupplier(), Gui::PythonDebugModule::init_module(), Gui::View3DInventorPy::init_type(), Gui::PythonStdin::init_type(), Gui::OutputStderr::init_type(), Gui::OutputStdout::init_type(), Gui::PythonStderr::init_type(), Gui::PythonStdout::init_type(), Gui::TaskView::ControlPy::init_type(), Gui::SelectionFilterPy::init_type(), Gui::ObjectLabelObserver::instance(), Instance, Gui::Translator::instance(), Base::Interpreter(), Gui::MacroCommand::load(), Gui::SelectionSingleton::Methods, Methods, Py::None(), App::Application::signalActiveDocument, App::Application::signalDeleteDocument, App::Application::signalNewDocument, App::Application::signalRelabelDocument, App::Application::signalRenameDocument, slotActiveDocument(), slotDeleteDocument(), slotNewDocument(), slotRelabelDocument(), slotRenameDocument(), and Py::PythonExtension< SelectionFilterPy >::type_object().
Application::~Application | ( | ) |
destruction
Definition at line 392 of file Gui/Application.cpp.
References Base::Console(), Gui::BitmapFactoryInst::destruct(), Gui::WidgetFactorySupplier::destruct(), Gui::Translator::destruct(), Gui::SelectionSingleton::destruct(), Gui::WorkbenchManager::destruct(), Gui::SoFCDB::finish(), Instance, Base::Interpreter(), and save().
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.
Definition at line 899 of file Gui/Application.cpp.
References Gui::WorkbenchManager::activate(), Gui::Workbench::activated(), Gui::MainWindow::activateWorkbench(), Gui::WorkbenchManager::active(), Py::Callable::apply(), Base::Console(), Gui::WorkbenchManager::createWorkbench(), Gui::Workbench::deactivated(), Py::Object::getAttr(), Gui::getMainWindow(), Gui::Workbench::getPyObject(), Base::PyException::getStackTrace(), Gui::WorkbenchManager::getWorkbench(), Py::Object::hasAttr(), Gui::WorkbenchManager::instance(), draftTools::msg(), Gui::Workbench::name(), RobotExample::pos, Gui::WaitCursor::restoreCursor(), result, Py::Object::setAttr(), Gui::WaitCursor::setWaitCursor(), signalActivateWorkbench, Gui::ApplicationP::startingUp, Py::type(), and Base::Exception::what().
Referenced by runApplication(), and sActivateWorkbenchHandler().
Gui::Document * Application::activeDocument | ( | void | ) | const |
Getter for the active document.
Getter for the active view.
Definition at line 700 of file Gui/Application.cpp.
References Gui::ApplicationP::activeDocument.
Referenced by Gui::Command::abortCommand(), StdCmdMeasureDistance::activated(), StdCmdTreeSelection::activated(), Gui::SelectionSingleton::addSelection(), Gui::Command::adjustCameraPosition(), Gui::Command::commitCommand(), Gui::Dialog::TransformStrategy::commitTransform(), Gui::PointMarker::customEvent(), Gui::MainWindow::customEvent(), Gui::DocumentIndex::data(), Gui::ViewProviderGeometryObject::doubleClicked(), Gui::ViewProviderAnnotationLabel::doubleClicked(), Gui::ViewProvider::eventCallback(), Gui::Command::getActiveGuiDocument(), Gui::Command::getDocument(), importFrom(), StdCmdDrawStyle::isActive(), Gui::Command::isActiveObjectValid(), Gui::Command::isViewOfType(), Gui::Dialog::RedoDialog::onFetchInfo(), Gui::Dialog::UndoDialog::onFetchInfo(), Gui::Command::openCommand(), Gui::SelectionSingleton::rmvPreselect(), sActiveDocument(), Gui::SelectionSingleton::setPreselect(), sHide(), sOpen(), sShow(), RobotGui::TaskTrajectory::TaskTrajectory(), RobotGui::TrajectorySimulate::TrajectorySimulate(), and updateActive().
void Application::attachView | ( | Gui::BaseView * | pcView | ) |
Attach a view (get called by the FCView constructor).
Definition at line 800 of file Gui/Application.cpp.
References Gui::ApplicationP::passive.
Referenced by Gui::BaseView::BaseView().
CommandManager & Application::commandManager | ( | void | ) |
Reference to the command manager.
Definition at line 1222 of file Gui/Application.cpp.
References Gui::ApplicationP::commandManager.
Referenced by Gui::Dialog::DlgCustomToolbarsImp::addCustomCommand(), Gui::MainWindow::changeEvent(), Gui::Dialog::DlgCustomToolbars::changeEvent(), Gui::Dialog::DlgCustomKeyboardImp::changeEvent(), Gui::Dialog::DlgCustomCommandsImp::changeEvent(), Gui::MDITabbar::contextMenuEvent(), Gui::CreateDocCommands(), Gui::CreateFeatCommands(), Gui::CreateMacroCommands(), Gui::MainWindow::createPopupMenu(), Gui::CreateStdCommands(), Gui::CreateTestCommands(), Gui::CreateViewStdCommands(), CreateWebCommands(), Gui::CreateWindowStdCommands(), Gui::Dialog::DlgCustomCommandsImp::DlgCustomCommandsImp(), Gui::Dialog::DlgCustomKeyboardImp::DlgCustomKeyboardImp(), Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::DockWnd::TextBrowser::dropEvent(), Gui::MainWindow::event(), Gui::Dialog::CommandModel::goAddMacro(), Gui::MacroCommand::load(), Gui::Dialog::DlgCustomActionsImp::on_actionListWidget_itemActivated(), Gui::Dialog::DlgCustomActionsImp::on_buttonAddAction_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonAssign_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::DlgCustomToolbars::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged(), Gui::Dialog::DlgCustomKeyboardImp::on_editShortcut_textChanged(), Gui::Dialog::DlgCustomToolbars::onAddMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onAddMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onAddMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onGroupActivated(), Gui::Dialog::DlgCustomToolbars::onModifyMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onModifyMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onModifyMacroAction(), sAddCommand(), Gui::MacroCommand::save(), Gui::ToolBoxManager::setup(), Gui::ToolBarManager::setup(), sRunCommand(), Gui::TaskView::TaskWatcherCommands::TaskWatcherCommands(), and Gui::TaskView::TaskWatcherPython::TaskWatcherPython().
void Application::createStandardOperations | ( | ) |
helper which create the commands
Definition at line 563 of file Gui/Application.cpp.
References Gui::CreateDocCommands(), Gui::CreateFeatCommands(), Gui::CreateMacroCommands(), Gui::CreateStdCommands(), 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).
Definition at line 805 of file Gui/Application.cpp.
References Gui::ApplicationP::passive.
Referenced by Gui::BaseView::onClose().
void Application::exportTo | ( | const char * | FileName, | |
const char * | DocName, | |||
const char * | Module | |||
) |
Export objects from the document DocName to a single file.
Definition at line 519 of file Gui/Application.cpp.
References Gui::MainWindow::appendRecentFile(), Base::FileInfo::extension(), Base::FileInfo::filePath(), App::GetApplication(), App::PropertyContainer::getClassTypeId(), App::Application::getDocument(), Gui::getMainWindow(), App::Document::getObjectsOfType(), Gui::SelectionSingleton::getObjectsOfType(), Base::Exception::ReportException(), Gui::WaitCursor::restoreCursor(), runPythonCode(), Gui::Selection(), 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.
Definition at line 765 of file Gui/Application.cpp.
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.
Definition at line 755 of file Gui/Application.cpp.
References Gui::ApplicationP::documents, App::GetApplication(), and App::Application::getDocument().
Referenced by Gui::Dialog::DlgMacroExecuteImp::accept(), Gui::Dialog::TransformStrategy::acceptDataTransform(), StdCmdDelete::activated(), StdCmdDDuplicateSelection::activated(), Gui::MacroCommand::activated(), Gui::Dialog::TransformStrategy::applyViewTransform(), Gui::TreeWidget::dropEvent(), Gui::Document::exportObjects(), Gui::ViewProviderDocumentObject::findFrontRootOfType(), Gui::ViewProviderDocumentObject::getActiveView(), getViewProvider(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::ViewProviderDocumentObjectGroup::hide(), importFrom(), Gui::MergeDocuments::MergeDocuments(), Gui::TreeWidget::onActivateDocument(), Gui::TreeWidget::onCreateGroup(), Gui::TreeWidget::onFinishEditing(), Gui::TreeWidget::onSelectionChanged(), Gui::TreeWidget::onStartEditing(), open(), Gui::Dialog::TransformStrategy::resetViewTransform(), sGetDocument(), Gui::ViewProviderDocumentObjectGroup::show(), and Gui::ViewProviderDocumentObjectGroup::updateData().
Gui::ViewProvider * Application::getViewProvider | ( | App::DocumentObject * | obj | ) | const |
Get the view provider of the given object.
Definition at line 786 of file Gui/Application.cpp.
References getDocument(), App::DocumentObject::getDocument(), and Gui::Document::getViewProvider().
Referenced by Gui::SoFCUnifiedSelection::doAction(), hideViewProvider(), PartDesignGui::TaskDlgRevolutionParameters::reject(), PartDesignGui::TaskDlgPocketParameters::reject(), PartDesignGui::TaskDlgPadParameters::reject(), PartDesignGui::TaskDlgFilletParameters::reject(), showViewProvider(), and RobotGui::ViewProviderRobotObject::updateData().
void Application::hideViewProvider | ( | App::DocumentObject * | obj | ) |
Hides the associated view provider of the given object.
Definition at line 780 of file Gui/Application.cpp.
References getViewProvider(), and Gui::ViewProvider::hide().
Referenced by sHideObject().
void Application::importFrom | ( | const char * | FileName, | |
const char * | DocName, | |||
const char * | Module | |||
) |
import a file into the document DocName
Definition at line 477 of file Gui/Application.cpp.
References activeDocument(), Gui::Command::App, Gui::MainWindow::appendRecentFile(), Gui::Command::doCommand(), Base::FileInfo::extension(), Base::FileInfo::filePath(), getDocument(), Gui::getMainWindow(), Gui::Command::Gui, Base::FileInfo::hasExtension(), Base::Exception::ReportException(), Gui::WaitCursor::restoreCursor(), Gui::Document::setModified(), and Gui::WaitCursor::setWaitCursor().
Referenced by StdCmdImport::activated(), and Gui::MainWindow::loadUrls().
void Application::initApplication | ( | void | ) | [static] |
Definition at line 1371 of file Gui/Application.cpp.
References App::Application::destructObserver(), FreeCADGuiInit, init_resources(), initTypes(), and messageHandler().
Referenced by initFreeCADGui(), and main().
void Application::initTypes | ( | void | ) | [static] |
Definition at line 1386 of file Gui/Application.cpp.
References Gui::PythonWorkbench::init(), Gui::TestWorkbench::init(), Gui::NoneWorkbench::init(), Gui::BlankWorkbench::init(), Gui::StdWorkbench::init(), Gui::Workbench::init(), Gui::ViewProviderPythonFeatureT< ViewProviderT >::init(), Gui::ViewProviderMeasureDistance::init(), Gui::ViewProviderPointMarker::init(), Gui::ViewProviderAnnotationLabel::init(), Gui::ViewProviderAnnotation::init(), Gui::ViewProviderVRMLObject::init(), Gui::ViewProviderInventorObject::init(), Gui::ViewProviderGeometryObject::init(), Gui::ViewProviderDocumentObjectGroup::init(), Gui::ViewProviderFeature::init(), Gui::ViewProviderDocumentObject::init(), Gui::ViewProviderExtern::init(), Gui::ViewProvider::init(), Gui::View3DInventor::init(), Gui::MDIView::init(), and Gui::BaseView::init().
Referenced by initApplication().
bool Application::isClosing | ( | void | ) |
true when the application shuting down
Definition at line 1212 of file Gui/Application.cpp.
References Gui::ApplicationP::isClosing.
MacroManager * Application::macroManager | ( | void | ) |
Get macro manager.
Definition at line 1217 of file Gui/Application.cpp.
References Gui::ApplicationP::macroMngr.
Referenced by Gui::Dialog::DlgMacroExecuteImp::accept(), StdCmdViewIvIssueCamPos::activated(), StdCmdMacroStopRecord::activated(), Gui::MacroCommand::activated(), Gui::Dialog::DlgMacroRecordImp::DlgMacroRecordImp(), Gui::Command::doCommand(), Gui::PythonEditorView::executeScript(), Gui::Command::invoke(), StdCmdDlgMacroExecute::isActive(), StdCmdMacroStopRecord::isActive(), StdCmdDlgMacroRecord::isActive(), Gui::PythonEditorView::PythonEditorView(), and setActiveDocument().
void Application::onLastWindowClosed | ( | Gui::Document * | pcDoc | ) |
message when a GuiDocument is about to vanish
Definition at line 673 of file Gui/Application.cpp.
References Gui::Command::Doc, Gui::Command::doCommand(), Gui::Document::getDocument(), App::Document::getName(), Gui::ApplicationP::isClosing, and Base::Exception::ReportException().
Referenced by Gui::Document::detachView().
void Application::onUpdate | ( | void | ) |
call update to all docuemnts an all views (costly!)
Definition at line 810 of file Gui/Application.cpp.
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
Definition at line 435 of file Gui/Application.cpp.
References Gui::Command::App, Gui::MainWindow::appendRecentFile(), App::Document::countObjects(), Gui::Command::doCommand(), Base::FileInfo::extension(), Base::FileInfo::filePath(), App::Application::getActiveDocument(), App::GetApplication(), getDocument(), Gui::getMainWindow(), App::Document::getName(), Gui::Command::Gui, Base::FileInfo::hasExtension(), Gui::Document::isModified(), Base::Exception::ReportException(), Gui::WaitCursor::restoreCursor(), sendHasMsgToActiveView(), and Gui::WaitCursor::setWaitCursor().
Referenced by StdCmdOpen::activated(), Gui::RecentFilesAction::activateFile(), and Gui::Dialog::DlgMacroExecuteImp::on_editButton_clicked().
void Application::runApplication | ( | void | ) | [static] |
Definition at line 1502 of file Gui/Application.cpp.
References activateWorkbench(), mach_dist_gui::app, Gui::BitmapFactory(), App::Application::Config(), Base::Console(), App::Application::destructObserver(), App::GetApplication(), App::Application::GetARGC(), App::Application::GetARGV(), Gui::WindowParameter::getDefaultParameter(), App::Application::GetParameterGroupByPath(), Gui::SoFCDB::init(), Gui::GUIApplicationNativeEventAware::initSpaceball(), Instance, Base::Interpreter(), Gui::MainWindow::loadWindowSettings(), App::Application::newDocument(), App::Application::processCmdLineFiles(), px, Base::ScriptFactory(), Sketcher::start, Gui::ApplicationP::startingUp, Gui::MainWindow::startSplasher(), Gui::MainWindow::stopSplasher(), Base::Exception::what(), and workbenches().
Referenced by main().
void Application::runCommand | ( | bool | bForce, | |
const char * | sCmd, | |||
... | ||||
) |
Run a Python command.
Definition at line 1227 of file Gui/Application.cpp.
References Gui::MacroManager::addLine(), Gui::MacroManager::Base, format, format_len, boost::numeric::bindings::umfpack::free(), Gui::MacroManager::Gui, Base::Interpreter(), and Gui::ApplicationP::macroMngr.
bool Application::runPythonCode | ( | const char * | cmd, | |
bool | gui = false , |
|||
bool | pyexc = true | |||
) |
Definition at line 1254 of file Gui/Application.cpp.
References Gui::MacroManager::addLine(), Gui::MacroManager::Base, Base::Console(), Base::PyException::getStackTrace(), Gui::MacroManager::Gui, Base::Interpreter(), Gui::ApplicationP::macroMngr, and Base::Exception::ReportException().
Referenced by PartGui::CrossSections::apply(), Gui::TreeWidget::dropEvent(), exportTo(), Gui::TreeWidget::onCreateGroup(), and Gui::PropertyEditor::PropertyItem::setPropertyValue().
PyObject * Application::sActivateWorkbenchHandler | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 459 of file Gui/ApplicationPy.cpp.
References activateWorkbench(), and Instance.
PyObject * Gui::Application::sActiveDocument | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 133 of file Gui/ApplicationPy.cpp.
References activeDocument(), Gui::Document::getPyObject(), Instance, and Py_Return.
PyObject * Application::sActiveWorkbenchHandler | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 579 of file Gui/ApplicationPy.cpp.
References Gui::WorkbenchManager::active(), Instance, Gui::WorkbenchManager::instance(), and Gui::Workbench::name().
Definition at line 692 of file Gui/ApplicationPy.cpp.
References Gui::CommandManager::addCommand(), Py::Exception::clear(), commandManager(), Py::Module::getDict(), Py::MapBase< T >::getItem(), Instance, and RobotExample::pos.
Definition at line 655 of file Gui/ApplicationPy.cpp.
References Gui::BitmapFactoryInst::addPixmapToCache(), Gui::BitmapFactory(), DrawingExample::file, and Py::int.
Definition at line 638 of file Gui/ApplicationPy.cpp.
References Gui::BitmapFactoryInst::addPath(), Gui::BitmapFactory(), and App::GetApplication().
Definition at line 621 of file Gui/ApplicationPy.cpp.
References Gui::Translator::addPath(), App::GetApplication(), and Gui::Translator::instance().
PyObject * Application::sAddPreferencePage | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 440 of file Gui/ApplicationPy.cpp.
Definition at line 603 of file Gui/ApplicationPy.cpp.
References Gui::Translator::addPath(), Gui::BitmapFactoryInst::addPath(), Gui::BitmapFactory(), App::GetApplication(), and Gui::Translator::instance().
PyObject * Application::sAddWorkbenchHandler | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 478 of file Gui/ApplicationPy.cpp.
References Py::Callable::apply(), Py::String::as_std_string(), Py::Object::getAttr(), Instance, and signalAddWorkbench.
Definition at line 421 of file Gui/ApplicationPy.cpp.
References Base::Exception::what().
bool Application::sendHasMsgToActiveView | ( | const char * | pMsg | ) |
send Messages test to the active view
Definition at line 693 of file Gui/Application.cpp.
References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), and Gui::MDIView::onHasMsg().
Referenced by StdCmdViewIvIssueCamPos::isActive(), StdCmdViewIvStereoInterleavedColumns::isActive(), StdCmdViewIvStereoInterleavedRows::isActive(), StdCmdViewIvStereoQuadBuff::isActive(), StdCmdViewIvStereoRedGreen::isActive(), StdCmdViewIvStereoOff::isActive(), StdCmdViewExample3::isActive(), StdCmdViewExample2::isActive(), StdCmdViewExample1::isActive(), StdCmdViewFitSelection::isActive(), StdCmdViewFitAll::isActive(), StdCmdToggleBreakpoint::isActive(), StdCmdMacroStartDebug::isActive(), StdCmdDlgMacroExecuteDirect::isActive(), StdCmdCut::isActive(), StdCmdRedo::isActive(), StdCmdUndo::isActive(), StdCmdPrintPdf::isActive(), StdCmdPrintPreview::isActive(), StdCmdPrint::isActive(), StdCmdSaveAs::isActive(), StdCmdSave::isActive(), CmdWebBrowserZoomOut::isActive(), CmdWebBrowserZoomIn::isActive(), CmdWebBrowserStop::isActive(), CmdWebBrowserRefresh::isActive(), CmdWebBrowserNext::isActive(), CmdWebBrowserBack::isActive(), open(), Gui::Document::RestoreDocFile(), and Gui::Document::SaveDocFile().
bool Application::sendMsgToActiveView | ( | const char * | pMsg, | |
const char ** | ppReturn = 0 | |||
) |
send Messages to the active view
Definition at line 687 of file Gui/Application.cpp.
References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), and Gui::MDIView::onMsg().
Referenced by StdCmdViewIvIssueCamPos::activated(), StdCmdFreezeViews::activated(), StdCmdPaste::activated(), StdCmdCopy::activated(), StdCmdCut::activated(), StdCmdRedo::activated(), StdCmdUndo::activated(), Gui::Dialog::RedoDialog::onSelected(), Gui::Dialog::UndoDialog::onSelected(), Gui::Document::RestoreDocFile(), Gui::Document::SaveDocFile(), and sSendActiveView().
void Application::setActiveDocument | ( | Gui::Document * | pcDocument | ) |
Set the active document.
Definition at line 705 of file Gui/Application.cpp.
References Gui::ApplicationP::activeDocument, Gui::MacroManager::addLine(), Base::Console(), Gui::Document::getDocument(), App::Document::getName(), Gui::MacroManager::Gui, Base::Interpreter(), macroManager(), Gui::ApplicationP::passive, and Base::Exception::what().
Referenced by slotDeleteDocument(), and viewActivated().
void Application::setupContextMenu | ( | const char * | recipient, | |
MenuItem * | items | |||
) | const |
Definition at line 1179 of file Gui/Application.cpp.
References Gui::WorkbenchManager::active(), Py::String::as_std_string(), Py::Exception::clear(), Py::Object::getAttr(), Gui::PythonWorkbench::getClassTypeId(), Gui::Workbench::getTypeId(), Gui::WorkbenchManager::instance(), Base::Type::isDerivedFrom(), Py::Object::isString(), Gui::Workbench::name(), Gui::Workbench::setupContextMenu(), and Py::type().
Referenced by Gui::TreeWidget::contextMenuEvent(), and Gui::NavigationStyle::openPopupMenu().
Definition at line 332 of file Gui/ApplicationPy.cpp.
References Py::SeqBase< T >::begin(), macros::cmd, Py::SeqBase< T >::end(), Mesh2Shape::ext, draftlibs::dxfReader::filename, App::DocumentObject::getDocument(), App::Document::getName(), Base::Interpreter(), PY_CATCH, Py_Return, PY_TRY, and App::DocumentObjectPy::Type.
Definition at line 146 of file Gui/ApplicationPy.cpp.
References getDocument(), Gui::Document::getPyObject(), and Instance.
Definition at line 412 of file Gui/ApplicationPy.cpp.
References Gui::Translator::activeLanguage(), and Gui::Translator::instance().
PyObject * Application::sGetWorkbenchHandler | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 556 of file Gui/ApplicationPy.cpp.
References Instance.
Definition at line 161 of file Gui/ApplicationPy.cpp.
References activeDocument(), Instance, Py_Return, and Gui::Document::setHide().
Definition at line 189 of file Gui/ApplicationPy.cpp.
References hideViewProvider(), Instance, Py_Return, and App::DocumentObjectPy::Type.
void Application::showViewProvider | ( | App::DocumentObject * | obj | ) |
Shows the associated view provider of the given object.
Definition at line 774 of file Gui/Application.cpp.
References getViewProvider(), and Gui::ViewProvider::show().
Referenced by sShowObject().
Definition at line 272 of file Gui/ApplicationPy.cpp.
References App::Document::addObject(), Gui::MainWindow::addWindow(), Gui::BitmapFactory(), Mesh2Shape::ext, App::Application::getActiveDocument(), App::GetApplication(), App::Application::getDocument(), Gui::getMainWindow(), App::PropertyContainer::getPropertyByName(), App::DocumentObject::Label, App::Application::newDocument(), Gui::EditorView::open(), PY_CATCH, Py_Return, PY_TRY, and App::Document::recompute().
PyObject * Application::sListWorkbenchHandlers | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 573 of file Gui/ApplicationPy.cpp.
References Instance.
void Application::slotActivatedObject | ( | const ViewProvider & | vp | ) | [protected] |
Definition at line 668 of file Gui/Application.cpp.
References signalActivatedObject.
Referenced by slotNewDocument().
void Application::slotActiveDocument | ( | const App::Document & | Doc | ) | [protected] |
Definition at line 640 of file Gui/Application.cpp.
References Gui::ApplicationP::documents, and signalActiveDocument.
Referenced by Application().
void Application::slotChangedObject | ( | const ViewProvider & | vp, | |
const App::Property & | Prop | |||
) | [protected] |
Definition at line 658 of file Gui/Application.cpp.
References signalChangedObject.
Referenced by slotNewDocument().
void Application::slotDeletedObject | ( | const ViewProvider & | vp | ) | [protected] |
Definition at line 653 of file Gui/Application.cpp.
References signalDeletedObject.
Referenced by slotNewDocument().
void Application::slotDeleteDocument | ( | const App::Document & | Doc | ) | [protected] |
Definition at line 597 of file Gui/Application.cpp.
References Gui::ApplicationP::activeDocument, Gui::SelectionSingleton::clearSelection(), Base::Console(), Gui::ApplicationP::documents, App::Document::getName(), Gui::Selection(), setActiveDocument(), and signalDeleteDocument.
Referenced by Application().
void Application::slotNewDocument | ( | const App::Document & | Doc | ) | [protected] |
Observer message from the Application.
Definition at line 575 of file Gui/Application.cpp.
References draftlibs::fcgeo::bind(), Gui::ApplicationP::documents, signalNewDocument, slotActivatedObject(), slotChangedObject(), slotDeletedObject(), slotNewObject(), and slotRenamedObject().
Referenced by Application().
void Application::slotNewObject | ( | const ViewProvider & | vp | ) | [protected] |
Definition at line 648 of file Gui/Application.cpp.
References signalNewObject.
Referenced by slotNewDocument().
void Application::slotRelabelDocument | ( | const App::Document & | Doc | ) | [protected] |
Definition at line 619 of file Gui/Application.cpp.
References Gui::ApplicationP::documents, and signalRelabelDocument.
Referenced by Application().
void Application::slotRenamedObject | ( | const ViewProvider & | vp | ) | [protected] |
Definition at line 663 of file Gui/Application.cpp.
References signalRenamedObject.
Referenced by slotNewDocument().
void Application::slotRenameDocument | ( | const App::Document & | Doc | ) | [protected] |
Definition at line 630 of file Gui/Application.cpp.
References Gui::ApplicationP::documents, and signalRenameDocument.
Referenced by Application().
Definition at line 213 of file Gui/ApplicationPy.cpp.
References activeDocument(), Gui::MainWindow::addWindow(), Gui::BitmapFactory(), macros::cmd, Mesh2Shape::ext, App::GetApplication(), Gui::getMainWindow(), Instance, Base::Interpreter(), App::Application::newDocument(), Gui::EditorView::open(), PY_CATCH, Py_Return, and PY_TRY.
PyObject * Application::sRemoveWorkbenchHandler | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 536 of file Gui/ApplicationPy.cpp.
References Gui::WorkbenchManager::instance(), Instance, Gui::WorkbenchManager::removeWorkbench(), and signalRemoveWorkbench.
Definition at line 734 of file Gui/ApplicationPy.cpp.
References macros::cmd, commandManager(), Gui::CommandManager::getCommandByName(), Instance, and Gui::Command::invoke().
PyObject * Application::sSendActiveView | ( | PyObject * | self, | |
PyObject * | args, | |||
PyObject * | kwd | |||
) | [static] |
Definition at line 371 of file Gui/ApplicationPy.cpp.
References Base::Console(), Instance, and sendMsgToActiveView().
Definition at line 175 of file Gui/ApplicationPy.cpp.
References activeDocument(), Instance, Py_Return, and Gui::Document::setShow().
Definition at line 201 of file Gui/ApplicationPy.cpp.
References Instance, Py_Return, showViewProvider(), and App::DocumentObjectPy::Type.
Definition at line 390 of file Gui/ApplicationPy.cpp.
Definition at line 401 of file Gui/ApplicationPy.cpp.
References Gui::Translator::instance(), and Gui::Translator::refresh().
void Application::tryClose | ( | QCloseEvent * | e | ) |
Definition at line 843 of file Gui/Application.cpp.
References Gui::MDIView::canClose(), App::Application::closeDocument(), Gui::ApplicationP::documents, App::GetApplication(), Gui::ApplicationP::isClosing, and Gui::ApplicationP::passive.
Referenced by Gui::MainWindow::closeEvent().
void Application::updateActive | ( | void | ) |
call update to all views of the active document
Definition at line 838 of file Gui/Application.cpp.
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.
Definition at line 822 of file Gui/Application.cpp.
References Base::Console(), Gui::BaseView::getGuiDocument(), Gui::BaseView::isPassive(), setActiveDocument(), and signalActivateView.
Referenced by Gui::MainWindow::setActiveWindow().
QStringList Application::workbenches | ( | void | ) | const |
Definition at line 1130 of file Gui/Application.cpp.
References App::Application::Config(), RobotExample::pos, Sketcher::start, and Py::value().
Referenced by Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), Gui::WorkbenchGroup::refreshWorkbenchList(), and runApplication().
QPixmap Application::workbenchIcon | ( | const QString & | wb | ) | const |
Definition at line 1015 of file Gui/Application.cpp.
References Gui::BitmapFactoryInst::addPixmapToCache(), Py::String::as_std_string(), Gui::BitmapFactory(), buffer, Py::Exception::clear(), DrawingExample::file, Py::Object::getAttr(), Py::int, and Gui::BitmapFactoryInst::pixmap().
Referenced by Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), Gui::WorkbenchGroup::refreshWorkbenchList(), and Gui::WorkbenchGroup::slotAddWorkbench().
QString Application::workbenchMenuText | ( | const QString & | wb | ) | const |
Definition at line 1105 of file Gui/Application.cpp.
References Py::String::as_std_string(), Py::Exception::clear(), Py::Object::getAttr(), and Py::Object::isString().
Referenced by Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), Gui::WorkbenchGroup::refreshWorkbenchList(), and Gui::WorkbenchGroup::slotAddWorkbench().
QString Application::workbenchToolTip | ( | const QString & | wb | ) | const |
Definition at line 1081 of file Gui/Application.cpp.
References Py::String::as_std_string(), Py::Exception::clear(), Py::Object::getAttr(), and Py::Object::isString().
Referenced by Gui::WorkbenchGroup::refreshWorkbenchList(), and Gui::WorkbenchGroup::slotAddWorkbench().
Application * Application::Instance = 0L [static] |
some kind of singelton
Definition at line 188 of file Gui/Application.h.
Referenced by Gui::Command::abortCommand(), InspectionGui::VisualInspection::accept(), PartGui::LoftWidget::accept(), PartGui::FaceColors::accept(), RobotGui::TaskDlgTrajectoryDressUp::accept(), RobotGui::TaskDlgTrajectoryCompound::accept(), RobotGui::TaskDlgEdge2Trac::accept(), DrawingGui::TaskProjection::accept(), PartDesignGui::ChamferWidget::accept(), PartGui::Mirroring::accept(), PartGui::DlgRevolution::accept(), PartGui::DlgPrimitives::accept(), Gui::Dialog::DlgMacroExecuteImp::accept(), PartGui::DlgFilletEdges::accept(), Gui::Dialog::TransformStrategy::acceptDataTransform(), StdCmdMeasureDistance::activated(), StdCmdTreeSelection::activated(), StdCmdDelete::activated(), StdCmdDDuplicateSelection::activated(), CmdShapeInfo::activated(), CmdPartExport::activated(), CmdMeshFillInteractiveHole::activated(), CmdMeshRemoveCompByHand::activated(), CmdMeshEvaluateFacet::activated(), CmdMeshAddFacet::activated(), CmdMeshVertexCurvatureInfo::activated(), CmdInspectElement::activated(), Gui::MacroCommand::activated(), Gui::RecentFilesAction::activateFile(), Gui::Dialog::DlgCustomToolbarsImp::addCustomCommand(), Gui::SelectionSingleton::addSelection(), Gui::Command::adjustCameraPosition(), Application(), PartGui::DlgExtrusion::apply(), PartGui::CrossSections::apply(), Gui::Dialog::TransformStrategy::applyViewTransform(), Gui::BaseView::BaseView(), Gui::MainWindow::changeEvent(), Gui::Dialog::DlgCustomToolbars::changeEvent(), Gui::Dialog::DlgCustomKeyboardImp::changeEvent(), Gui::Dialog::DlgCustomCommandsImp::changeEvent(), MeshGui::ViewProviderMesh::clipMeshCallback(), Gui::MainWindow::closeEvent(), Gui::Command::commitCommand(), Gui::Dialog::TransformStrategy::commitTransform(), Gui::TreeWidget::contextMenuEvent(), Gui::MDITabbar::contextMenuEvent(), CreateAssemblyCommands(), CreateCamCommands(), CreateCompleteCommands(), Gui::CreateDocCommands(), CreateDrawingCommands(), Gui::CreateFeatCommands(), CreateFemCommands(), CreateImageCommands(), CreateImportCommands(), CreateInspectionCommands(), Gui::CreateMacroCommands(), CreateMeshCommands(), CreateMeshPartCommands(), CreateParamPartCommands(), CreatePartCommands(), CreatePartDesignCommands(), CreatePointsCommands(), Gui::MainWindow::createPopupMenu(), CreateRaytracingCommands(), CreateReverseEngineeringCommands(), CreateRobotCommands(), CreateRobotCommandsExport(), CreateRobotCommandsInsertRobots(), CreateRobotCommandsTrajectory(), CreateSandboxCommands(), CreateSimplePartCommands(), CreateSketcherCommands(), CreateSketcherCommandsAlterGeo(), CreateSketcherCommandsConstraints(), CreateSketcherCommandsCreateGeo(), CreateStartCommands(), Gui::CreateStdCommands(), Gui::CreateTestCommands(), Gui::CreateViewStdCommands(), CreateWebCommands(), Gui::CreateWindowStdCommands(), PartGui::CrossSections::CrossSections(), Gui::PointMarker::customEvent(), Gui::MainWindow::customEvent(), PointsGui::ViewProviderPoints::cut(), Gui::DocumentIndex::data(), MeshGui::RemoveComponents::deleteSelection(), Gui::Dialog::DlgCustomCommandsImp::DlgCustomCommandsImp(), Gui::Dialog::DlgCustomKeyboardImp::DlgCustomKeyboardImp(), Gui::Dialog::DlgCustomToolbars::DlgCustomToolbars(), Gui::Dialog::DlgDisplayPropertiesImp::DlgDisplayPropertiesImp(), Gui::Dialog::DlgGeneralImp::DlgGeneralImp(), Gui::Dialog::DlgMacroRecordImp::DlgMacroRecordImp(), Gui::SoFCUnifiedSelection::doAction(), Gui::Command::doCommand(), Gui::DocumentModel::DocumentModel(), SketcherGui::ViewProviderSketch::doubleClicked(), Gui::ViewProviderGeometryObject::doubleClicked(), Gui::ViewProviderAnnotationLabel::doubleClicked(), SketcherGui::ViewProviderSketch::draw(), Gui::TreeWidget::dropEvent(), Gui::DockWnd::TextBrowser::dropEvent(), Gui::MainWindow::event(), Gui::ViewProvider::eventCallback(), SketcherGui::EditDatumDialog::exec(), Gui::PythonEditorView::executeScript(), exporter(), Gui::Document::exportObjects(), MeshGui::ViewProviderMesh::fillHole(), Gui::ViewProviderDocumentObject::findFrontRootOfType(), PartGui::DlgExtrusion::findShapes(), FreeCADGui_setupWithoutGUI(), Gui::ViewProviderDocumentObject::getActiveView(), Gui::Command::getGuiApplication(), InspectionGui::ViewProviderInspection::getIcon(), SketcherGui::ViewProviderSketch::getScaleFactor(), SketcherGui::SoZoomTranslation::getScaleFactor(), Gui::ViewProviderDocumentObjectGroup::getViewProviders(), Gui::Dialog::CommandModel::goAddMacro(), Gui::ViewProviderDocumentObjectGroup::hide(), initAssemblyGui(), initCamGui(), initCompleteGui(), initDrawingGui(), initFemGui(), initImageGui(), initImportGui(), initInspectionGui(), initMeshGui(), initMeshPartGui(), initPartDesignGui(), initPartGui(), initPointsGui(), initRaytracingGui(), initReverseEngineeringGui(), initRobotGui(), initSandboxGui(), initSketcherGui(), initStartGui(), initWebGui(), MeshGui::RemoveComponents::invertSelection(), StdCmdDrawStyle::isActive(), Gui::Command::isActiveObjectValid(), SketcherGui::ViewProviderSketch::isConstraintAtPosition(), Gui::MacroCommand::load(), Gui::MainWindow::loadUrls(), PartGui::LoftWidget::LoftWidget(), MeshGui::ViewProviderMesh::markPartCallback(), Gui::MergeDocuments::MergeDocuments(), SketcherGui::ViewProviderSketch::mouseButtonPressed(), Gui::TreeView::mouseDoubleClickEvent(), Gui::Dialog::DlgCustomActionsImp::on_actionListWidget_itemActivated(), Gui::Dialog::DlgCustomActionsImp::on_buttonAddAction_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_buttonAssign_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::DlgCustomToolbars::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_categoryBox_activated(), Gui::Dialog::DlgCustomKeyboardImp::on_commandTreeWidget_currentItemChanged(), MeshGui::DlgRegularSolidImp::on_createSolidButton_clicked(), MeshGui::RemoveComponents::on_deselectAll_clicked(), MeshGui::RemoveComponents::on_deselectComponents_clicked(), Gui::Dialog::DlgMacroExecuteImp::on_editButton_clicked(), Gui::Dialog::DlgCustomKeyboardImp::on_editShortcut_textChanged(), 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(), MeshGui::RemoveComponents::on_selectAll_clicked(), MeshGui::RemoveComponents::on_selectComponents_clicked(), CamGui::Cutting::on_SelectFace_button_clicked(), CamGui::Cutting::on_toolpath_calculation_highest_level_button_clicked(), CamGui::Cutting::on_toolpath_calculation_lowest_level_button_clicked(), CamGui::Cutting::on_toolpath_calculation_middle_level_button_clicked(), Gui::TreeWidget::onActivateDocument(), Gui::Dialog::DlgCustomToolbars::onAddMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onAddMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onAddMacroAction(), Gui::ViewProvider::onChanged(), Gui::BaseView::onClose(), Gui::TreeWidget::onCreateGroup(), PartDesignGui::ViewProviderRevolution::onDelete(), PartDesignGui::ViewProviderPocket::onDelete(), PartDesignGui::ViewProviderPad::onDelete(), PartDesignGui::ViewProviderFillet::onDelete(), Gui::Dialog::RedoDialog::onFetchInfo(), Gui::Dialog::UndoDialog::onFetchInfo(), Gui::TreeWidget::onFinishEditing(), Gui::Dialog::DlgCustomCommandsImp::onGroupActivated(), Gui::Dialog::DlgCustomToolbars::onModifyMacroAction(), Gui::Dialog::DlgCustomKeyboardImp::onModifyMacroAction(), Gui::Dialog::DlgCustomCommandsImp::onModifyMacroAction(), Gui::Dialog::RedoDialog::onSelected(), Gui::Dialog::UndoDialog::onSelected(), Gui::TreeWidget::onSelectionChanged(), Gui::TreeWidget::onStartEditing(), Gui::Command::openCommand(), Gui::NavigationStyle::openPopupMenu(), MeshGui::ViewProviderMesh::partMeshCallback(), povViewCamera(), Gui::PythonEditorView::PythonEditorView(), Gui::WorkbenchGroup::refreshWorkbenchList(), PartDesignGui::TaskDlgRevolutionParameters::reject(), PartDesignGui::TaskDlgPocketParameters::reject(), PartDesignGui::TaskDlgPadParameters::reject(), PartDesignGui::TaskDlgFilletParameters::reject(), PartGui::FaceColors::reject(), RobotGui::TaskDlgTrajectoryDressUp::reject(), RobotGui::TaskDlgTrajectoryCompound::reject(), Gui::Dialog::TransformStrategy::resetViewTransform(), Gui::SelectionSingleton::rmvPreselect(), runApplication(), sActivateWorkbenchHandler(), sActiveDocument(), sActiveWorkbenchHandler(), sAddCommand(), sAddWorkbenchHandler(), Gui::MacroCommand::save(), MeshGui::DlgSettingsMeshView::saveSettings(), PartGui::DlgSettings3DViewPart::saveSettings(), MeshGui::ViewProviderMesh::segmMeshCallback(), Gui::MainWindow::setActiveWindow(), Gui::SelectionSingleton::setPreselect(), Gui::PropertyEditor::PropertyItem::setPropertyValue(), Gui::ToolBoxManager::setup(), Gui::ToolBarManager::setup(), PartGui::DlgFilletEdges::setupFillet(), setupMainWindow(), CompleteGui::Workbench::setupMenuBar(), CompleteGui::Workbench::setupToolBars(), sGetDocument(), sGetWorkbenchHandler(), PartGui::ShapeBuilderWidget::ShapeBuilderWidget(), sHide(), sHideObject(), Gui::ViewProviderDocumentObjectGroup::show(), sListWorkbenchHandlers(), Gui::WorkbenchGroup::slotAddWorkbench(), sOpen(), sRemoveWorkbenchHandler(), sRunCommand(), sSendActiveView(), sShow(), sShowObject(), Gui::TaskView::TaskAppearance::TaskAppearance(), RobotGui::TaskTrajectory::TaskTrajectory(), Gui::TaskView::TaskWatcherCommands::TaskWatcherCommands(), Gui::TaskView::TaskWatcherPython::TaskWatcherPython(), RobotGui::TrajectorySimulate::TrajectorySimulate(), Gui::TreeWidget::TreeWidget(), Gui::Command::updateAll(), RobotGui::ViewProviderRobotObject::updateData(), Gui::ViewProviderDocumentObjectGroup::updateData(), MeshGui::ViewProviderMeshCurvature::updateData(), InspectionGui::VisualInspection::VisualInspection(), Gui::WorkbenchGroup::WorkbenchGroup(), and ~Application().
PyMethodDef Application::Methods [static] |
Definition at line 232 of file Gui/Application.h.
Referenced by Application().
boost::signal<void (const Gui::ViewProvider&)> Gui::Application::signalActivatedObject |
signal on activated Object
Definition at line 109 of file Gui/Application.h.
Referenced by slotActivatedObject().
boost::signal<void (const Gui::MDIView*) Gui::Application::signalActivateView) |
signal on activating view
Definition at line 117 of file Gui/Application.h.
Referenced by viewActivated().
boost::signal<void (const char*) Gui::Application::signalActivateWorkbench) |
signal on activated workbench
Definition at line 111 of file Gui/Application.h.
Referenced by activateWorkbench(), and Gui::WorkbenchGroup::WorkbenchGroup().
boost::signal<void (const Gui::Document&)> Gui::Application::signalActiveDocument |
signal on activating Document
Definition at line 99 of file Gui/Application.h.
Referenced by Gui::DocumentModel::DocumentModel(), slotActiveDocument(), and Gui::TreeWidget::TreeWidget().
boost::signal<void (const char*) Gui::Application::signalAddWorkbench) |
signal on added workbench
Definition at line 113 of file Gui/Application.h.
Referenced by sAddWorkbenchHandler(), and Gui::WorkbenchGroup::WorkbenchGroup().
boost::signal<void (const Gui::ViewProvider&, const App::Property&)> Gui::Application::signalChangedObject |
signal on changed object property
Definition at line 105 of file Gui/Application.h.
Referenced by Gui::Dialog::DlgDisplayPropertiesImp::DlgDisplayPropertiesImp(), Gui::ViewProvider::onChanged(), slotChangedObject(), and Gui::TaskView::TaskAppearance::TaskAppearance().
boost::signal<void (const Gui::ViewProvider&)> Gui::Application::signalDeletedObject |
signal on deleted Object
Definition at line 103 of file Gui/Application.h.
Referenced by slotDeletedObject().
boost::signal<void (const Gui::Document&)> Gui::Application::signalDeleteDocument |
signal on deleted Document
Definition at line 93 of file Gui/Application.h.
Referenced by Gui::DocumentModel::DocumentModel(), slotDeleteDocument(), and Gui::TreeWidget::TreeWidget().
boost::signal<void (const Gui::Document&)> Gui::Application::signalNewDocument |
signal on new Document
Definition at line 91 of file Gui/Application.h.
Referenced by Gui::DocumentModel::DocumentModel(), slotNewDocument(), and Gui::TreeWidget::TreeWidget().
boost::signal<void (const Gui::ViewProvider&)> Gui::Application::signalNewObject |
signal on new Object
Definition at line 101 of file Gui/Application.h.
Referenced by slotNewObject().
boost::signal<void (const Gui::Document&)> Gui::Application::signalRelabelDocument |
signal on relabeling Document
Definition at line 95 of file Gui/Application.h.
Referenced by Gui::DocumentModel::DocumentModel(), slotRelabelDocument(), and Gui::TreeWidget::TreeWidget().
boost::signal<void (const char*) Gui::Application::signalRemoveWorkbench) |
signal on removed workbench
Definition at line 115 of file Gui/Application.h.
Referenced by sRemoveWorkbenchHandler(), and Gui::WorkbenchGroup::WorkbenchGroup().
boost::signal<void (const Gui::ViewProvider&)> Gui::Application::signalRenamedObject |
signal on renamed Object
Definition at line 107 of file Gui/Application.h.
Referenced by slotRenamedObject().
boost::signal<void (const Gui::Document&)> Gui::Application::signalRenameDocument |
signal on renaming Document
Definition at line 97 of file Gui/Application.h.
Referenced by Gui::DocumentModel::DocumentModel(), slotRenameDocument(), and Gui::TreeWidget::TreeWidget().