58. gui.qtutils
— General Qt utility functions.¶
58.1. Functions defined in module gui.qtutils¶
- gui.qtutils.Pos(w)[source]¶
Return the relative position of a widget as a tuple.
This is the position relative to its parent.
- gui.qtutils.relPos(w, parent=None)[source]¶
Return the position of a widget relative to a parent.
If no parent is specified, it is taken as the GUI main window.