Salome HOME
Synchronize adm files
[modules/yacs.git] / src / pyqt / yacsedit.py
1 # Copyright (C) 2006-2014  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, or (at your option) any later version.
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
20 # -*- coding: iso-8859-1 -*-
21 #
22 import sys
23 import glob
24 import SALOMERuntime
25 import pilot
26 import salomeloader
27 from gui import Item
28 from gui import Items
29 from gui import adapt
30 from qt import *
31 from gui.Appli import Appli
32
33 SALOMERuntime.RuntimeSALOME_setRuntime()
34
35 loader=salomeloader.SalomeLoader()
36
37 app = QApplication(sys.argv)
38 t=Appli()
39 app.setMainWidget(t)
40 t.show()
41 app.exec_loop()
42