Salome HOME
e8b344eaf249036eb749d863f28e8d288727e9fa
[modules/yacs.git] / src / pyqt / yacsedit.py
1 #  Copyright (C) 2006-2008  CEA/DEN, EDF R&D
2 #
3 #  This library is free software; you can redistribute it and/or
4 #  modify it under the terms of the GNU Lesser General Public
5 #  License as published by the Free Software Foundation; either
6 #  version 2.1 of the License.
7 #
8 #  This library is distributed in the hope that it will be useful,
9 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
10 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 #  Lesser General Public License for more details.
12 #
13 #  You should have received a copy of the GNU Lesser General Public
14 #  License along with this library; if not, write to the Free Software
15 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 # -*- coding: iso-8859-1 -*-
20 #
21 import sys
22 import glob
23 import SALOMERuntime
24 import pilot
25 import salomeloader
26 from gui import Item
27 from gui import Items
28 from gui import adapt
29 from qt import *
30 from gui.Appli import Appli
31
32 SALOMERuntime.RuntimeSALOME_setRuntime()
33
34 loader=salomeloader.SalomeLoader()
35
36 app = QApplication(sys.argv)
37 t=Appli()
38 app.setMainWidget(t)
39 t.show()
40 app.exec_loop()
41