I have created an array of buttons, 6×7. I had not specified any size for these while creating them. So they must have been created in some default size and has correctly aligned into a screen of 320×640.
Now that i have the array of equal sized buttons, I need to find out the pushbuttonsize so as to put the images on them. how to i do that? I could not find any function such as, get size or get height or get width.
Thank you
QWidget has many methods for this purpose. See width(), geometry(), height(), and size() methods.