Redefine complete workbench purpose

This commit is contained in:
triplus
2017-05-29 01:22:55 +02:00
committed by wmayer
parent 83095ca574
commit a9007015b0
79 changed files with 26 additions and 4034 deletions

View File

@@ -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 <Python.h>
#endif
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
#include <Base/Console.h>
#include <Base/PyObjectBase.h>
#include <Base/Interpreter.h>
#include "CompleteConfiguration.h"
namespace Complete {
class Module : public Py::ExtensionModule<Module>
{
public:
Module() : Py::ExtensionModule<Module>("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);
}

View File

@@ -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})

View File

@@ -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 <FCConfig.h>
// 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

View File

@@ -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"

View File

@@ -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 <FCConfig.h>
// 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 <iostream>
#include <sstream>
#include <stdio.h>
#include <assert.h>
#include <string>
#include <map>
#include <vector>
#include <set>
#include <bitset>
#include <Python.h>
#endif // _PreComp_
#endif

View File

@@ -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
)

View File

@@ -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 <Python.h>
#endif
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
#include <Base/Console.h>
#include <Base/Interpreter.h>
#include <Gui/Application.h>
#include <Gui/WorkbenchManager.h>
#include <Gui/Language/Translator.h>
#include "Workbench.h"
#include <Mod/Complete/App/CompleteConfiguration.h>
QList<QString> 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<Module>
{
public:
Module() : Py::ExtensionModule<Module>("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);
}

View File

@@ -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")

View File

@@ -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 <Gui/Application.h>
#include <Gui/Command.h>
#include <Gui/MainWindow.h>
#include <Gui/FileDialog.h>
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());
}

View File

@@ -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"

View File

@@ -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 <FCConfig.h>
// 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 <Python.h>
// standard
#include <iostream>
#include <assert.h>
#include <cmath>
// STL
#include <vector>
#include <map>
#include <string>
#include <list>
#include <set>
#include <algorithm>
#include <stack>
#include <queue>
#include <bitset>
#ifdef FC_OS_WIN32
# include <windows.h>
#endif
// Qt Toolkit
#ifndef __Qt4All__
# include <Gui/Qt4All.h>
#endif
#endif //_PreComp_
#endif // COMPLETEGUI_PRECOMPILED_H

View File

@@ -1,36 +0,0 @@
<RCC>
<qresource>
<file>icons/CompleteWorkbench.svg</file>
<file>translations/Complete_af.qm</file>
<file>translations/Complete_de.qm</file>
<file>translations/Complete_fi.qm</file>
<file>translations/Complete_fr.qm</file>
<file>translations/Complete_hr.qm</file>
<file>translations/Complete_it.qm</file>
<file>translations/Complete_nl.qm</file>
<file>translations/Complete_no.qm</file>
<file>translations/Complete_pl.qm</file>
<file>translations/Complete_ru.qm</file>
<file>translations/Complete_uk.qm</file>
<file>translations/Complete_tr.qm</file>
<file>translations/Complete_sv-SE.qm</file>
<file>translations/Complete_zh-TW.qm</file>
<file>translations/Complete_pt-BR.qm</file>
<file>translations/Complete_cs.qm</file>
<file>translations/Complete_sk.qm</file>
<file>translations/Complete_es-ES.qm</file>
<file>translations/Complete_zh-CN.qm</file>
<file>translations/Complete_ja.qm</file>
<file>translations/Complete_ro.qm</file>
<file>translations/Complete_hu.qm</file>
<file>translations/Complete_pt-PT.qm</file>
<file>translations/Complete_sr.qm</file>
<file>translations/Complete_el.qm</file>
<file>translations/Complete_sl.qm</file>
<file>translations/Complete_eu.qm</file>
<file>translations/Complete_ca.qm</file>
<file>translations/Complete_gl.qm</file>
<file>translations/Complete_kab.qm</file>
<file>translations/Complete_ko.qm</file>
</qresource>
</RCC>

View File

