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

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -