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
Post a Comment