if not valide :
try :
valeur,valide=self.node.item.eval_valeur(valeur)
- valide,commentaire = self.node.item.object.verif_type(valeur)
+ valide,commentaire2 = self.node.item.object.verif_type(valeur)
except :
#return testtype,commentaire,"",listeRetour
pass
commentaire="Valeur "+str(valeur)+ " incorrecte : ajout a la liste refuse: On attend une chaine de caracteres < 8"
else :
commentaire="Valeur "+str(valeur)+ " incorrecte : ajout a la liste refuse"
- commentaire2=self.node.item.info_erreur_item()
+ if commentaire2== "" :commentaire2=self.node.item.info_erreur_item()
return valide,commentaire,commentaire2,listeRetour
# On valide la liste obtenue
</item>
</layout>
</item>
- <item row="3" column="1">
- <spacer name="spacer3_3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>289</width>
- <height>100</height>
- </size>
- </property>
- </spacer>
- </item>
<item row="4" column="1">
<widget class="QLabel" name="Commentaire">
<property name="minimumSize">
<size>
- <width>298</width>
- <height>61</height>
+ <width>300</width>
+ <height>150</height>
</size>
</property>
<property name="text">
</property>
</widget>
</item>
- <item row="5" column="1">
- <spacer name="spacer3_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>265</width>
- <height>48</height>
- </size>
- </property>
- </spacer>
- </item>
<item row="6" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
</item>
</layout>
</item>
+ <item row="5" column="1">
+ <spacer name="spacer3_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>265</width>
+ <height>48</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="3" column="1">
+ <spacer name="spacer3_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>289</width>
+ <height>100</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
</layout>
</widget>
</widget>