From 0c1bc4c18fcf3d78ab224bb0d0606404c9a58e43 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Thu, 17 Jan 2013 13:34:04 -0200 Subject: [PATCH] Updated license info for sphinx and start module --- src/Doc/sphinx/conf.py | 24 ++++++++++++++++++ src/Mod/Start/StartPage/ArchDesign.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/DefaultWorkbench.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/LoadArchExample.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/LoadDrawingExample.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/LoadMRU0.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/LoadMRU1.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/LoadMRU2.py | 23 +++++++++++++++++ .../Start/StartPage/LoadPartDesignExample.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/LoadRobotExample.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/LoadSchenkel.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/Mesh.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/PartDesign.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/Ship.py | 23 +++++++++++++++++ src/Mod/Start/StartPage/StartPage.py | 25 +++++++++++++++++++ 15 files changed, 348 insertions(+) diff --git a/src/Doc/sphinx/conf.py b/src/Doc/sphinx/conf.py index 895914d033f7..512f6f5fc003 100644 --- a/src/Doc/sphinx/conf.py +++ b/src/Doc/sphinx/conf.py @@ -1,4 +1,28 @@ # -*- coding: utf-8 -*- + +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + # # FreeCAD documentation build configuration file, created by # sphinx-quickstart on Wed Nov 30 10:49:09 2011. diff --git a/src/Mod/Start/StartPage/ArchDesign.py b/src/Mod/Start/StartPage/ArchDesign.py index 66df2e36f712..37eb75438481 100644 --- a/src/Mod/Start/StartPage/ArchDesign.py +++ b/src/Mod/Start/StartPage/ArchDesign.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCADGui FreeCADGui.activateWorkbench("ArchWorkbench") App.newDocument() diff --git a/src/Mod/Start/StartPage/DefaultWorkbench.py b/src/Mod/Start/StartPage/DefaultWorkbench.py index ca1288a807b2..76ed2161da79 100644 --- a/src/Mod/Start/StartPage/DefaultWorkbench.py +++ b/src/Mod/Start/StartPage/DefaultWorkbench.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD, FreeCADGui workbench = FreeCAD.ConfigGet("DefaultWorkbench") if not workbench: workbench = "CompleteWorkbench" diff --git a/src/Mod/Start/StartPage/LoadArchExample.py b/src/Mod/Start/StartPage/LoadArchExample.py index ed3a5be411dd..6e19eef32c22 100644 --- a/src/Mod/Start/StartPage/LoadArchExample.py +++ b/src/Mod/Start/StartPage/LoadArchExample.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui FreeCAD.open(FreeCAD.getResourceDir()+"examples/ArchDetail.FCStd") FreeCADGui.activeDocument().sendMsgToViews("ViewFit") diff --git a/src/Mod/Start/StartPage/LoadDrawingExample.py b/src/Mod/Start/StartPage/LoadDrawingExample.py index 5067e60cf23f..af8783373823 100644 --- a/src/Mod/Start/StartPage/LoadDrawingExample.py +++ b/src/Mod/Start/StartPage/LoadDrawingExample.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui FreeCADGui.activateWorkbench("DrawingWorkbench") FreeCAD.open(FreeCAD.getResourceDir()+"examples/DrawingExample.FCStd") diff --git a/src/Mod/Start/StartPage/LoadMRU0.py b/src/Mod/Start/StartPage/LoadMRU0.py index 2a0459e5c441..4b25709602b3 100644 --- a/src/Mod/Start/StartPage/LoadMRU0.py +++ b/src/Mod/Start/StartPage/LoadMRU0.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui,sys rf=FreeCAD.ParamGet("User parameter:BaseApp/Preferences/RecentFiles") FreeCAD.loadFile(rf.GetString("MRU0")) diff --git a/src/Mod/Start/StartPage/LoadMRU1.py b/src/Mod/Start/StartPage/LoadMRU1.py index 7940f9363c08..799a5b7e8df2 100644 --- a/src/Mod/Start/StartPage/LoadMRU1.py +++ b/src/Mod/Start/StartPage/LoadMRU1.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui,sys rf=FreeCAD.ParamGet("User parameter:BaseApp/Preferences/RecentFiles") FreeCAD.loadFile(rf.GetString("MRU1")) diff --git a/src/Mod/Start/StartPage/LoadMRU2.py b/src/Mod/Start/StartPage/LoadMRU2.py index 9d36749022c3..12dcfdd1a9f3 100644 --- a/src/Mod/Start/StartPage/LoadMRU2.py +++ b/src/Mod/Start/StartPage/LoadMRU2.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui,sys rf=FreeCAD.ParamGet("User parameter:BaseApp/Preferences/RecentFiles") FreeCAD.loadFile(rf.GetString("MRU2")) diff --git a/src/Mod/Start/StartPage/LoadPartDesignExample.py b/src/Mod/Start/StartPage/LoadPartDesignExample.py index cab24874f401..56579b4a414b 100644 --- a/src/Mod/Start/StartPage/LoadPartDesignExample.py +++ b/src/Mod/Start/StartPage/LoadPartDesignExample.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui FreeCAD.open(FreeCAD.getResourceDir()+"examples/PartDesignExample.FCStd") FreeCADGui.activeDocument().sendMsgToViews("ViewFit") diff --git a/src/Mod/Start/StartPage/LoadRobotExample.py b/src/Mod/Start/StartPage/LoadRobotExample.py index 309298c7f57f..38763e1203b3 100644 --- a/src/Mod/Start/StartPage/LoadRobotExample.py +++ b/src/Mod/Start/StartPage/LoadRobotExample.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui FreeCAD.open(FreeCAD.getResourceDir()+"examples/RobotExample.FCStd") FreeCADGui.activeDocument().sendMsgToViews("ViewFit") diff --git a/src/Mod/Start/StartPage/LoadSchenkel.py b/src/Mod/Start/StartPage/LoadSchenkel.py index c79973d01085..2a84aba5643e 100644 --- a/src/Mod/Start/StartPage/LoadSchenkel.py +++ b/src/Mod/Start/StartPage/LoadSchenkel.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCAD,FreeCADGui,Part Part.open(FreeCAD.getResourceDir()+"examples/Schenkel.stp") FreeCADGui.activeDocument().sendMsgToViews("ViewFit") diff --git a/src/Mod/Start/StartPage/Mesh.py b/src/Mod/Start/StartPage/Mesh.py index 7592650b3646..b5574fc722c6 100644 --- a/src/Mod/Start/StartPage/Mesh.py +++ b/src/Mod/Start/StartPage/Mesh.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCADGui FreeCADGui.activateWorkbench("MeshWorkbench") App.newDocument() diff --git a/src/Mod/Start/StartPage/PartDesign.py b/src/Mod/Start/StartPage/PartDesign.py index 29af663ac44b..b312913dcdba 100644 --- a/src/Mod/Start/StartPage/PartDesign.py +++ b/src/Mod/Start/StartPage/PartDesign.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCADGui FreeCADGui.activateWorkbench("PartDesignWorkbench") App.newDocument() diff --git a/src/Mod/Start/StartPage/Ship.py b/src/Mod/Start/StartPage/Ship.py index 371ca2d69679..29dee30650c1 100644 --- a/src/Mod/Start/StartPage/Ship.py +++ b/src/Mod/Start/StartPage/Ship.py @@ -1,3 +1,26 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + import FreeCADGui FreeCADGui.activateWorkbench("ShipWorkbench") App.newDocument() diff --git a/src/Mod/Start/StartPage/StartPage.py b/src/Mod/Start/StartPage/StartPage.py index 117cca295556..478bf40c6284 100644 --- a/src/Mod/Start/StartPage/StartPage.py +++ b/src/Mod/Start/StartPage/StartPage.py @@ -1,3 +1,28 @@ +#*************************************************************************** +#* * +#* Copyright (c) 2012 * +#* Yorik van Havre * +#* * +#* This program is free software; you can redistribute it and/or modify * +#* it under the terms of the GNU Lesser General Public License (LGPL) * +#* as published by the Free Software Foundation; either version 2 of * +#* the License, or (at your option) any later version. * +#* for detail see the LICENCE text file. * +#* * +#* This program 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 program; if not, write to the Free Software * +#* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * +#* USA * +#* * +#*************************************************************************** + +# This is the start page template + import os,FreeCAD,FreeCADGui,tempfile,time,zipfile,urllib,re,cStringIO from PyQt4 import QtGui from xml.etree.ElementTree import parse