@@ -1,2 +0,0 @@
python ..\..\..\..\Tools\dir2qrc.py -v -o Complete.qrc
@pause

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="af" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Volledig</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Beperking met &apos;n as...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>definieer &apos;n bewegingsbeperking tussen twee voorwerpe met &apos;n as</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Selftoets...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Loop &apos;n selftoets om na te gaan dat die toepassing ordentlik werk</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation type="unfinished">Dr&amp;awing</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation type="unfinished">S&amp;ketch</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Straalsporing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Teken</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Sketsgebaseerd</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation type="unfinished">Primitives</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametries</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Voorwerpvoorkoms</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Draadwerktuie</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ca" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Completat</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Eix de restricció...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>estableix una restricció axial entre dos objectes</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Autoprova...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Executa un autotest per comprovar si l&apos;aplicació funciona correctament</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Dibuixar</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Esbós</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp; Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Borrador</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Basat en esbós</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitives</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Aparença del objecte</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Aparença d&apos;objecte</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Eines de filferro</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="cs" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Dokončit</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Vazba osy...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Nastavit vazbu os mezi dvěma objekty</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Samočinný test...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Spustí test sebe sama pro kontrolu jestli aplikace pracuje správně</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>V&amp;ýkres</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;kica</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>Návrh</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Náčrtek</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Základní tvary</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrické</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Vzhled objektu</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Nástroje drátu</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="de" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Komplett</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Achse vorgeben...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Eine Achse zwischen zwei Objekten vorgeben</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Selbsttest...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Führt einen Selbsttest durch, um zu prüfen, ob die Anwendung richtig funktioniert</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Zeic&amp;hnung</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;kizze</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Entwurf</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>skizzenbasiert</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Grundkörper</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Objekt Aussehen</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrisch</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Objektdarstellung</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Linien-Werkzeuge</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="el" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Ολοκληρώθηκε</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Περιορισμός άξονα...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>ορίσετε περιορισμό άξονα μεταξύ δύο αντικειμένων</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Αυτοδιάγνωση...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Εκτελεί αυτοδιάγνωση, για να διαπιστωθεί αν η εφαρμογή λειτουργεί όπως θα έπρεπε.</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Ζωγρα&amp;φική</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Σ&amp;κίτσο</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation type="unfinished">&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Σύνταξη</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Βασισμένο σε σκίτσο</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Πρωτόγονοι</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Εμφάνιση αντικειμένου</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Εργαλεία Σύρματος</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="es-ES" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Completa</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Restricción de eje...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>definir una restricción de eje entre dos objetos</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Auto-prueba...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Ejecuta una auto-prueba para comprobar si la aplicación funciona correctamente</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Dibujar</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Croquis</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Borrador</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Basado en croquis</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitivas</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Aspecto del objeto</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Paramétrico</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Apariencia del objeto</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Herramientas de alambre</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="eu" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Osoa</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation type="unfinished">Constraint Axle...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation type="unfinished">set a axle constraint between two objects</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Proba automatikoa...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Proba automatikoa exekutatzen du aplikazioak ongi funtzionatzen duela egiaztatzeko</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>M&amp;arrazkia</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>&amp;Krokisa</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Izpi-hedaketa</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Zirriborroa</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Krokisean oinarritua</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Jatorrizkoak</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Objektu-itxura</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Objektu-itxura</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Alanbre-tresnak</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fi" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Valmis</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Akseli rajoite...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Määritä akseli rajoite kahden kohteen välille</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Itsetestaus...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Suoritetaan itsetestaus ja tarkistetaan, toimiiko sovellus oikein</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>P&amp;iirustus</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>L&amp;uonnos</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Säteenseuranta</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Hahmottelu</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Luonnokseen perustuva</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Perusalkiot</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrinen</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Kohteen ulkoasu</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Lanka työkalut</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="fr" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Complet</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Contrainte axiale...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>définir une contrainte axiale entre deux objets</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Auto-test...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Exécute un auto-test pour vérifier si l&apos;application fonctionne correctement</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>&amp;Mise en plan</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Es&amp;quisse</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Lancer de rayon</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Planche à dessin</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>À base d&apos;esquisse</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitives</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Apparence de l&apos;objet</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Paramétrique</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Apparence d&apos;objet</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Outils filaires</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="gl" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Rematado</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation type="unfinished">Constraint Axle...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation type="unfinished">set a axle constraint between two objects</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Auto-proba...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Executa unha auto-proba para comprobar se a aplicación traballa correctamente</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>&amp;Deseño</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>&amp;Esbozo</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Bosquexar</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Baseado en esbozo</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitivas</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Aparencia do obxecto</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Aparencia do obxecto</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Ferramentas de arame</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="hr" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Kompletan</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Ograničena osovina...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>postaviti ograničenja osovine između dva objekta</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Samoprovjera ...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Izvrši samoprovjeru i vidi da li program radi ispravno</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Cr&amp;tež</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;kica</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>Metode trasiranja putem zrake</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Skica</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Na temelju skice</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitivi</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametarski</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Izgled objekta</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Alati žice</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="hu" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Befejez</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Tengely menti kötés...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>tengely menti kötést hoz létre két tárgy között</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Ön-teszt...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Fut egy önteszt, hogy ellenőrizze, ha az alkalmazás megfelelően működik</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>R&amp;ajzolás</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;kicc</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>Sugá&amp;riánynyomvonal</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>Tervrajzkészítés</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Vázlat alap</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitívek</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Objektum megjelenése</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Változós</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Az objektum megjelenése</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Vonal eszköztár</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="it" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Completo</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Vincolo assiale...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Imposta un vincolo assiale tra due oggetti</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Autotest...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Esegue un autotest per verificare se l&apos;applicazione funziona correttamente</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>D&amp;isegno</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;ketch</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>Draf&amp;ting</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Sketch</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitive</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Aspetto dell&apos;oggetto</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrica</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Aspetto dell&apos;oggetto</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Strumenti Wire</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ja" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation></translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation></translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation> (&amp;a)</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation> (&amp;k)</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation> (&amp;R)</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>2 (&amp;D)</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation></translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete"></translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation></translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="kab" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Immed</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Contrainte axiale...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>définir une contrainte axiale entre deux objets</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Auto-test...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Exécute un auto-test pour vérifier si l&apos;application fonctionne correctement</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>&amp;Mise en plan</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Es&amp;quisse</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Lancer de rayon</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Planche à dessin</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>À base d&apos;esquisse</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation type="unfinished">Primitives</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Apparence d&apos;objet</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Outils filaires</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ko" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation> ...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation> .</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation> ...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation> </translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation> (&amp; a)</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation> (&amp; k)</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation type="unfinished">&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation> </translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation> </translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete"> </translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation> </translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="nl" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Voltooid</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>As-beperking...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Stel een as-beperking in tussen twee objecten</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Zelftest...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Voert een zelf-test uit, om te controleren of de toepassing correct werkt</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>&amp;Tekening</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;chets</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Realistische Weergave</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Opstellen</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Schets gebaseerd</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Basisvormen</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Object uiterlijk</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrisch</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Object uiterlijk</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Draad Gereedschap</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="no" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Fullført</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Aksellås...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>angi en akselbetingelse mellom to objekter</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Selvtest...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Kjører en selvtest for å kontrollere om programmet fungerer riktig</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>T&amp;egning</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>K&amp;ladd</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Strålesporing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Skissering</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Skissebasert</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitiver</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrisk</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Objektutseende</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Lenkeverktøy</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="pl" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Kompletny</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Ograniczenie osi...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>ustaw ograniczenie osi między dwoma obiektami</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Autotest...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Wykonanie autotestu w celu sprawdzenia poprawności działania aplikacji.</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Rysow&amp;anie</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Sz&amp;kic</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Kreślenie</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Ze szkicu</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Początkowe</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametryczny</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Wygląd obiektu</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Narzędzia Szkieletu</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="pt-BR" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Completo</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Restrição de eixo...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>definir uma restrição de eixo entre dois objetos</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Teste automático...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Executa um teste automático para verificar se o aplicativo funciona corretamente</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Desenho</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Esboço</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Traço</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Baseado em esboço</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitivas</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Paramétrico</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Aparência do objeto</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Ferramentas de arame</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="pt-PT" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Concluído</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Restrição de Eixo...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Define uma restrição de eixo entre dois objetos</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Teste Automático ...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Executa um teste automático para verificar se a aplicação funciona corretamente</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>&amp;Desenho (folha)</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>&amp;Esboço</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp; Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Ferramentas de traço</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Baseado em esboço</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitivas</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Paramétrico</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Aparência do objeto</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Ferramentas de Linha</translation>
</message>
</context>
</TS>

View File

@@ -1,87 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ro" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Finalizat</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Axa de restricție...
</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>setează o restricție axială între două obiecte</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Auto evaluare...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Rulează o auto-evaluare pentru a verifica dacă aplicaţia funcţionează corespunzător</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>D&amp;esen</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;chiţă</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Schiţare</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Bazat pe o schiţă</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitive</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Aparenţa obiectului</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Instrumente pentru polilinii</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="ru" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Выполнено</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Ограничение оси...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>задать ось ограниченную двумя объектами</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Самотестирование ...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Выполняет самопроверку для проверки правильности функционирования приложения</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Рисование</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Наборосок</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Трассировка лучей</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Черчение</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Основанный на эскизе</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Примитивы</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Внешний вид объекта</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Параметрический</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Внешность объекта</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Проволочные инструменты</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="sk" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Dokončené</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Os obmedzenia...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>nastaviť os obmedzenia medzi dvoma objektmi</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Bezpečnostný test...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Spusť bezpečnostný test pre overenie, či aplikácia funguje správne</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Kreslenie</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Náčrt</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Raytracing</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Náčrt</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Základný náčrt</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Základný</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrické</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Vzhľad objektu</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Nástroje čiar</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="sl" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Celotno</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Omejitev osi...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>določite osne omejitve med dvema objektoma</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Preizkus lastnega delovanja...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Zažene preizkus za preveritev pravilnega delovanja programa</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Risb&amp;a</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;kica</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Sledenje žarku</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Osnovanje</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Na osnovi skice</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Osnovne oblike</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Prikaz objekta</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametric</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Prikaz objekta</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Orodja za žice</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="sr" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Комплетан</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Осовина ограничења</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>поставите осовину ограничења између два објекта</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Самопровера...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Извршава самопроверу да утврди да ли апликација ради исправно</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Цр&amp;теж</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>С&amp;кица</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>И Праћење снопа</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Недовршено</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>на основу скице</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Примитиви</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Параметарски</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Изглед објекта</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Алати за Жицу</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="sv-SE" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Komplett</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Begränsningsaxel...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>Sätt en axelbegränsning mellan två objekt</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Självtest ...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Kör ett självtest för att kontrollera om programmet fungerar</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>&amp;Ritning</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>S&amp;kiss</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>R&amp;endering</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Skissning</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Skiss baserad</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Primitiver</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Objekt Utseende</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Parametrisk</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Objekt utseende</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Trådverktyg</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="tr" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Tam</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Sınırlama Mili...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>İki nesne arasındaki sınırlama milini belirle</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Otomatik test</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Uygulamanın düzgün çalışıp çalışmadığını denetlemek için bir özsınama çalıştırır</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Çi&amp;zim</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>&amp;Eskiz</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;ınizleme</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Taslak hazırlama</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Kroki temelli</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Temel öğeler</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation>Nesne görünümü</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Değişken tabanlı (Parametrik)</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Nesne görünümü</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Tel Araçları</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="uk" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation>Виконано</translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>Обмеження осі...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation>задати вісь обмежену двома об&apos;єктами</translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>Самотестування...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation>Запускає самотестування для перевірки того, що програма працює належним чином</translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>Креслення</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>Ескіз</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>&amp;Трасування променів</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>&amp;Креслення</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation>Базуючись на ескізі</translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation>Примітиви</translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete">Параметричний</translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete">Поведінка об&apos;єкту</translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>Інструменти каркасу</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh-CN" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation></translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation></translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>(&amp;a)</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>(&amp;k)</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>线(&amp;R)</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>(&amp;D)</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete"></translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation>线</translation>
</message>
</context>
</TS>

