from InterfaceQT4 import eficas_go
-dico=eficas_go.lance_eficas_param(code=prefs.code,fichier="/local00/home/A96028/GitEficasTravail/eficas/Adao/kk.comm",version='V1',macro="ASSIMILATION_STUDY")
-print dico
+dico=eficas_go.lance_eficas_param(code=prefs.code,fichier="/local00/home/A96028/GitEficas/eficas/Adao/exemple01.comm",version="V760",macro="ASSIMILATION_STUDY")
+#print dico
+import pprint
+pprint.pprint(dico)
from politiquesValidation import PolitiquePlusieurs
from qtSaisie import SaisieValeur
from gereListe import GereListe
+from gereListe import GerePlie
from gereListe import LECustom
dicoLongueur={2:95,3:125,4:154,5:183,6:210}
hauteurMax=253
-class MonWidgetPlusieursBase (Ui_WidgetPlusieursBase,Feuille,GereListe):
+class MonWidgetPlusieursBase (Ui_WidgetPlusieursBase,Feuille,GereListe,GerePlie):
def __init__(self,node,monSimpDef,nom,objSimp,parentQt,commande):
#print "MonWidgetPlusieursBase", nom
self.listeAffichageWidget=[]
Feuille.__init__(self,node,monSimpDef,nom,objSimp,parentQt,commande)
GereListe.__init__(self)
+ self.gereIconePlier()
self.connect(self.BSelectFichier,SIGNAL("clicked()"), self.selectInFile)
if sys.platform[0:5]!="linux":
self.menuMesh = self.menubar.addMenu(tr("Gestion Maillage"))
self.menuMesh.setObjectName("Mesh")
self.menuMesh.addAction(self.actionChercheGrpMaille)
- self.griserActionsStructures()
+ #self.griserActionsStructures()
def CARMELCND(self):
self.enleverNewInclude()
def view_ligne_arbre(listeparam) :
item=listeparam[0]
+ print "kkk"
+ return
import visu_geom
visu_arbre = visu_geom.VisuGeom(from_eficas=True,
eficas_item=item,
dict_commandes={
'LIGNE_ARBRE':((view_ligne_arbre,"View",('item',),False,True,"affiche dans Geom la representation de la ligne d'arbre"),),
'ZONE':(
- (view_zone,"View",('item',),False,False,"affiche dans Geom la representation de la zone "),
+ (view_zone,"View",('item',),False,True,"affiche dans Geom la representation de la zone "),
(import_zone,"import_zone",('editor','self'),False,False,"import de fichier zone"),)
}
else:
nargs.append(arg)
arguments = tuple(nargs)
+ formatted_string=""
try:
formatted_string = uformat % arguments
except UnicodeDecodeError, err:
<enum>QLayout::SetFixedSize</enum>
</property>
<item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
+ <widget class="QToolButton" name="BFermeListe">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="sizeHint" stdset="0">
+ <property name="maximumSize">
<size>
<width>21</width>
- <height>20</height>
+ <height>25</height>
</size>
</property>
- </spacer>
+ <property name="toolTip">
+ <string>permet de gérer la liste</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border:0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/minusnode.png</normaloff>../Editeur/icons/minusnode.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>25</width>
+ <height>25</height>
+ </size>
+ </property>
+ </widget>
</item>
<item>
<widget class="MonBoutonValide" name="RBValide">
<enum>QLayout::SetFixedSize</enum>
</property>
<item>
- <spacer name="horizontalSpacer_3">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
+ <widget class="QToolButton" name="BFermeListe">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="sizeType">
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" stdset="0">
+ <property name="maximumSize">
<size>
<width>21</width>
- <height>20</height>
+ <height>25</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>permet de gérer la liste</string>
+ </property>
+ <property name="styleSheet">
+ <string notr="true">border:0px</string>
+ </property>
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset>
+ <normaloff>../Editeur/icons/minusnode.png</normaloff>../Editeur/icons/minusnode.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>25</width>
+ <height>25</height>
</size>
</property>
- </spacer>
+ </widget>
</item>
<item>
<widget class="MonBoutonValide" name="RBValide">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLineEdit" name="lineEditVal">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>1</horstretch>
</size>
</property>
<property name="styleSheet">
- <string notr="true">background:rgb(255,255,235);
-border:0px;</string>
+ <string notr="true">background:rgb(195,195,195);
+border:0px;
+</string>
</property>
</widget>
</item>