python - Pyqt how to get a widget's dimensions -


i developing application in cannot use modal windows (due application constraints). however, in cases simulate popup window. dynamically create widget has centralwidget parent , use move() method place want. know if there way widget's dimensions @ given time (considering mainwindow can resized @ time) able center placeholder popup (a simple widget) @ middle of centralwidget.

thank you

you can use framegeometry or geometry depending on your needs.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -