Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pour PSEN et Telemac
[tools/eficas.git]
/
InterfaceQT4
/
monWidgetCommande.py
diff --git
a/InterfaceQT4/monWidgetCommande.py
b/InterfaceQT4/monWidgetCommande.py
index 32da3c1547c9a93cf42e32e4547aa904a7ed3bcf..a78385d6322490978325fc2c0a06362a9bf844ae 100644
(file)
--- a/
InterfaceQT4/monWidgetCommande.py
+++ b/
InterfaceQT4/monWidgetCommande.py
@@
-52,8
+52,11
@@
class MonWidgetCommande(Ui_WidgetCommande,Groupe):
Groupe.__init__(self,node,editor,None,etape.definition,etape,1,self)
editor.inhibeSplitter=0
Groupe.__init__(self,node,editor,None,etape.definition,etape,1,self)
editor.inhibeSplitter=0
+ self.frameAffichage.setMinimumHeight(20)
if node.item.get_fr() != "" : self.labelDoc.setText(node.item.get_fr())
if node.item.get_fr() != "" : self.labelDoc.setText(node.item.get_fr())
- else : self.labelDoc.close()
+ else :
+ self.labelDoc.close()
+ self.frameAffichage.resize(self.frameAffichage.width(),50)
if (etape.get_type_produit()==None): self.LENom.close()
elif (hasattr(etape, 'sdnom')) and etape.sdnom != "sansnom" and etape.sdnom != None: self.LENom.setText(etape.sdnom)
if (etape.get_type_produit()==None): self.LENom.close()
elif (hasattr(etape, 'sdnom')) and etape.sdnom != "sansnom" and etape.sdnom != None: self.LENom.setText(etape.sdnom)
@@
-149,8
+152,9
@@
class MonWidgetCommande(Ui_WidgetCommande,Groupe):
self.inhibe=0
return True
except :
self.inhibe=0
return True
except :
- print self.listeAffichageWidget
- print "souci ds focusNextPrevChild"
+ pass
+ #print self.listeAffichageWidget
+ #print "souci ds focusNextPrevChild"
if i==0 and next==False and not self.inhibe:
if hasattr(self.editor.fenetreCentraleAffichee,'scrollArea'):
self.editor.fenetreCentraleAffichee.scrollArea.ensureWidgetVisible(self.listeAffichageWidget[-1])
if i==0 and next==False and not self.inhibe:
if hasattr(self.editor.fenetreCentraleAffichee,'scrollArea'):
self.editor.fenetreCentraleAffichee.scrollArea.ensureWidgetVisible(self.listeAffichageWidget[-1])
@@
-251,11
+255,11
@@
class MonWidgetCommande(Ui_WidgetCommande,Groupe):
def rendVisibleNoeud(self,node):
self.f=node.fenetre
def rendVisibleNoeud(self,node):
self.f=node.fenetre
- print "dans rendVisibleNoeud",self.f
+
#
print "dans rendVisibleNoeud",self.f
QTimer.singleShot(1, self.rendVisible)
def rendVisible(self):
QTimer.singleShot(1, self.rendVisible)
def rendVisible(self):
- print "dans rendVisible",self.f
+
#
print "dans rendVisible",self.f
QApplication.processEvents()
self.f.setFocus(7)
self.editor.fenetreCentraleAffichee.scrollAreaCommandes.ensureWidgetVisible(self.f)
QApplication.processEvents()
self.f.setFocus(7)
self.editor.fenetreCentraleAffichee.scrollAreaCommandes.ensureWidgetVisible(self.f)