diff --git a/src/Mod/Complete/App/AppComplete.cpp b/src/Mod/Complete/App/AppComplete.cpp deleted file mode 100644 index 4d5a45e6e3..0000000000 --- a/src/Mod/Complete/App/AppComplete.cpp +++ /dev/null @@ -1,95 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif - -#include -#include - -#include -#include -#include - -#include "CompleteConfiguration.h" - -namespace Complete { -class Module : public Py::ExtensionModule -{ -public: - Module() : Py::ExtensionModule("Complete") - { - initialize("This module is the Complete module."); // register with Python - } - - virtual ~Module() {} - -private: -}; - -PyObject* initModule() -{ - return (new Module)->module().ptr(); -} - -} // namespace Complete - - -/* Python entry */ -PyMOD_INIT_FUNC(Complete) -{ - // load dependent module - try { - Base::Interpreter().loadModule("Part"); - Base::Interpreter().loadModule("Mesh"); - Base::Interpreter().loadModule("Points"); - //Base::Interpreter().loadModule("MeshPart"); - //Base::Interpreter().loadModule("Assembly"); - Base::Interpreter().loadModule("Drawing"); - Base::Interpreter().loadModule("Raytracing"); -# ifdef COMPLETE_SHOW_SKETCHER - Base::Interpreter().loadModule("Sketcher"); -# endif - Base::Interpreter().loadModule("PartDesign"); - Base::Interpreter().loadModule("Image"); - //Base::Interpreter().loadModule("Cam"); -# ifdef COMPLETE_USE_DRAFTING - try { - Base::Interpreter().loadModule("Draft"); - } - catch (const Base::Exception& e) { - // If called from console then issue a message but don't stop with an error - PySys_WriteStdout("Import error: %s\n", e.what()); - } -# endif - } - catch(const Base::Exception& e) { - PyErr_SetString(PyExc_ImportError, e.what()); - PyMOD_Return(0); - } - PyObject* mod = Complete::initModule(); - Base::Console().Log("Loading Complete module... done\n"); - PyMOD_Return(mod); -} diff --git a/src/Mod/Complete/App/CMakeLists.txt b/src/Mod/Complete/App/CMakeLists.txt deleted file mode 100644 index 324315831f..0000000000 --- a/src/Mod/Complete/App/CMakeLists.txt +++ /dev/null @@ -1,35 +0,0 @@ -if(WIN32) -endif(WIN32) - -include_directories( - ${Boost_INCLUDE_DIRS} - ${OCC_INCLUDE_DIR} - ${ZLIB_INCLUDE_DIR} - ${PYTHON_INCLUDE_DIRS} - ${XercesC_INCLUDE_DIRS} -) - -set(Complete_LIBS - FreeCADApp -) - -SET(Complete_SRCS - AppComplete.cpp - PreCompiled.cpp - PreCompiled.h - CompleteConfiguration.h -) - -add_library(Complete SHARED ${Complete_SRCS}) -target_link_libraries(Complete ${Complete_LIBS}) - - -fc_target_copy_resource(Complete - ${CMAKE_SOURCE_DIR}/src/Mod/Complete - ${CMAKE_BINARY_DIR}/Mod/Complete - Init.py) - -SET_BIN_DIR(Complete Complete /Mod/Complete) -SET_PYTHON_PREFIX_SUFFIX(Complete) - -INSTALL(TARGETS Complete DESTINATION ${CMAKE_INSTALL_LIBDIR}) diff --git a/src/Mod/Complete/App/CompleteConfiguration.h b/src/Mod/Complete/App/CompleteConfiguration.h deleted file mode 100644 index e6ea0cfab9..0000000000 --- a/src/Mod/Complete/App/CompleteConfiguration.h +++ /dev/null @@ -1,42 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#ifndef COMPLETE_CONFIGURATION_H -#define COMPLETE_CONFIGURATION_H - -#include - -// Exporting of App classes -#ifdef FC_OS_WIN32 -# define COMPLETE_SHOW_SKETCHER -# define COMPLETE_USE_DRAFTING -#else // for Linux -# define COMPLETE_SHOW_SKETCHER -# define COMPLETE_USE_DRAFTING -#endif - - - - -#endif - diff --git a/src/Mod/Complete/App/PreCompiled.cpp b/src/Mod/Complete/App/PreCompiled.cpp deleted file mode 100644 index 46269e9671..0000000000 --- a/src/Mod/Complete/App/PreCompiled.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#include "PreCompiled.h" diff --git a/src/Mod/Complete/App/PreCompiled.h b/src/Mod/Complete/App/PreCompiled.h deleted file mode 100644 index 32dfe7f3f0..0000000000 --- a/src/Mod/Complete/App/PreCompiled.h +++ /dev/null @@ -1,58 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#ifndef COMPLETE_PRECOMPILED_H -#define COMPLETE_PRECOMPILED_H - -#include - -// Exporting of App classes -#ifdef FC_OS_WIN32 -# define AppCompleteExport __declspec(dllexport) -# define PartExport __declspec(dllimport) -# define MeshExport __declspec(dllimport) -#else // for Linux -# define AppCompleteExport -# define PartExport -# define MeshExport -#endif - -#ifdef _PreComp_ - -// standard -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - - -#endif // _PreComp_ -#endif - diff --git a/src/Mod/Complete/CMakeLists.txt b/src/Mod/Complete/CMakeLists.txt index e553da1496..fc33c960fe 100644 --- a/src/Mod/Complete/CMakeLists.txt +++ b/src/Mod/Complete/CMakeLists.txt @@ -1,13 +1,23 @@ - -add_subdirectory(App) if(BUILD_GUI) add_subdirectory(Gui) endif(BUILD_GUI) +SET(Complete_SRCS + Init.py + InitGui.py +) + +SOURCE_GROUP("" FILES ${Complete_SRCS}) + +ADD_CUSTOM_TARGET(Complete ALL + SOURCES ${Complete_SRCS} +) + +fc_copy_sources(Complete "${CMAKE_BINARY_DIR}/Mod/Complete" ${Complete_SRCS}) + INSTALL( FILES - Init.py - InitGui.py + ${Complete_SRCS} DESTINATION Mod/Complete ) diff --git a/src/Mod/Complete/Gui/AppCompleteGui.cpp b/src/Mod/Complete/Gui/AppCompleteGui.cpp deleted file mode 100644 index 09505603f8..0000000000 --- a/src/Mod/Complete/Gui/AppCompleteGui.cpp +++ /dev/null @@ -1,150 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif - -#include -#include - -#include -#include -#include -#include -#include -#include "Workbench.h" - -#include - - -QList mods; - -// use a different name to CreateCommand() -void CreateCompleteCommands(void); - -void loadCompleteResource() -{ - // add resources and reloads the translators - Q_INIT_RESOURCE(Complete); - Gui::Translator::instance()->refresh(); -} - -namespace CompleteGui { -class Module : public Py::ExtensionModule -{ -public: - Module() : Py::ExtensionModule("CompleteGui") - { - initialize("This module is the CompleteGui module."); // register with Python - } - - virtual ~Module() {} - -private: -}; - -PyObject* initModule() -{ - return (new Module)->module().ptr(); -} - -} // namespace CompleteGui - - -/* Python entry */ -PyMOD_INIT_FUNC(CompleteGui) -{ - if (!Gui::Application::Instance) { - PyErr_SetString(PyExc_ImportError, "Cannot load Gui module in console application."); - PyMOD_Return(0); - } - - // try to load dependent modules, currently not (AssemblyGui, CamGui) - char *modules[] = {"PartGui", "MeshGui", "MeshPartGui", "PointsGui", "DrawingGui", "RaytracingGui", "SketcherGui", "PartDesignGui", "ImageGui", "TestGui"}; - size_t nModules = sizeof(modules) / sizeof(char*); - for (size_t i = 0; i < nModules; i++) { - try { - Base::Interpreter().loadModule(modules[i]); - } - catch (const Base::Exception& e) { - Base::Console().Error("%s\n", e.what()); - // Prints message to console window if we are in interactive mode - PyErr_Print(); - continue; - } - mods.append(QSTRING(modules[i])); - } - -# ifdef COMPLETE_USE_DRAFTING - mods.append(QSTRING("DraftGui")); - try { - Py::Module module(PyImport_ImportModule("FreeCADGui"),true); - Py::Callable method(module.getAttr(std::string("getWorkbench"))); - - // Get the CompleteWorkbench handler - Py::Tuple args(1); - args.setItem(0,Py::String("DraftWorkbench")); - Py::Object handler(method.apply(args)); - - std::string type; - if (!handler.hasAttr(std::string("__Workbench__"))) { - // call its GetClassName method if possible - Py::Callable method(handler.getAttr(std::string("GetClassName"))); - Py::Tuple args; - Py::String result(method.apply(args)); - type = result.as_std_string("ascii"); - if (type == "Gui::PythonWorkbench") { - Gui::Workbench* wb = Gui::WorkbenchManager::instance()->createWorkbench("DraftWorkbench", type); - handler.setAttr(std::string("__Workbench__"), Py::Object(wb->getPyObject(), true)); - } - - // import the matching module first - Py::Callable activate(handler.getAttr(std::string("Initialize"))); - activate.apply(args); - } - - // Get the CompleteWorkbench handler - args.setItem(0,Py::String("CompleteWorkbench")); - } - catch (const Base::Exception& e) { - Base::Console().Error("%s\n", e.what()); - mods.removeAt(mods.size()); - // Prints message to console window if we are in interactive mode - PyErr_Print(); - } -# endif - - PyObject* mod = CompleteGui::initModule(); - Base::Console().Log("Loading GUI of Complete module... done\n"); - - // instantiating the commands - CreateCompleteCommands(); - CompleteGui::Workbench::init(); - - // add resources and reloads the translators - loadCompleteResource(); - - PyMOD_Return(mod); -} diff --git a/src/Mod/Complete/Gui/CMakeLists.txt b/src/Mod/Complete/Gui/CMakeLists.txt index 669ca07efd..d4c0a4a680 100644 --- a/src/Mod/Complete/Gui/CMakeLists.txt +++ b/src/Mod/Complete/Gui/CMakeLists.txt @@ -1,51 +1,14 @@ -include_directories( - ${CMAKE_CURRENT_BINARY_DIR} - ${Boost_INCLUDE_DIRS} - ${COIN3D_INCLUDE_DIRS} - ${ZLIB_INCLUDE_DIR} - ${PYTHON_INCLUDE_DIRS} - ${XercesC_INCLUDE_DIRS} -) - -set(CompleteGui_LIBS - Complete - FreeCADGui -) - -if (BUILD_QT5) - qt5_add_resources(Complete_QRC_SRCS Resources/Complete.qrc) -else() - qt4_add_resources(Complete_QRC_SRCS Resources/Complete.qrc) -endif() - -SET(CompleteGui_SRCS - ${Complete_QRC_SRCS} - AppCompleteGui.cpp - Command.cpp - PreCompiled.cpp - PreCompiled.h - Workbench.cpp - Workbench.h -) - -add_library(CompleteGui SHARED ${CompleteGui_SRCS}) -target_link_libraries(CompleteGui ${CompleteGui_LIBS}) - - -fc_target_copy_resource(CompleteGui - ${CMAKE_SOURCE_DIR}/src/Mod/Complete - ${CMAKE_BINARY_DIR}/Mod/Complete - InitGui.py) - -SET_BIN_DIR(CompleteGui CompleteGui /Mod/Complete) -SET_PYTHON_PREFIX_SUFFIX(CompleteGui) - -install(TARGETS CompleteGui DESTINATION ${CMAKE_INSTALL_LIBDIR}) - SET(CompleteGuiIcon_SVG Resources/icons/CompleteWorkbench.svg ) +SOURCE_GROUP("" FILES ${CompleteGuiIcon_SVG}) + +ADD_CUSTOM_TARGET(CompleteGui ALL + SOURCES ${CompleteGuiIcon_SVG} +) + fc_copy_sources(CompleteGui "${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_DATADIR}/Mod/Complete" ${CompleteGuiIcon_SVG}) INSTALL(FILES ${CompleteGuiIcon_SVG} DESTINATION "${CMAKE_INSTALL_DATADIR}/Mod/Complete/Resources/icons") + diff --git a/src/Mod/Complete/Gui/Command.cpp b/src/Mod/Complete/Gui/Command.cpp deleted file mode 100644 index 0073df44ca..0000000000 --- a/src/Mod/Complete/Gui/Command.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#include "PreCompiled.h" -#ifndef _PreComp_ -#endif - -#include -#include -#include -#include - - -using namespace std; - -DEF_STD_CMD(CmdCompleteConstraintAxle); - -CmdCompleteConstraintAxle::CmdCompleteConstraintAxle() - :Command("Complete_ConstraintAxle") -{ - sAppModule = "Complete"; - sGroup = QT_TR_NOOP("Complete"); - sMenuText = QT_TR_NOOP("Constraint Axle..."); - sToolTipText = QT_TR_NOOP("set a axle constraint between two objects"); - sWhatsThis = "Complete_ConstraintAxle"; - sStatusTip = sToolTipText; - sPixmap = "actions/document-new"; -} - - -void CmdCompleteConstraintAxle::activated(int iMsg) -{ - Q_UNUSED(iMsg); - // load the file with the module - //Command::doCommand(Command::Gui, "import Complete, CompleteGui"); -} - - - -void CreateCompleteCommands(void) -{ - Gui::CommandManager &rcCmdMgr = Gui::Application::Instance->commandManager(); - - rcCmdMgr.addCommand(new CmdCompleteConstraintAxle()); - } diff --git a/src/Mod/Complete/Gui/PreCompiled.cpp b/src/Mod/Complete/Gui/PreCompiled.cpp deleted file mode 100644 index 46269e9671..0000000000 --- a/src/Mod/Complete/Gui/PreCompiled.cpp +++ /dev/null @@ -1,24 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#include "PreCompiled.h" diff --git a/src/Mod/Complete/Gui/PreCompiled.h b/src/Mod/Complete/Gui/PreCompiled.h deleted file mode 100644 index 26dc5635e0..0000000000 --- a/src/Mod/Complete/Gui/PreCompiled.h +++ /dev/null @@ -1,72 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Jürgen Riegel (juergen.riegel@web.de) * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#ifndef COMPLETEGUI_PRECOMPILED_H -#define COMPLETEGUI_PRECOMPILED_H - -#include - -// Importing of App classes -#ifdef FC_OS_WIN32 -# define CompleteExport __declspec(dllimport) -# define CompleteGuiExport __declspec(dllexport) -#else // for Linux -# define CompleteExport -# define CompleteGuiExport -#endif - - -#ifdef _PreComp_ - -// Python -#include - -// standard -#include -#include -#include - -// STL -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifdef FC_OS_WIN32 -# include -#endif - - -// Qt Toolkit -#ifndef __Qt4All__ -# include -#endif - -#endif //_PreComp_ - -#endif // COMPLETEGUI_PRECOMPILED_H diff --git a/src/Mod/Complete/Gui/Resources/Complete.qrc b/src/Mod/Complete/Gui/Resources/Complete.qrc deleted file mode 100644 index daf87d6c24..0000000000 --- a/src/Mod/Complete/Gui/Resources/Complete.qrc +++ /dev/null @@ -1,36 +0,0 @@ - - - icons/CompleteWorkbench.svg - translations/Complete_af.qm - translations/Complete_de.qm - translations/Complete_fi.qm - translations/Complete_fr.qm - translations/Complete_hr.qm - translations/Complete_it.qm - translations/Complete_nl.qm - translations/Complete_no.qm - translations/Complete_pl.qm - translations/Complete_ru.qm - translations/Complete_uk.qm - translations/Complete_tr.qm - translations/Complete_sv-SE.qm - translations/Complete_zh-TW.qm - translations/Complete_pt-BR.qm - translations/Complete_cs.qm - translations/Complete_sk.qm - translations/Complete_es-ES.qm - translations/Complete_zh-CN.qm - translations/Complete_ja.qm - translations/Complete_ro.qm - translations/Complete_hu.qm - translations/Complete_pt-PT.qm - translations/Complete_sr.qm - translations/Complete_el.qm - translations/Complete_sl.qm - translations/Complete_eu.qm - translations/Complete_ca.qm - translations/Complete_gl.qm - translations/Complete_kab.qm - translations/Complete_ko.qm - - diff --git a/src/Mod/Complete/Gui/Resources/UpdateResources.bat b/src/Mod/Complete/Gui/Resources/UpdateResources.bat deleted file mode 100644 index aeb856b936..0000000000 --- a/src/Mod/Complete/Gui/Resources/UpdateResources.bat +++ /dev/null @@ -1,2 +0,0 @@ -python ..\..\..\..\Tools\dir2qrc.py -v -o Complete.qrc -@pause diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_af.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_af.qm deleted file mode 100644 index 91424334f3..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_af.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_af.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_af.ts deleted file mode 100644 index 418e114e6c..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_af.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Volledig - - - - Constraint Axle... - Beperking met 'n as... - - - - set a axle constraint between two objects - definieer 'n bewegingsbeperking tussen twee voorwerpe met 'n as - - - - Test_Test - - - Self-test... - Selftoets... - - - - Runs a self-test to check if the application works properly - Loop 'n selftoets om na te gaan dat die toepassing ordentlik werk - - - - Workbench - - - Dr&awing - Dr&awing - - - - S&ketch - S&ketch - - - - &Raytracing - &Straalsporing - - - - &Drafting - &Teken - - - - Sketch based - Sketsgebaseerd - - - - Primitives - Primitives - - - - Object appearance - Object appearance - - - Parametric - Parametries - - - Object appearence - Voorwerpvoorkoms - - - - Wire Tools - Draadwerktuie - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ca.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_ca.qm deleted file mode 100644 index 255767d750..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_ca.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ca.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_ca.ts deleted file mode 100644 index 1cea71e24e..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_ca.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Completat - - - - Constraint Axle... - Eix de restricció... - - - - set a axle constraint between two objects - estableix una restricció axial entre dos objectes - - - - Test_Test - - - Self-test... - Autoprova... - - - - Runs a self-test to check if the application works properly - Executa un autotest per comprovar si l'aplicació funciona correctament - - - - Workbench - - - Dr&awing - Dibuixar - - - - S&ketch - Esbós - - - - &Raytracing - & Raytracing - - - - &Drafting - &Borrador - - - - Sketch based - Basat en esbós - - - - Primitives - Primitives - - - - Object appearance - Aparença del objecte - - - Parametric - Parametric - - - Object appearence - Aparença d'objecte - - - - Wire Tools - Eines de filferro - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_cs.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_cs.qm deleted file mode 100644 index 2b9df78532..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_cs.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_cs.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_cs.ts deleted file mode 100644 index 0f46355bbc..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_cs.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Dokončit - - - - Constraint Axle... - Vazba osy... - - - - set a axle constraint between two objects - Nastavit vazbu os mezi dvěma objekty - - - - Test_Test - - - Self-test... - Samočinný test... - - - - Runs a self-test to check if the application works properly - Spustí test sebe sama pro kontrolu jestli aplikace pracuje správně - - - - Workbench - - - Dr&awing - V&ýkres - - - - S&ketch - S&kica - - - - &Raytracing - Raytracing - - - - &Drafting - Návrh - - - - Sketch based - Náčrtek - - - - Primitives - Základní tvary - - - - Object appearance - Object appearance - - - Parametric - Parametrické - - - Object appearence - Vzhled objektu - - - - Wire Tools - Nástroje drátu - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_de.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_de.qm deleted file mode 100644 index eb3e5dbaf5..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_de.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_de.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_de.ts deleted file mode 100644 index b96a36c653..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_de.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Komplett - - - - Constraint Axle... - Achse vorgeben... - - - - set a axle constraint between two objects - Eine Achse zwischen zwei Objekten vorgeben - - - - Test_Test - - - Self-test... - Selbsttest... - - - - Runs a self-test to check if the application works properly - Führt einen Selbsttest durch, um zu prüfen, ob die Anwendung richtig funktioniert - - - - Workbench - - - Dr&awing - Zeic&hnung - - - - S&ketch - S&kizze - - - - &Raytracing - &Raytracing - - - - &Drafting - &Entwurf - - - - Sketch based - skizzenbasiert - - - - Primitives - Grundkörper - - - - Object appearance - Objekt Aussehen - - - Parametric - Parametrisch - - - Object appearence - Objektdarstellung - - - - Wire Tools - Linien-Werkzeuge - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_el.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_el.qm deleted file mode 100644 index 63e24e7317..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_el.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_el.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_el.ts deleted file mode 100644 index 581f3885c0..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_el.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Ολοκληρώθηκε - - - - Constraint Axle... - Περιορισμός άξονα... - - - - set a axle constraint between two objects - ορίσετε περιορισμό άξονα μεταξύ δύο αντικειμένων - - - - Test_Test - - - Self-test... - Αυτοδιάγνωση... - - - - Runs a self-test to check if the application works properly - Εκτελεί αυτοδιάγνωση, για να διαπιστωθεί αν η εφαρμογή λειτουργεί όπως θα έπρεπε. - - - - Workbench - - - Dr&awing - Ζωγρα&φική - - - - S&ketch - Σ&κίτσο - - - - &Raytracing - &Raytracing - - - - &Drafting - &Σύνταξη - - - - Sketch based - Βασισμένο σε σκίτσο - - - - Primitives - Πρωτόγονοι - - - - Object appearance - Object appearance - - - Parametric - Parametric - - - Object appearence - Εμφάνιση αντικειμένου - - - - Wire Tools - Εργαλεία Σύρματος - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_es-ES.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_es-ES.qm deleted file mode 100644 index bb0c416eee..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_es-ES.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_es-ES.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_es-ES.ts deleted file mode 100644 index f5c241c87e..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_es-ES.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Completa - - - - Constraint Axle... - Restricción de eje... - - - - set a axle constraint between two objects - definir una restricción de eje entre dos objetos - - - - Test_Test - - - Self-test... - Auto-prueba... - - - - Runs a self-test to check if the application works properly - Ejecuta una auto-prueba para comprobar si la aplicación funciona correctamente - - - - Workbench - - - Dr&awing - Dibujar - - - - S&ketch - Croquis - - - - &Raytracing - &Raytracing - - - - &Drafting - &Borrador - - - - Sketch based - Basado en croquis - - - - Primitives - Primitivas - - - - Object appearance - Aspecto del objeto - - - Parametric - Paramétrico - - - Object appearence - Apariencia del objeto - - - - Wire Tools - Herramientas de alambre - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_eu.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_eu.qm deleted file mode 100644 index cb22ec1bf1..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_eu.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_eu.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_eu.ts deleted file mode 100644 index 4382aac274..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_eu.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Osoa - - - - Constraint Axle... - Constraint Axle... - - - - set a axle constraint between two objects - set a axle constraint between two objects - - - - Test_Test - - - Self-test... - Proba automatikoa... - - - - Runs a self-test to check if the application works properly - Proba automatikoa exekutatzen du aplikazioak ongi funtzionatzen duela egiaztatzeko - - - - Workbench - - - Dr&awing - M&arrazkia - - - - S&ketch - &Krokisa - - - - &Raytracing - &Izpi-hedaketa - - - - &Drafting - &Zirriborroa - - - - Sketch based - Krokisean oinarritua - - - - Primitives - Jatorrizkoak - - - - Object appearance - Objektu-itxura - - - Parametric - Parametric - - - Object appearence - Objektu-itxura - - - - Wire Tools - Alanbre-tresnak - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_fi.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_fi.qm deleted file mode 100644 index 7e8dfce54f..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_fi.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_fi.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_fi.ts deleted file mode 100644 index a5e634ef1e..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_fi.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Valmis - - - - Constraint Axle... - Akseli rajoite... - - - - set a axle constraint between two objects - Määritä akseli rajoite kahden kohteen välille - - - - Test_Test - - - Self-test... - Itsetestaus... - - - - Runs a self-test to check if the application works properly - Suoritetaan itsetestaus ja tarkistetaan, toimiiko sovellus oikein - - - - Workbench - - - Dr&awing - P&iirustus - - - - S&ketch - L&uonnos - - - - &Raytracing - &Säteenseuranta - - - - &Drafting - &Hahmottelu - - - - Sketch based - Luonnokseen perustuva - - - - Primitives - Perusalkiot - - - - Object appearance - Object appearance - - - Parametric - Parametrinen - - - Object appearence - Kohteen ulkoasu - - - - Wire Tools - Lanka työkalut - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_fr.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_fr.qm deleted file mode 100644 index a91b28941b..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_fr.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_fr.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_fr.ts deleted file mode 100644 index e27ca5cfed..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_fr.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Complet - - - - Constraint Axle... - Contrainte axiale... - - - - set a axle constraint between two objects - définir une contrainte axiale entre deux objets - - - - Test_Test - - - Self-test... - Auto-test... - - - - Runs a self-test to check if the application works properly - Exécute un auto-test pour vérifier si l'application fonctionne correctement - - - - Workbench - - - Dr&awing - &Mise en plan - - - - S&ketch - Es&quisse - - - - &Raytracing - &Lancer de rayon - - - - &Drafting - &Planche à dessin - - - - Sketch based - À base d'esquisse - - - - Primitives - Primitives - - - - Object appearance - Apparence de l'objet - - - Parametric - Paramétrique - - - Object appearence - Apparence d'objet - - - - Wire Tools - Outils filaires - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_gl.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_gl.qm deleted file mode 100644 index f7e32d77dd..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_gl.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_gl.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_gl.ts deleted file mode 100644 index 00622ed851..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_gl.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Rematado - - - - Constraint Axle... - Constraint Axle... - - - - set a axle constraint between two objects - set a axle constraint between two objects - - - - Test_Test - - - Self-test... - Auto-proba... - - - - Runs a self-test to check if the application works properly - Executa unha auto-proba para comprobar se a aplicación traballa correctamente - - - - Workbench - - - Dr&awing - &Deseño - - - - S&ketch - &Esbozo - - - - &Raytracing - &Raytracing - - - - &Drafting - &Bosquexar - - - - Sketch based - Baseado en esbozo - - - - Primitives - Primitivas - - - - Object appearance - Aparencia do obxecto - - - Parametric - Parametric - - - Object appearence - Aparencia do obxecto - - - - Wire Tools - Ferramentas de arame - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_hr.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_hr.qm deleted file mode 100644 index 5094ca12d0..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_hr.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_hr.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_hr.ts deleted file mode 100644 index a6ee058d8f..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_hr.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Kompletan - - - - Constraint Axle... - Ograničena osovina... - - - - set a axle constraint between two objects - postaviti ograničenja osovine između dva objekta - - - - Test_Test - - - Self-test... - Samoprovjera ... - - - - Runs a self-test to check if the application works properly - Izvrši samoprovjeru i vidi da li program radi ispravno - - - - Workbench - - - Dr&awing - Cr&tež - - - - S&ketch - S&kica - - - - &Raytracing - Metode trasiranja putem zrake - - - - &Drafting - &Skica - - - - Sketch based - Na temelju skice - - - - Primitives - Primitivi - - - - Object appearance - Object appearance - - - Parametric - Parametarski - - - Object appearence - Izgled objekta - - - - Wire Tools - Alati žice - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_hu.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_hu.qm deleted file mode 100644 index 92b9309254..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_hu.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_hu.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_hu.ts deleted file mode 100644 index 2f09bcd743..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_hu.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Befejez - - - - Constraint Axle... - Tengely menti kötés... - - - - set a axle constraint between two objects - tengely menti kötést hoz létre két tárgy között - - - - Test_Test - - - Self-test... - Ön-teszt... - - - - Runs a self-test to check if the application works properly - Fut egy önteszt, hogy ellenőrizze, ha az alkalmazás megfelelően működik - - - - Workbench - - - Dr&awing - R&ajzolás - - - - S&ketch - S&kicc - - - - &Raytracing - Sugá&riánynyomvonal - - - - &Drafting - Tervrajzkészítés - - - - Sketch based - Vázlat alap - - - - Primitives - Primitívek - - - - Object appearance - Objektum megjelenése - - - Parametric - Változós - - - Object appearence - Az objektum megjelenése - - - - Wire Tools - Vonal eszköztár - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_it.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_it.qm deleted file mode 100644 index 02d301e553..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_it.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_it.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_it.ts deleted file mode 100644 index 3b3922b6a2..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_it.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Completo - - - - Constraint Axle... - Vincolo assiale... - - - - set a axle constraint between two objects - Imposta un vincolo assiale tra due oggetti - - - - Test_Test - - - Self-test... - Autotest... - - - - Runs a self-test to check if the application works properly - Esegue un autotest per verificare se l'applicazione funziona correttamente - - - - Workbench - - - Dr&awing - D&isegno - - - - S&ketch - S&ketch - - - - &Raytracing - &Raytracing - - - - &Drafting - Draf&ting - - - - Sketch based - Sketch - - - - Primitives - Primitive - - - - Object appearance - Aspetto dell'oggetto - - - Parametric - Parametrica - - - Object appearence - Aspetto dell'oggetto - - - - Wire Tools - Strumenti Wire - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ja.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_ja.qm deleted file mode 100644 index 1908d054a2..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_ja.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ja.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_ja.ts deleted file mode 100644 index 488eeb2e3e..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_ja.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - コンプリート - - - - Constraint Axle... - 軸拘束の設定... - - - - set a axle constraint between two objects - 二つのオブジェクト間に軸拘束を設定します。 - - - - Test_Test - - - Self-test... - 自己診断... - - - - Runs a self-test to check if the application works properly - アプリケーションが正常に動作するかどうかを確認する自己診断を実行します。 - - - - Workbench - - - Dr&awing - ドローイング (&a) - - - - S&ketch - スケッチ (&k) - - - - &Raytracing - レイトレーシング (&R) - - - - &Drafting - 2次元製図 (&D) - - - - Sketch based - スケッチベース - - - - Primitives - プリミティブ - - - - Object appearance - オブジェクトの外観 - - - Parametric - パラメトリック - - - Object appearence - オブジェクトの外観 - - - - Wire Tools - ポリラインツール - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_kab.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_kab.qm deleted file mode 100644 index 59e66ae17e..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_kab.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_kab.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_kab.ts deleted file mode 100644 index 030a0e0815..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_kab.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Immed - - - - Constraint Axle... - Contrainte axiale... - - - - set a axle constraint between two objects - définir une contrainte axiale entre deux objets - - - - Test_Test - - - Self-test... - Auto-test... - - - - Runs a self-test to check if the application works properly - Exécute un auto-test pour vérifier si l'application fonctionne correctement - - - - Workbench - - - Dr&awing - &Mise en plan - - - - S&ketch - Es&quisse - - - - &Raytracing - &Lancer de rayon - - - - &Drafting - &Planche à dessin - - - - Sketch based - À base d'esquisse - - - - Primitives - Primitives - - - - Object appearance - Object appearance - - - Parametric - Parametric - - - Object appearence - Apparence d'objet - - - - Wire Tools - Outils filaires - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ko.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_ko.qm deleted file mode 100644 index 139d260270..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_ko.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ko.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_ko.ts deleted file mode 100644 index cb82d8c956..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_ko.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - 완료 - - - - Constraint Axle... - 축 구속 ... - - - - set a axle constraint between two objects - 두 개체 사이에 축 구속을 설정합니다. - - - - Test_Test - - - Self-test... - 진단 ... - - - - Runs a self-test to check if the application works properly - 응용 프로그램이 제대로 작동 하는지 진단 - - - - Workbench - - - Dr&awing - 드로잉 (& a) - - - - S&ketch - 스케치 (& k) - - - - &Raytracing - &Raytracing - - - - &Drafting - 제도 - - - - Sketch based - 스케치 기반 - - - - Primitives - 기본 형식 - - - - Object appearance - Object appearance - - - Parametric - Parametric - - - Object appearence - 개체 모양 - - - - Wire Tools - 선 도구 - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_nl.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_nl.qm deleted file mode 100644 index 790a8f834d..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_nl.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_nl.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_nl.ts deleted file mode 100644 index 972ff01492..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_nl.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Voltooid - - - - Constraint Axle... - As-beperking... - - - - set a axle constraint between two objects - Stel een as-beperking in tussen twee objecten - - - - Test_Test - - - Self-test... - Zelftest... - - - - Runs a self-test to check if the application works properly - Voert een zelf-test uit, om te controleren of de toepassing correct werkt - - - - Workbench - - - Dr&awing - &Tekening - - - - S&ketch - S&chets - - - - &Raytracing - &Realistische Weergave - - - - &Drafting - &Opstellen - - - - Sketch based - Schets gebaseerd - - - - Primitives - Basisvormen - - - - Object appearance - Object uiterlijk - - - Parametric - Parametrisch - - - Object appearence - Object uiterlijk - - - - Wire Tools - Draad Gereedschap - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_no.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_no.qm deleted file mode 100644 index 7aee4f80aa..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_no.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_no.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_no.ts deleted file mode 100644 index 7efb3e83f5..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_no.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Fullført - - - - Constraint Axle... - Aksellås... - - - - set a axle constraint between two objects - angi en akselbetingelse mellom to objekter - - - - Test_Test - - - Self-test... - Selvtest... - - - - Runs a self-test to check if the application works properly - Kjører en selvtest for å kontrollere om programmet fungerer riktig - - - - Workbench - - - Dr&awing - T&egning - - - - S&ketch - K&ladd - - - - &Raytracing - &Strålesporing - - - - &Drafting - &Skissering - - - - Sketch based - Skissebasert - - - - Primitives - Primitiver - - - - Object appearance - Object appearance - - - Parametric - Parametrisk - - - Object appearence - Objektutseende - - - - Wire Tools - Lenkeverktøy - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_pl.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_pl.qm deleted file mode 100644 index 35761c55a6..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_pl.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_pl.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_pl.ts deleted file mode 100644 index 4de9c162ce..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_pl.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Kompletny - - - - Constraint Axle... - Ograniczenie osi... - - - - set a axle constraint between two objects - ustaw ograniczenie osi między dwoma obiektami - - - - Test_Test - - - Self-test... - Autotest... - - - - Runs a self-test to check if the application works properly - Wykonanie autotestu w celu sprawdzenia poprawności działania aplikacji. - - - - Workbench - - - Dr&awing - Rysow&anie - - - - S&ketch - Sz&kic - - - - &Raytracing - Raytracing - - - - &Drafting - &Kreślenie - - - - Sketch based - Ze szkicu - - - - Primitives - Początkowe - - - - Object appearance - Object appearance - - - Parametric - Parametryczny - - - Object appearence - Wygląd obiektu - - - - Wire Tools - Narzędzia Szkieletu - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-BR.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_pt-BR.qm deleted file mode 100644 index a4a3636948..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-BR.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-BR.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_pt-BR.ts deleted file mode 100644 index 7256a319a5..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-BR.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Completo - - - - Constraint Axle... - Restrição de eixo... - - - - set a axle constraint between two objects - definir uma restrição de eixo entre dois objetos - - - - Test_Test - - - Self-test... - Teste automático... - - - - Runs a self-test to check if the application works properly - Executa um teste automático para verificar se o aplicativo funciona corretamente - - - - Workbench - - - Dr&awing - Desenho - - - - S&ketch - Esboço - - - - &Raytracing - &Raytracing - - - - &Drafting - &Traço - - - - Sketch based - Baseado em esboço - - - - Primitives - Primitivas - - - - Object appearance - Object appearance - - - Parametric - Paramétrico - - - Object appearence - Aparência do objeto - - - - Wire Tools - Ferramentas de arame - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-PT.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_pt-PT.qm deleted file mode 100644 index c855c8fde2..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-PT.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-PT.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_pt-PT.ts deleted file mode 100644 index 688047495b..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_pt-PT.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Concluído - - - - Constraint Axle... - Restrição de Eixo... - - - - set a axle constraint between two objects - Define uma restrição de eixo entre dois objetos - - - - Test_Test - - - Self-test... - Teste Automático ... - - - - Runs a self-test to check if the application works properly - Executa um teste automático para verificar se a aplicação funciona corretamente - - - - Workbench - - - Dr&awing - &Desenho (folha) - - - - S&ketch - &Esboço - - - - &Raytracing - & Raytracing - - - - &Drafting - &Ferramentas de traço - - - - Sketch based - Baseado em esboço - - - - Primitives - Primitivas - - - - Object appearance - Object appearance - - - Parametric - Paramétrico - - - Object appearence - Aparência do objeto - - - - Wire Tools - Ferramentas de Linha - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ro.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_ro.qm deleted file mode 100644 index 536355f635..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_ro.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ro.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_ro.ts deleted file mode 100644 index 3dfbd124ec..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_ro.ts +++ /dev/null @@ -1,87 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Finalizat - - - - Constraint Axle... - Axa de restricție... - - - - - set a axle constraint between two objects - setează o restricție axială între două obiecte - - - - Test_Test - - - Self-test... - Auto evaluare... - - - - Runs a self-test to check if the application works properly - Rulează o auto-evaluare pentru a verifica dacă aplicaţia funcţionează corespunzător - - - - Workbench - - - Dr&awing - D&esen - - - - S&ketch - S&chiţă - - - - &Raytracing - &Raytracing - - - - &Drafting - &Schiţare - - - - Sketch based - Bazat pe o schiţă - - - - Primitives - Primitive - - - - Object appearance - Object appearance - - - Parametric - Parametric - - - Object appearence - Aparenţa obiectului - - - - Wire Tools - Instrumente pentru polilinii - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ru.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_ru.qm deleted file mode 100644 index 65b73e54b9..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_ru.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_ru.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_ru.ts deleted file mode 100644 index 3c756ac869..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_ru.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Выполнено - - - - Constraint Axle... - Ограничение оси... - - - - set a axle constraint between two objects - задать ось ограниченную двумя объектами - - - - Test_Test - - - Self-test... - Самотестирование ... - - - - Runs a self-test to check if the application works properly - Выполняет самопроверку для проверки правильности функционирования приложения - - - - Workbench - - - Dr&awing - Рисование - - - - S&ketch - Наборосок - - - - &Raytracing - &Трассировка лучей - - - - &Drafting - &Черчение - - - - Sketch based - Основанный на эскизе - - - - Primitives - Примитивы - - - - Object appearance - Внешний вид объекта - - - Parametric - Параметрический - - - Object appearence - Внешность объекта - - - - Wire Tools - Проволочные инструменты - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sk.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_sk.qm deleted file mode 100644 index 1958f71d3a..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_sk.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sk.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_sk.ts deleted file mode 100644 index faa6f0edf3..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_sk.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Dokončené - - - - Constraint Axle... - Os obmedzenia... - - - - set a axle constraint between two objects - nastaviť os obmedzenia medzi dvoma objektmi - - - - Test_Test - - - Self-test... - Bezpečnostný test... - - - - Runs a self-test to check if the application works properly - Spusť bezpečnostný test pre overenie, či aplikácia funguje správne - - - - Workbench - - - Dr&awing - Kreslenie - - - - S&ketch - Náčrt - - - - &Raytracing - &Raytracing - - - - &Drafting - &Náčrt - - - - Sketch based - Základný náčrt - - - - Primitives - Základný - - - - Object appearance - Object appearance - - - Parametric - Parametrické - - - Object appearence - Vzhľad objektu - - - - Wire Tools - Nástroje čiar - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sl.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_sl.qm deleted file mode 100644 index 2e8b172523..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_sl.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sl.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_sl.ts deleted file mode 100644 index 76a058098f..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_sl.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Celotno - - - - Constraint Axle... - Omejitev osi... - - - - set a axle constraint between two objects - določite osne omejitve med dvema objektoma - - - - Test_Test - - - Self-test... - Preizkus lastnega delovanja... - - - - Runs a self-test to check if the application works properly - Zažene preizkus za preveritev pravilnega delovanja programa - - - - Workbench - - - Dr&awing - Risb&a - - - - S&ketch - S&kica - - - - &Raytracing - &Sledenje žarku - - - - &Drafting - &Osnovanje - - - - Sketch based - Na osnovi skice - - - - Primitives - Osnovne oblike - - - - Object appearance - Prikaz objekta - - - Parametric - Parametric - - - Object appearence - Prikaz objekta - - - - Wire Tools - Orodja za žice - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sr.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_sr.qm deleted file mode 100644 index 022b5cc259..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_sr.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sr.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_sr.ts deleted file mode 100644 index 2dcfc1a761..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_sr.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Комплетан - - - - Constraint Axle... - Осовина ограничења - - - - set a axle constraint between two objects - поставите осовину ограничења између два објекта - - - - Test_Test - - - Self-test... - Самопровера... - - - - Runs a self-test to check if the application works properly - Извршава самопроверу да утврди да ли апликација ради исправно - - - - Workbench - - - Dr&awing - Цр&теж - - - - S&ketch - С&кица - - - - &Raytracing - И Праћење снопа - - - - &Drafting - &Недовршено - - - - Sketch based - на основу скице - - - - Primitives - Примитиви - - - - Object appearance - Object appearance - - - Parametric - Параметарски - - - Object appearence - Изглед објекта - - - - Wire Tools - Алати за Жицу - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sv-SE.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_sv-SE.qm deleted file mode 100644 index afbcb053c2..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_sv-SE.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_sv-SE.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_sv-SE.ts deleted file mode 100644 index 77981061d1..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_sv-SE.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Komplett - - - - Constraint Axle... - Begränsningsaxel... - - - - set a axle constraint between two objects - Sätt en axelbegränsning mellan två objekt - - - - Test_Test - - - Self-test... - Självtest ... - - - - Runs a self-test to check if the application works properly - Kör ett självtest för att kontrollera om programmet fungerar - - - - Workbench - - - Dr&awing - &Ritning - - - - S&ketch - S&kiss - - - - &Raytracing - R&endering - - - - &Drafting - &Skissning - - - - Sketch based - Skiss baserad - - - - Primitives - Primitiver - - - - Object appearance - Objekt Utseende - - - Parametric - Parametrisk - - - Object appearence - Objekt utseende - - - - Wire Tools - Trådverktyg - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_tr.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_tr.qm deleted file mode 100644 index c5f701867b..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_tr.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_tr.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_tr.ts deleted file mode 100644 index f2e12824fd..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_tr.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Tam - - - - Constraint Axle... - Sınırlama Mili... - - - - set a axle constraint between two objects - İki nesne arasındaki sınırlama milini belirle - - - - Test_Test - - - Self-test... - Otomatik test - - - - Runs a self-test to check if the application works properly - Uygulamanın düzgün çalışıp çalışmadığını denetlemek için bir özsınama çalıştırır - - - - Workbench - - - Dr&awing - Çi&zim - - - - S&ketch - &Eskiz - - - - &Raytracing - &Işınizleme - - - - &Drafting - &Taslak hazırlama - - - - Sketch based - Kroki temelli - - - - Primitives - Temel öğeler - - - - Object appearance - Nesne görünümü - - - Parametric - Değişken tabanlı (Parametrik) - - - Object appearence - Nesne görünümü - - - - Wire Tools - Tel Araçları - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_uk.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_uk.qm deleted file mode 100644 index 3b124eb41a..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_uk.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_uk.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_uk.ts deleted file mode 100644 index 34dde20dc2..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_uk.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - Виконано - - - - Constraint Axle... - Обмеження осі... - - - - set a axle constraint between two objects - задати вісь обмежену двома об'єктами - - - - Test_Test - - - Self-test... - Самотестування... - - - - Runs a self-test to check if the application works properly - Запускає самотестування для перевірки того, що програма працює належним чином - - - - Workbench - - - Dr&awing - Креслення - - - - S&ketch - Ескіз - - - - &Raytracing - &Трасування променів - - - - &Drafting - &Креслення - - - - Sketch based - Базуючись на ескізі - - - - Primitives - Примітиви - - - - Object appearance - Object appearance - - - Parametric - Параметричний - - - Object appearence - Поведінка об'єкту - - - - Wire Tools - Інструменти каркасу - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-CN.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_zh-CN.qm deleted file mode 100644 index dfd251f1f1..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-CN.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-CN.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_zh-CN.ts deleted file mode 100644 index 3019caa69e..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-CN.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - 全部 - - - - Constraint Axle... - 约束轴... - - - - set a axle constraint between two objects - 两对象间设置轴约束 - - - - Test_Test - - - Self-test... - 自检... - - - - Runs a self-test to check if the application works properly - 运行自检测试程序是否正常工作 - - - - Workbench - - - Dr&awing - 绘图(&a) - - - - S&ketch - 草绘(&k) - - - - &Raytracing - 光线追踪(&R) - - - - &Drafting - 绘图(&D) - - - - Sketch based - 基于草绘 - - - - Primitives - 基础图元 - - - - Object appearance - Object appearance - - - Parametric - 参数化 - - - Object appearence - 对象外观 - - - - Wire Tools - 线框工具 - - - diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-TW.qm b/src/Mod/Complete/Gui/Resources/translations/Complete_zh-TW.qm deleted file mode 100644 index ba2aa04b4b..0000000000 Binary files a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-TW.qm and /dev/null differ diff --git a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-TW.ts b/src/Mod/Complete/Gui/Resources/translations/Complete_zh-TW.ts deleted file mode 100644 index 40367e12ad..0000000000 --- a/src/Mod/Complete/Gui/Resources/translations/Complete_zh-TW.ts +++ /dev/null @@ -1,86 +0,0 @@ - - - - - CmdCompleteConstraintAxle - - - Complete - 完成 - - - - Constraint Axle... - 約束軸... - - - - set a axle constraint between two objects - 在兩個物件之間設置軸約束 - - - - Test_Test - - - Self-test... - 自我檢測... - - - - Runs a self-test to check if the application works properly - 執行自我檢查確認程式是否運作良好 - - - - Workbench - - - Dr&awing - 繪圖(&Dr) - - - - S&ketch - &素描 - - - - &Raytracing - 光跡追踪(&R) - - - - &Drafting - 製圖(&D) - - - - Sketch based - 基底草圖 - - - - Primitives - 元件 - - - - Object appearance - Object appearance - - - Parametric - 參數 - - - Object appearence - 物件顯示 - - - - Wire Tools - 線條工具 - - - diff --git a/src/Mod/Complete/Gui/Workbench.cpp b/src/Mod/Complete/Gui/Workbench.cpp deleted file mode 100644 index 222091841b..0000000000 --- a/src/Mod/Complete/Gui/Workbench.cpp +++ /dev/null @@ -1,641 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Werner Mayer * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#include "PreCompiled.h" - -#ifndef _PreComp_ -# include -#endif - -#include "Workbench.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -using namespace CompleteGui; - -#if 0 // needed for Qt's lupdate utility - qApp->translate("Workbench", "S&ketch"); - qApp->translate("Workbench", "Dr&awing"); - qApp->translate("Workbench", "&Raytracing"); - qApp->translate("Workbench", "&Drafting"); - qApp->translate("Workbench", "Sketch based"); - qApp->translate("Workbench", "Primitives"); - qApp->translate("Workbench", "Object appearance"); - qApp->translate("Workbench", "Wire Tools"); - // taken from TestGui.py - qApp->translate("Test_Test", "Self-test..."); - qApp->translate("Test_Test", "Runs a self-test to check if the application works properly"); -#endif - -/// @namespace CompleteGui @class Workbench -TYPESYSTEM_SOURCE(CompleteGui::Workbench, Gui::StdWorkbench) - -Workbench::Workbench() -{ -} - -Workbench::~Workbench() -{ -} - -void Workbench::setupContextMenu(const char* recipient,Gui::MenuItem* item) const -{ - if (strcmp(recipient,"View") == 0) - { - Gui::MenuItem* StdViews = new Gui::MenuItem(); - StdViews->setCommand( "Standard views" ); - - *StdViews << "Std_ViewAxo" << "Separator" << "Std_ViewFront" << "Std_ViewTop" << "Std_ViewRight" - << "Std_ViewRear" << "Std_ViewBottom" << "Std_ViewLeft"; - - *item << "Std_ViewFitAll" << "Std_ViewFitSelection" << StdViews - << "Separator" << "Std_ViewDockUndockFullscreen"; - - if ( Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0 ) - { - Gui::MenuItem* DraftContext = new Gui::MenuItem(); - DraftContext->setCommand("Display options"); - - *DraftContext << "Draft_ApplyStyle" << "Draft_ToggleDisplayMode" - << "Draft_AddToGroup"; - *item << "Separator" << "Std_SetAppearance" << "Std_ToggleVisibility" - << "Std_ToggleSelectability" << "Std_TreeSelection" - << "Std_RandomColor" << "Separator" << "Std_Delete" << DraftContext; - } - } - else if (strcmp(recipient,"Tree") == 0) - { - if (Gui::Selection().countObjectsOfType(App::DocumentObject::getClassTypeId()) > 0 ) { - Gui::MenuItem* DraftContext = new Gui::MenuItem(); - DraftContext->setCommand("Display options"); - - *DraftContext << "Draft_ApplyStyle" << "Draft_ToggleDisplayMode" - << "Draft_AddToGroup"; - - *item << "Std_ToggleVisibility" << "Std_ShowSelection" << "Std_HideSelection" - << "Std_ToggleSelectability" << "Separator" << "Std_SetAppearance" - << "Std_ToggleVisibility" << "Std_RandomColor" << "Separator" << "Std_Delete" - << DraftContext; - } - } -} - -Gui::MenuItem* Workbench::setupMenuBar() const -{ - Gui::CommandManager &mgr = Gui::Application::Instance->commandManager(); - // Setup the default menu bar - Gui::MenuItem* menuBar = new Gui::MenuItem; - - // File - Gui::MenuItem* file = new Gui::MenuItem( menuBar ); - file->setCommand("&File"); - *file << "Std_New" << "Std_Open" << "Separator" << "Std_CloseActiveWindow" - << "Std_CloseAllWindows" << "Separator" << "Std_Save" << "Std_SaveAs" - << "Separator" << "Std_Import" << "Std_Export" - << "Std_MergeProjects" << "Std_ProjectInfo" - << "Separator" << "Std_Print" << "Std_PrintPreview" << "Std_PrintPdf" - << "Separator" << "Std_RecentFiles" << "Separator" << "Std_Quit"; - - // Edit - Gui::MenuItem* edit = new Gui::MenuItem( menuBar ); - edit->setCommand("&Edit"); - *edit << "Std_Undo" << "Std_Redo" << "Separator" << "Std_Cut" << "Std_Copy" - << "Std_Paste" << "Std_DuplicateSelection" << "Separator" - << "Std_Refresh" << "Std_BoxSelection" << "Std_SelectAll" << "Std_Delete" - << "Std_Placement" << "Std_Alignment" - << "Separator" << "Std_DlgPreferences"; - - // Standard views - Gui::MenuItem* stdviews = new Gui::MenuItem; - stdviews->setCommand("Standard views"); - *stdviews << "Std_ViewFitAll" << "Std_ViewFitSelection" << "Std_ViewAxo" - << "Separator" << "Std_ViewFront" << "Std_ViewTop" - << "Std_ViewRight" << "Separator" << "Std_ViewRear" - << "Std_ViewBottom" << "Std_ViewLeft"; - - // stereo - Gui::MenuItem* view3d = new Gui::MenuItem; - view3d->setCommand("&Stereo"); - *view3d << "Std_ViewIvStereoRedGreen" << "Std_ViewIvStereoQuadBuff" - << "Std_ViewIvStereoInterleavedRows" << "Std_ViewIvStereoInterleavedColumns" - << "Std_ViewIvStereoOff" << "Separator" << "Std_ViewIvIssueCamPos"; - - // zoom - Gui::MenuItem* zoom = new Gui::MenuItem; - zoom->setCommand("&Zoom"); - *zoom << "Std_ViewZoomIn" << "Std_ViewZoomOut" << "Separator" << "Std_ViewBoxZoom"; - - // Visibility - Gui::MenuItem* visu = new Gui::MenuItem; - visu->setCommand("Visibility"); - *visu << "Std_ToggleVisibility" << "Std_ShowSelection" << "Std_HideSelection" - << "Separator" << "Std_ToggleObjects" << "Std_ShowObjects" << "Std_HideObjects" - << "Separator" << "Std_ToggleSelectability"; - - // View - Gui::MenuItem* view = new Gui::MenuItem( menuBar ); - view->setCommand("&View"); - *view << "Std_ViewCreate" << "Std_OrthographicCamera" << "Std_PerspectiveCamera" << "Separator" - << stdviews << "Std_FreezeViews" << "Separator" << view3d << "Std_DrawStyle" << zoom - << "Std_ViewDockUndockFullscreen" << "Std_AxisCross" << "Std_ToggleClipPlane" - << "Std_TextureMapping" << "Separator" << visu - << "Std_ToggleVisibility" << "Std_ToggleNavigation" - << "Std_SetAppearance" << "Std_RandomColor" << "Separator" - << "Std_Workbench" << "Std_ToolBarMenu" << "Std_DockViewMenu" << "Separator" - << "Std_ViewStatusBar"; - - // Tools - Gui::MenuItem* tool = new Gui::MenuItem( menuBar ); - tool->setCommand("&Tools"); - *tool << "Std_DlgParameter" << "Separator" - << "Std_DlgMacroRecord" << "Std_MacroStopRecord" - << "Std_DlgMacroExecute" << "Std_DlgMacroExecuteDirect" - << "Separator" << "Std_ViewScreenShot" << "Std_SceneInspector" - << "Std_ExportGraphviz" << "Std_ProjectUtil" << "Separator" - << "Std_MeasureDistance" << "Separator" - << "Std_DemoMode" << "Separator" << "Std_DlgCustomize"; - - // Mesh **************************************************************************************************** - if (mods.contains(QSTRING("MeshGui"))) { - Gui::MenuItem* mesh = new Gui::MenuItem( menuBar ); - - // submenu analyze - Gui::MenuItem* analyze = new Gui::MenuItem(); - analyze->setCommand("Analyze"); - *analyze << "Mesh_Evaluation" - << "Mesh_EvaluateFacet" - << "Mesh_CurvatureInfo" - << "Separator" - << "Mesh_EvaluateSolid" - << "Mesh_BoundingBox"; - - // submenu boolean - Gui::MenuItem* boolean = new Gui::MenuItem(); - boolean->setCommand("Boolean"); - *boolean << "Mesh_Union" - << "Mesh_Intersection" - << "Mesh_Difference"; - - mesh->setCommand("&Meshes"); - *mesh << "Mesh_Import" - << "Mesh_Export" - << "MeshPart_Mesher" - << "Separator" - << analyze - << "Mesh_HarmonizeNormals" - << "Mesh_FlipNormals" - << "Separator" - << "Mesh_FillupHoles" - << "Mesh_FillInteractiveHole" - << "Mesh_RemoveComponents" - << "Mesh_RemoveCompByHand" - << "Mesh_AddFacet" - << "Mesh_Smoothing" - << "Separator" - << "Mesh_BuildRegularSolid" - << boolean << "Separator" - << "Mesh_PolySelect" - << "Mesh_PolyCut" - << "Mesh_PolySplit" - << "Mesh_PolySegm" - << "Mesh_ToolMesh" - << "Mesh_Segmentation" - << "Mesh_VertexCurvature"; - } - - // Sketch ************************************************************************************************** - - if (mods.contains(QSTRING("SketcherGui"))) { - Gui::MenuItem* sketch = new Gui::MenuItem(menuBar); - sketch->setCommand("S&ketch"); - - Gui::MenuItem* geom = new Gui::MenuItem(); - geom->setCommand("Sketcher geometries"); - *geom << "Sketcher_CreatePoint" - << "Sketcher_CreateArc" - << "Sketcher_Create3PointArc" - << "Sketcher_CreateCircle" - << "Sketcher_Create3PointCircle" - << "Sketcher_CreateLine" - << "Sketcher_CreatePolyline" - << "Sketcher_CreateRectangle" - << "Separator" - << "Sketcher_CreateFillet" - << "Sketcher_Trimming" - << "Sketcher_External" - << "Sketcher_ToggleConstruction"; - - Gui::MenuItem* cons = new Gui::MenuItem(); - cons->setCommand("Sketcher constraints"); - *cons << "Sketcher_ConstrainCoincident" - << "Sketcher_ConstrainPointOnObject" - << "Sketcher_ConstrainVertical" - << "Sketcher_ConstrainHorizontal" - << "Sketcher_ConstrainParallel" - << "Sketcher_ConstrainPerpendicular" - << "Sketcher_ConstrainTangent" - << "Sketcher_ConstrainEqual" - << "Sketcher_ConstrainSymmetric" - << "Separator" - << "Sketcher_ConstrainLock" - << "Sketcher_ConstrainDistanceX" - << "Sketcher_ConstrainDistanceY" - << "Sketcher_ConstrainDistance" - << "Sketcher_ConstrainRadius" - << "Sketcher_ConstrainAngle"; - - *sketch - << "Sketcher_NewSketch" - << "Sketcher_EditSketch" - << "Sketcher_LeaveSketch" - << "Sketcher_ViewSketch" - << "Sketcher_MapSketch" - << geom - << cons; - } - - // Part **************************************************************************************************** - - if (mods.contains(QSTRING("PartGui"))) { - Gui::MenuItem* part = new Gui::MenuItem(menuBar); - part->setCommand("&Part"); - - // submenu boolean - Gui::MenuItem* para = new Gui::MenuItem(); - para->setCommand("Primitives"); - *para << "Part_Box" - << "Part_Cylinder" - << "Part_Sphere" - << "Part_Cone" - << "Part_Torus" - << "Part_Primitives"; - - *part << para; - - if (mods.contains(QSTRING("PartDesignGui"))) { - Gui::MenuItem* PartDesign = new Gui::MenuItem(); - PartDesign->setCommand("Part design"); - - *PartDesign << "PartDesign_Pad" - << "PartDesign_Pocket" - << "PartDesign_Revolution" - << "PartDesign_Groove" - << "PartDesign_Fillet" - << "PartDesign_Chamfer" - << "PartDesign_Mirrored" - << "PartDesign_LinearPattern" - << "PartDesign_PolarPattern" - << "PartDesign_MultiTransform"; - - *part << PartDesign; - } - - *part << "Part_ShapeFromMesh" - << "Part_MakeSolid" - << "Part_ReverseShape" - << "Part_SimpleCopy" - << "Separator" - << "Part_Boolean" - << "Part_Extrude" - << "Part_Revolve" - << "Part_Mirror" - << "Part_Fillet" - << "Part_Chamfer"; - } - - // Drawing **************************************************************************************************** - - if (mods.contains(QSTRING("DrawingGui"))) { - Gui::MenuItem* drawing = new Gui::MenuItem(menuBar); - - drawing->setCommand("Dr&awing"); - *drawing - << "Drawing_Open" - << "Separator" - << "Drawing_NewA3Landscape" - << "Drawing_NewView" - << "Drawing_ExportPage" - << "Separator" - << "Drawing_ProjectShape"; - } - - // Raytracing **************************************************************************************************** - - if (mods.contains(QSTRING("RaytracingGui"))) { - Gui::MenuItem* raytracing = new Gui::MenuItem(menuBar); - - raytracing->setCommand("&Raytracing"); - *raytracing - << "Raytracing_WriteView" - << "Raytracing_WriteCamera" - << "Raytracing_WritePart" - << "Separator" - << "Raytracing_NewPovrayProject" - << "Raytracing_NewPartSegment" - << "Raytracing_ExportProject"; - } - - // Drafting **************************************************************************************************** - - if (mods.contains(QSTRING("DraftGui")) && mgr.getCommandByName("Draft_Line")) { - Gui::MenuItem* Drafting = new Gui::MenuItem(menuBar); - Drafting->setCommand("&Drafting"); - - Gui::MenuItem* DraftContext = new Gui::MenuItem(); - DraftContext->setCommand("Object appearance"); - - *DraftContext << "Draft_ApplyStyle" << "Draft_ToggleDisplayMode"; - - Gui::MenuItem* DraftWireTools = new Gui::MenuItem(); - DraftWireTools->setCommand("Wire Tools"); - - *DraftWireTools << "Draft_WireToBSpline" << "Draft_AddPoint" << "Draft_DelPoint"; - - *Drafting - << "Draft_Line" - << "Draft_Wire" - << "Draft_Circle" - << "Draft_Arc" - << "Draft_Rectangle" - << "Draft_Polygon" - << "Draft_BSpline" - << "Draft_Text" - << "Draft_Dimension" - << "Separator" - << "Draft_Move" - << "Draft_Rotate" - << "Draft_Offset" - << "Draft_Trimex" - << "Draft_Upgrade" - << "Draft_Downgrade" - << "Draft_Scale" - << "Draft_Edit" - << "Draft_Drawing" - << "Draft_Shape2DView" - << DraftWireTools - << DraftContext; - } - - // xxx **************************************************************************************************** - - - // Windows - Gui::MenuItem* wnd = new Gui::MenuItem( menuBar ); - wnd->setCommand("&Windows"); - *wnd << "Std_ActivateNextWindow" << "Std_ActivatePrevWindow" << "Separator" - << "Std_TileWindows" << "Std_CascadeWindows" - << "Std_ArrangeIcons" << "Separator" << "Std_WindowsMenu" << "Std_Windows"; - - // help **************************************************************************************************** - // Separator - Gui::MenuItem* sep = new Gui::MenuItem( menuBar ); - sep->setCommand( "Separator" ); - - // Help - Gui::MenuItem* helpWebsites = new Gui::MenuItem; - helpWebsites->setCommand("&Online-help"); - *helpWebsites << "Std_OnlineHelpWebsite" - << "Std_FreeCADWebsite" - << "Std_PythonWebsite"; - - Gui::MenuItem* help = new Gui::MenuItem( menuBar ); - help->setCommand("&Help"); - *help << "Std_OnlineHelp" - << "Std_PythonHelp" - << helpWebsites - << "Separator"; - - if (mods.contains(QSTRING("TestGui"))) { - *help << "Test_Test" - << "Separator"; - } - - *help << "Std_About" - << "Std_AboutQt" - << "Separator" - << "Std_WhatsThis" ; - - return menuBar; -} - -Gui::ToolBarItem* Workbench::setupToolBars() const -{ - Gui::CommandManager &mgr = Gui::Application::Instance->commandManager(); - Gui::ToolBarItem* root = new Gui::ToolBarItem; - - // File - Gui::ToolBarItem* file = new Gui::ToolBarItem( root ); - file->setCommand("File"); - *file << "Std_New" - << "Std_Open" - << "Std_Save" - << "Std_Print" - << "Separator" - << "Std_Cut" - << "Std_Copy" - << "Std_Paste" - << "Separator" - << "Std_Undo" - << "Std_Redo" - << "Separator" - << "Std_Refresh" - << "Separator" - << "Std_Workbench" - << "Std_WhatsThis"; - - // Macro - Gui::ToolBarItem* macro = new Gui::ToolBarItem( root ); - macro->setCommand("Macro"); - *macro << "Std_DlgMacroRecord" << "Std_MacroStopRecord" << "Std_DlgMacroExecute" - << "Std_DlgMacroExecuteDirect"; - - // View - Gui::ToolBarItem* view = new Gui::ToolBarItem( root ); - view->setCommand("View"); - *view << "Std_ViewFitAll" << "Separator" << "Std_ViewAxo" << "Separator" << "Std_ViewFront" - << "Std_ViewTop" << "Std_ViewRight" << "Separator" << "Std_ViewRear" << "Std_ViewBottom" - << "Std_ViewLeft" << "Separator" << "Std_MeasureDistance"; - - // Part - if (mods.contains(QSTRING("PartGui"))) { - Gui::ToolBarItem* part_design = new Gui::ToolBarItem( root ); - part_design->setCommand("Part"); - *part_design - << "Part_Box" - << "Part_Cylinder" - << "Part_Sphere" - << "Part_Cone" - << "Part_Torus" - //<< "Part_Primitives" - << "Separator" - << "Part_Boolean" - << "Part_Cut" - << "Part_Fuse" - << "Part_Common" - << "Part_Section" - << "Separator" - << "Part_Extrude" - << "Part_Revolve" - << "Part_Mirror" - << "Part_Fillet" - << "Part_Chamfer"; - } - - if (mods.contains(QSTRING("SketcherGui"))) { - Gui::ToolBarItem* geom = new Gui::ToolBarItem(root); - geom->setCommand("Sketcher geometries"); - *geom << "Sketcher_NewSketch" - << "Sketcher_LeaveSketch" - << "Separator" - << "Sketcher_CreatePoint" - << "Sketcher_CompCreateArc" - << "Sketcher_CompCreateCircle" - << "Sketcher_CreateLine" - << "Sketcher_CreatePolyline" - << "Sketcher_CreateRectangle" - << "Separator" - << "Sketcher_CreateFillet" - << "Sketcher_Trimming" - << "Sketcher_External" - << "Sketcher_ToggleConstruction" - /*<< "Sketcher_CreateText"*/ - /*<< "Sketcher_CreateDraftLine"*/; - - Gui::ToolBarItem* cons = new Gui::ToolBarItem(root); - cons->setCommand("Sketcher constraints"); - *cons << "Sketcher_ConstrainCoincident" - << "Sketcher_ConstrainPointOnObject" - << "Sketcher_ConstrainVertical" - << "Sketcher_ConstrainHorizontal" - << "Sketcher_ConstrainParallel" - << "Sketcher_ConstrainPerpendicular" - << "Sketcher_ConstrainTangent" - << "Sketcher_ConstrainEqual" - << "Sketcher_ConstrainSymmetric" - << "Separator" - << "Sketcher_ConstrainLock" - << "Sketcher_ConstrainDistanceX" - << "Sketcher_ConstrainDistanceY" - << "Sketcher_ConstrainDistance" - << "Sketcher_ConstrainRadius" - << "Sketcher_ConstrainAngle"; - } - - // Part Design - if (mods.contains(QSTRING("PartDesignGui"))) { - Gui::ToolBarItem* partdesign = new Gui::ToolBarItem(root); - partdesign->setCommand("Part Design"); - *partdesign - << "PartDesign_Pad" - << "PartDesign_Pocket" - << "PartDesign_Revolution" - << "PartDesign_Groove" - << "PartDesign_Fillet" - << "PartDesign_Chamfer" - << "PartDesign_Mirrored" - << "PartDesign_LinearPattern" - << "PartDesign_PolarPattern" - << "PartDesign_MultiTransform"; - } - - // Drawing - if (mods.contains(QSTRING("DrawingGui"))) { - Gui::ToolBarItem* drawing = new Gui::ToolBarItem( root ); - drawing->setCommand("Drawings"); - *drawing << "Drawing_Open" - << "Separator" - << "Drawing_NewA3Landscape" - << "Drawing_NewView" - << "Drawing_ExportPage" ; - } - - // Raytracing - if (mods.contains(QSTRING("RaytracingGui"))) { - Gui::ToolBarItem* raytracing = new Gui::ToolBarItem( root ); - raytracing->setCommand("Raytracing"); - *raytracing << "Raytracing_WriteView" - << "Raytracing_WriteCamera" - << "Raytracing_WritePart" - << "Separator" - << "Raytracing_NewPovrayProject" - << "Raytracing_NewPartSegment" - << "Raytracing_ExportProject"; - } - - // Drafting **************************************************************************************************** - if (mods.contains(QSTRING("DraftGui")) && mgr.getCommandByName("Draft_Line")) { - Gui::ToolBarItem* Drafting = new Gui::ToolBarItem( root ); - Drafting->setCommand("Drafting"); - *Drafting - << "Draft_Line" - << "Draft_Wire" - << "Draft_Circle" - << "Draft_Arc" - << "Draft_Rectangle" - << "Draft_Polygon" - << "Draft_BSpline" - << "Draft_Text" - << "Draft_Dimension" - << "Separator" - << "Draft_Move" - << "Draft_Rotate" - << "Draft_Offset" - << "Draft_Trimex" - << "Draft_Upgrade" - << "Draft_Downgrade" - << "Draft_Scale" - << "Draft_Edit" - << "Draft_Drawing" - << "Draft_WireToBSpline" - << "Draft_AddPoint" - << "Draft_DelPoint" - << "Draft_Shape2DView"; - } - - return root; -} - -Gui::ToolBarItem* Workbench::setupCommandBars() const -{ - Gui::ToolBarItem* root = new Gui::ToolBarItem; - return root; -} - -Gui::DockWindowItems* Workbench::setupDockWindows() const -{ - Gui::DockWindowItems* root = Gui::StdWorkbench::setupDockWindows(); - root->setVisibility(false); // hide all dock windows by default - root->setVisibility("Std_CombiView",true); // except of the combi view - return root; -} diff --git a/src/Mod/Complete/Gui/Workbench.h b/src/Mod/Complete/Gui/Workbench.h deleted file mode 100644 index 181d77c596..0000000000 --- a/src/Mod/Complete/Gui/Workbench.h +++ /dev/null @@ -1,65 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2008 Werner Mayer * - * * - * This file is part of the FreeCAD CAx development system. * - * * - * This library is free software; you can redistribute it and/or * - * modify it under the terms of the GNU Library General Public * - * License as published by the Free Software Foundation; either * - * version 2 of the License, or (at your option) any later version. * - * * - * This library is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU Library General Public License for more details. * - * * - * You should have received a copy of the GNU Library General Public * - * License along with this library; see the file COPYING.LIB. If not, * - * write to the Free Software Foundation, Inc., 59 Temple Place, * - * Suite 330, Boston, MA 02111-1307, USA * - * * - ***************************************************************************/ - - -#ifndef COMPLETEGUI_WORKBENCH_H -#define COMPLETEGUI_WORKBENCH_H - -#include - -#include - -#define QSTRING(x) QString::fromLatin1(x) - -extern QList mods; - -namespace CompleteGui { - -/** - * @author Werner Mayer - */ -class CompleteGuiExport Workbench : public Gui::StdWorkbench -{ - TYPESYSTEM_HEADER(); - -public: - Workbench(); - virtual ~Workbench(); - - /** Defines the standard context menu. */ - virtual void setupContextMenu(const char* recipient,Gui::MenuItem*) const; - -protected: - /** Defines the standard menus. */ - virtual Gui::MenuItem* setupMenuBar() const; - /** Defines the standard toolbars. */ - virtual Gui::ToolBarItem* setupToolBars() const; - /** Defines the standard command bars. */ - virtual Gui::ToolBarItem* setupCommandBars() const; - /** Returns a DockWindowItems structure of dock windows this workbench. */ - virtual Gui::DockWindowItems* setupDockWindows() const; - - -}; // namespace CompleteGui - -} -#endif // COMPLETE_WORKBENCH_H diff --git a/src/Mod/Complete/InitGui.py b/src/Mod/Complete/InitGui.py index 380c6ccf26..276f28a6a8 100644 --- a/src/Mod/Complete/InitGui.py +++ b/src/Mod/Complete/InitGui.py @@ -1,4 +1,4 @@ -# Complete gui init module +# Complete gui init module # (c) 2003 Juergen Riegel # # Gathering all the information to start FreeCAD @@ -30,8 +30,7 @@ #***************************************************************************/ - -class CompleteWorkbench ( Workbench ): +class CompleteWorkbench(Workbench): "Complete workbench object" def __init__(self): self.__class__.Icon = FreeCAD.getResourceDir() + "Mod/Complete/Resources/icons/CompleteWorkbench.svg" @@ -39,10 +38,9 @@ class CompleteWorkbench ( Workbench ): self.__class__.ToolTip = "Complete workbench" def Initialize(self): - # load the module - import CompleteGui - import Complete + pass + def GetClassName(self): - return "CompleteGui::Workbench" + return "Gui::PythonWorkbench" Gui.addWorkbench(CompleteWorkbench()) diff --git a/src/Mod/Complete/complete.dox b/src/Mod/Complete/complete.dox deleted file mode 100644 index b6eaeaa300..0000000000 --- a/src/Mod/Complete/complete.dox +++ /dev/null @@ -1,3 +0,0 @@ -/** \defgroup COMPLETE Complete - * \ingroup WORKBENCHES */ -