+import tempfile
+from time import sleep
+
+#------------------------------------
+# import des modules wx
+#------------------------------------
+import wx
+
+#------------------------------------
+# import des fichiers du projet
+#------------------------------------
from chemins import ffr, ConstructAfcmPath, ConstructPathOut
from functions import exec_rcode, check_Rresult
from ProfList import *
from dialog import PrefQuestAlc
from chemins import ffr, ConstructAfcmPath, ConstructPathOut
from functions import exec_rcode, check_Rresult
from ProfList import *
from dialog import PrefQuestAlc
def __init__(self, parent, LISTNUMACTIVE, LISTVARSUP):
#FIXME
self.parent = parent
def __init__(self, parent, LISTNUMACTIVE, LISTVARSUP):
#FIXME
self.parent = parent
while pid.poll() == None :
sleep(0.2)
check_Rresult(self.parent, pid)
while pid.poll() == None :
sleep(0.2)
check_Rresult(self.parent, pid)
# def OnRGL(self, event):
# self.parent.text_ctrl_1.write('runrgl\n')
# RAFC3DRGL = os.path.join(self.PathFile, self.RAFC3DRGL)
# RunRgl(RAFC3DRGL)
# def OnRGL(self, event):
# self.parent.text_ctrl_1.write('runrgl\n')
# RAFC3DRGL = os.path.join(self.PathFile, self.RAFC3DRGL)
# RunRgl(RAFC3DRGL)
def __init__(self, parent):
dlg = PrefQuestAlc(parent, sim = True)
#dlg = CHDDialog(parent, -1, u"AFCM", size=(350, 400), style=wx.DEFAULT_DIALOG_STYLE)
def __init__(self, parent):
dlg = PrefQuestAlc(parent, sim = True)
#dlg = CHDDialog(parent, -1, u"AFCM", size=(350, 400), style=wx.DEFAULT_DIALOG_STYLE)
afcm = AFCMQ(parent, LISTNUMACTIVE, LISTVARSUP)
txtgraph = afcm.DoLayout()
parent.newtab = wx.html.HtmlWindow(parent.nb, -1)
if "gtk2" in wx.PlatformInfo:
parent.newtab.SetStandardFonts()
parent.newtab.SetPage(txtgraph)
afcm = AFCMQ(parent, LISTNUMACTIVE, LISTVARSUP)
txtgraph = afcm.DoLayout()
parent.newtab = wx.html.HtmlWindow(parent.nb, -1)
if "gtk2" in wx.PlatformInfo:
parent.newtab.SetStandardFonts()
parent.newtab.SetPage(txtgraph)