parent.addWidget(parent.partieDroite)
parent.leLayout.widgetActive=self
self.setupUi(self)
+ icon = QIcon(self.RepIcon+"arrow_left.png")
+ self.BAjout1Val.setIcon(icon)
+ icon2 = QIcon(self.RepIcon+"arrow_right.png")
+ self.BSup1Val.setIcon(icon2)
+ icon3 = QIcon(self.RepIcon+"image240.png")
+ self.BSalome.setIcon(icon3)
# Import des panels
if "GROUP_MA" in e: kwType = "GROUP_MA"
#print "BkwType",kwType
- #print "editor", self.editor
- selection, commentaire = self.editor.parent.appliEficas.selectGroupFromSalome(kwType,editor=self.editor)
+ print "editor", self.editor
+ print "appliEficas", self.editor.appliEficas
+ selection, commentaire = self.editor.appliEficas.selectGroupFromSalome(kwType,editor=self.editor)
if commentaire !="" :
self.Commentaire.setText(QString(commentaire))
monTexte=""
parent.addWidget(parent.partieDroite)
parent.leLayout.widgetActive=self
self.setupUi(self)
+ icon = QIcon(self.RepIcon+"arrow_left.png")
+ self.BAjout1Val.setIcon(icon)
+ icon2 = QIcon(self.RepIcon+"arrow_right.png")
+ self.BSup1Val.setIcon(icon2)
+
class MonPlusieursIntoPanel(DPlusInto,QTPanel,SaisieValeur):
"""
def __init__(self,parent ,modal ) :
QDialog.__init__(self,parent)
self.appliEficas=parent.appliEficas
+ self.RepIcon=self.appliEficas.RepIcon
if hasattr(parent,"leLayout"):
parent.leLayout.removeWidget(parent.leLayout.widgetActive)
parent.leLayout.widgetActive.close()
parent.addWidget(parent.partieDroite)
parent.leLayout.widgetActive=self
self.setupUi(self)
+ icon = QIcon(self.RepIcon+"image240.png")
+ self.BSalome.setIcon(icon)
+
# Import des panels