def BOkPressed(self):
QTPanel.BOkPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def BNextPressed(self):
QTPanelTBW2.BNextPressed(self)
def BOkPressed(self):
QTPanel.BOkPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def BNextPressed(self):
QTPanelTBW2.BNextPressed(self)
def BOkPressed(self):
QTPanel.BOkPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def BAjoutClicked(self):
self.node.parent.append_child(self.node.item.get_nom())
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
else :
self.TWChoix.removePage(self.TWChoix.page(2))
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
def BSupPressed(self):
QTPanel.BSupPressed(self)
def BOkPressed(self):
QTPanel.BOkPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
self.BuildLBValeurs()
self.listeValeursCourantes=self.node.item.GetListeValeurs()
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def BuildLBValeurs(self):
# redefinit en raison de l heritage par monFonctionPanel
SaisieValeur.BuildLBValeurs(self)
def BSupPressed(self):
QTPanel.BSupPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def Sup1Valeur(self):
index=self.LBValeurs.currentItem()
self.LBValeurs.removeItem(self.LBValeurs.currentItem())
def BOkPressed(self):
self.DefCmd()
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def BNextPressed(self):
QTPanelTBW2.BNextPressed(self)
def BSupPressed(self):
QTPanel.BSupPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
self.politique=PolitiqueUnique(node,parent)
self.InitLineEditVal()
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def InitLineEditVal(self):
valeur=self.node.item.get_valeur()
valeurTexte=self.politique.GetValeurTexte(valeur)
def BSupPressed(self):
QTPanel.BSupPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def BSupPressed(self):
QTPanel.BSupPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
def BSupPressed(self):
QTPanel.BSupPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
"""
SaisieSDCO.LESDCOReturnPressed(self)
+ def ViewDoc(self):
+ QTPanel.ViewDoc(self)
+
self.editor.init_modif()
self.node.delete()
+ def ViewDoc(self) :
+ cle_doc = self.node.item.get_docu()
+ if cle_doc == None : return
+ cle_doc = string.replace(cle_doc,'.','')
+ cle_doc = string.replace(cle_doc,'-','')
+ commande = self.editor.CONFIGURATION.exec_acrobat
+ nom_fichier = cle_doc+".pdf"
+ fichier = os.path.abspath(os.path.join(self.editor.CONFIGURATION.path_doc,
+ nom_fichier))
+ if os.name == 'nt':
+ os.spawnv(os.P_NOWAIT,commande,(commande,fichier,))
+ elif os.name == 'posix':
+ script ="#!/usr/bin/sh \n%s %s&" %(commande,fichier)
+ pid = os.system(script)
+
def BOkPressed(self):
""" Impossible d utiliser les vrais labels avec designer ?? """
label=self.TWChoix.tabLabel(self.TWChoix.currentPage())
# Form implementation generated from reading ui file 'desCommande.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 08:41:43 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
self.connect(self.LENomConcept,SIGNAL("returnPressed()"),self.LENomConceptReturnPressed)
self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand)
- self.connect(self.bHelp,SIGNAL("clicked()"),self.BHelpPressed)
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed)
def BuildTabCommand(self):
print "DComm.BuildTabCommand(): Not implemented yet"
- def BHelpPressed(self):
- print "DComm.BHelpPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DComm.ViewDoc(): Not implemented yet"
def BNextPressed(self):
print "DComm.BNextPressed(): Not implemented yet"
<sender>bHelp</sender>
<signal>clicked()</signal>
<receiver>DComm</receiver>
- <slot>BHelpPressed()</slot>
+ <slot>ViewDoc()</slot>
</connection>
<connection>
<sender>BNext</sender>
<slot>LENomConceptReturnPressed()</slot>
<slot>BOkPressed()</slot>
<slot>BuildTabCommand()</slot>
- <slot>BHelpPressed()</slot>
+ <slot>ViewDoc()</slot>
<slot>BNextPressed()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
# Form implementation generated from reading ui file 'desError.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 08:21:36 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
def BSupPressed(self):
print "DError.BSupPressed(): Not implemented yet"
- def ViewDoc(self):
- print "DError.ViewDoc(): Not implemented yet"
-
- def BOkPressed(self):
- print "DError.BOkPressed(): Not implemented yet"
-
def __tr(self,s,c = None):
return qApp.translate("DError",s,c)
</connections>
<slots>
<slot>BSupPressed()</slot>
- <slot>ViewDoc()</slot>
- <slot>BOkPressed()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desFormule.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 08:49:35 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
self.connect(self.LENomFormule,SIGNAL("returnPressed()"),self.NomFormuleSaisi)
self.connect(self.LENomsArgs,SIGNAL("returnPressed()"),self.argsSaisis)
self.connect(self.LECorpsFormule,SIGNAL("returnPressed()"),self.FormuleSaisie)
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
def languageChange(self):
def FormuleSaisie(self):
print "DFormule.FormuleSaisie(): Not implemented yet"
+ def ViewDoc(self):
+ print "DFormule.ViewDoc(): Not implemented yet"
+
def __tr(self,s,c = None):
return qApp.translate("DFormule",s,c)
<receiver>DFormule</receiver>
<slot>FormuleSaisie()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DFormule</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
<slot>LBNouvCommandeClicked()</slot>
<slot>NomFormuleSaisi()</slot>
<slot>argsSaisis()</slot>
<slot>FormuleSaisie()</slot>
+ <slot>ViewDoc()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desInactif.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 08:23:03 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
def BSupPressed(self):
print "DInactif.BSupPressed(): Not implemented yet"
- def ViewDoc(self):
- print "DInactif.ViewDoc(): Not implemented yet"
-
- def BOkPressed(self):
- print "DInactif.BOkPressed(): Not implemented yet"
-
def __tr(self,s,c = None):
return qApp.translate("DInactif",s,c)
</connections>
<slots>
<slot>BSupPressed()</slot>
- <slot>ViewDoc()</slot>
- <slot>BOkPressed()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desMCFact.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 09:00:26 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed)
self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
def languageChange(self):
self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef"))
- def LBNouvCommandeClicked(self):
- print "DMCFact.LBNouvCommandeClicked(): Not implemented yet"
-
- def LEFiltreTextChanged(self):
- print "DMCFact.LEFiltreTextChanged(): Not implemented yet"
-
- def LEfiltreReturnPressed(self):
- print "DMCFact.LEfiltreReturnPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DMCFact.ViewDoc(): Not implemented yet"
def BSupPressed(self):
print "DMCFact.BSupPressed(): Not implemented yet"
def BOkPressed(self):
print "DMCFact.BOkPressed(): Not implemented yet"
- def buildTabCommand(self):
- print "DMCFact.buildTabCommand(): Not implemented yet"
-
- def BNextPressed(self):
- print "DMCFact.BNextPressed(): Not implemented yet"
-
def __tr(self,s,c = None):
return qApp.translate("DMCFact",s,c)
<receiver>DMCFact</receiver>
<slot>BOkPressed()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DMCFact</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
- <slot>LBNouvCommandeClicked()</slot>
- <slot>LEFiltreTextChanged()</slot>
- <slot>LEfiltreReturnPressed()</slot>
+ <slot>ViewDoc()</slot>
<slot>BSupPressed()</slot>
<slot>BOkPressed()</slot>
- <slot>buildTabCommand()</slot>
- <slot>BNextPressed()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
<receiver>DMCListAjout</receiver>
<slot>BSupPressed()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DMCListAjout</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
<slot>BAjoutClicked()</slot>
<slot>BSupPressed()</slot>
+ <slot>ViewDoc()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desMacro.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 08:41:54 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
self.connect(self.BNext,SIGNAL("clicked()"),self.BNextPressed)
self.connect(self.LENomConcept,SIGNAL("returnPressed()"),self.LENomConceptReturnPressed)
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
def languageChange(self):
def LENomConceptReturnPressed(self):
print "DMacro.LENomConceptReturnPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DMacro.ViewDoc(): Not implemented yet"
+
def __tr(self,s,c = None):
return qApp.translate("DMacro",s,c)
<receiver>DMacro</receiver>
<slot>LENomConceptReturnPressed()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DMacro</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
<slot>LBNouvCommandeClicked()</slot>
<slot>BuildTabCommand()</slot>
<slot>BNextPressed()</slot>
<slot>LENomConceptReturnPressed()</slot>
+ <slot>ViewDoc()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
# Form implementation generated from reading ui file 'desParam.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 08:53:40 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand)
- self.connect(self.bHelp,SIGNAL("clicked()"),self.BHelpPressed)
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
self.connect(self.BNext,SIGNAL("pressed()"),self.BNextPressed)
def BuildTabCommand(self):
print "DParam.BuildTabCommand(): Not implemented yet"
- def BHelpPressed(self):
- print "DParam.BHelpPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DParam.ViewDoc(): Not implemented yet"
def BNextPressed(self):
print "DParam.BNextPressed(): Not implemented yet"
</property>
<property name="sizeHint">
<size>
- <width>101</width>
+ <width>153</width>
<height>20</height>
</size>
</property>
</property>
<property name="sizeHint">
<size>
- <width>101</width>
+ <width>153</width>
<height>20</height>
</size>
</property>
<sender>bHelp</sender>
<signal>clicked()</signal>
<receiver>DParam</receiver>
- <slot>BHelpPressed()</slot>
+ <slot>ViewDoc()</slot>
</connection>
<connection>
<sender>BNext</sender>
<slot>LENomConceptReturnPressed()</slot>
<slot>BOkPressed()</slot>
<slot>BuildTabCommand()</slot>
- <slot>BHelpPressed()</slot>
+ <slot>ViewDoc() </slot>
<slot>BNextPressed()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
# Form implementation generated from reading ui file 'desRacine.ui'
#
-# Created: ven nov 9 14:51:34 2007
+# Created: sam nov 10 08:45:32 2007
# by: The PyQt User Interface Compiler (pyuic) 3.13
#
# WARNING! All changes made in this file will be lost!
self.connect(self.RBalpha,SIGNAL("clicked()"),self.BuildTabCommand)
self.connect(self.RBGroupe,SIGNAL("clicked()"),self.BuildTabCommand)
self.connect(self.BNext,SIGNAL("clicked()"),self.BNextPressed)
+ self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
def languageChange(self):
def BNextPressed(self):
print "DRac.BNextPressed(): Not implemented yet"
+ def ViewDoc(self):
+ print "DRac.ViewDoc(): Not implemented yet"
+
def __tr(self,s,c = None):
return qApp.translate("DRac",s,c)
<receiver>DRac</receiver>
<slot>BNextPressed()</slot>
</connection>
+ <connection>
+ <sender>bHelp</sender>
+ <signal>clicked()</signal>
+ <receiver>DRac</receiver>
+ <slot>ViewDoc()</slot>
+ </connection>
</connections>
<slots>
<slot>LBNouvCommandeClicked()</slot>
<slot>BOkPressed()</slot>
<slot>BuildTabCommand()</slot>
<slot>BNextPressed()</slot>
+ <slot>ViewDoc()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>