5528 def __getFloatingGeometry(self, w): |
5528 def __getFloatingGeometry(self, w): |
5529 """ |
5529 """ |
5530 Private method to get the geometry of a floating windows. |
5530 Private method to get the geometry of a floating windows. |
5531 |
5531 |
5532 @param w reference to the widget to be saved (QWidget) |
5532 @param w reference to the widget to be saved (QWidget) |
5533 @return list giving the widget's geometry and it's visibility |
5533 @return list giving the widget's geometry and its visibility |
5534 """ |
5534 """ |
5535 s = w.size() |
5535 s = w.size() |
5536 p = w.pos() |
5536 p = w.pos() |
5537 return [p.x(), p.y(), s.width(), s.height(), not w.isHidden()] |
5537 return [p.x(), p.y(), s.width(), s.height(), not w.isHidden()] |
5538 |
5538 |