View File

@@ -1,86 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="zh-TW" sourcelanguage="en">
<context>
<name>CmdCompleteConstraintAxle</name>
<message>
<location filename="../../Command.cpp" line="+42"/>
<source>Complete</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Constraint Axle...</source>
<translation>...</translation>
</message>
<message>
<location line="+1"/>
<source>set a axle constraint between two objects</source>
<translation></translation>
</message>
</context>
<context>
<name>Test_Test</name>
<message>
<location filename="../../Workbench.cpp" line="+57"/>
<source>Self-test...</source>
<translation>...</translation>
</message>
<message>
<location line="+1"/>
<source>Runs a self-test to check if the application works properly</source>
<translation></translation>
</message>
</context>
<context>
<name>Workbench</name>
<message>
<location line="-9"/>
<source>Dr&amp;awing</source>
<translation>(&amp;Dr)</translation>
</message>
<message>
<location line="-1"/>
<source>S&amp;ketch</source>
<translation>&amp;</translation>
</message>
<message>
<location line="+2"/>
<source>&amp;Raytracing</source>
<translation>(&amp;R)</translation>
</message>
<message>
<location line="+1"/>
<source>&amp;Drafting</source>
<translation>(&amp;D)</translation>
</message>
<message>
<location line="+1"/>
<source>Sketch based</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Primitives</source>
<translation></translation>
</message>
<message>
<location line="+1"/>
<source>Object appearance</source>
<translation type="unfinished">Object appearance</translation>
</message>
<message>
<source>Parametric</source>
<translation type="obsolete"></translation>
</message>
<message>
<source>Object appearence</source>
<translation type="obsolete"></translation>
</message>
<message>
<location line="+1"/>
<source>Wire Tools</source>
<translation></translation>
</message>
</context>
</TS>

View File

@@ -1,641 +0,0 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* 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 <qobject.h>
#endif
#include "Workbench.h"
#include <Gui/ToolBarManager.h>
#include <Gui/MenuManager.h>
#include <Gui/ToolBarManager.h>
#include <Gui/DockWindowManager.h>
#include <Gui/Application.h>
#include <Gui/Action.h>
#include <Gui/Command.h>
#include <Gui/Selection.h>
#include <Gui/ToolBoxManager.h>
#include <App/Document.h>
#include <App/DocumentObject.h>
#include <Mod/Complete/App/CompleteConfiguration.h>
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;
}

View File

@@ -1,65 +0,0 @@
/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* 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 <QList>
#include <Gui/Workbench.h>
#define QSTRING(x) QString::fromLatin1(x)
extern QList<QString> 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

View File

@@ -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())

View File

@@ -1,3 +0,0 @@
/** \defgroup COMPLETE Complete
* \ingroup WORKBENCHES */