UI/UserInterface.py

changeset 2763
e4794166ad70
parent 2738
c4db4c761753
child 2769
8cbebde7a984
equal deleted inserted replaced
2761:bcc10ef7015d 2763:e4794166ad70
5676 def __getFloatingGeometry(self, w): 5676 def __getFloatingGeometry(self, w):
5677 """ 5677 """
5678 Private method to get the geometry of a floating windows. 5678 Private method to get the geometry of a floating windows.
5679 5679
5680 @param w reference to the widget to be saved (QWidget) 5680 @param w reference to the widget to be saved (QWidget)
5681 @return list giving the widget's geometry and it's visibility 5681 @return list giving the widget's geometry and its visibility
5682 """ 5682 """
5683 s = w.size() 5683 s = w.size()
5684 p = w.pos() 5684 p = w.pos()
5685 return [p.x(), p.y(), s.width(), s.height(), not w.isHidden()] 5685 return [p.x(), p.y(), s.width(), s.height(), not w.isHidden()]
5686 5686

eric ide

mercurial