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 |