-class AnalyseQuest():
- def __init__(self, parent):
- dlg = PrefQuestAlc(parent)
- dlg.CenterOnParent()
- self.val = dlg.ShowModal()
- parametres = parent.tableau.parametre
- if self.val == wx.ID_OK :
- parametres['nbcl_p1'] = dlg.spin_nbcl.GetValue()
- parametres['mincl'] = dlg.spin_mincl.GetValue()
- if dlg.m_radioBox1.GetSelection() == 1 :
- parametres['listact'] = dlg.nactives
- parametres['listsup'] = dlg.varsup
+class AnalyseQuest(AnalyseMatrix):
+ def doparametres(self, dlg = None):
+ if dlg is not None :
+ dial = PrefQuestAlc(self.parent, self.tableau)
+ dial.CenterOnParent()
+ self.val = dial.ShowModal()
+ #parametres = self.tableau.parametre
+ if self.val == wx.ID_OK :
+ self.parametres['nbcl_p1'] = dial.spin_nbcl.GetValue()
+ self.parametres['mincl'] = dial.spin_mincl.GetValue()
+ if dial.m_radioBox1.GetSelection() == 1 :
+ self.parametres['listact'] = dial.nactives
+ self.parametres['listsup'] = dial.varsup
+ else :
+ self.parametres['formatted'] = 1