View Full Version : Resizing a grid.

20th March 2013, 13:55
I need some help. I created a grid of fifty square in qt. But now I need to write a function so that the user can input a number in a text field and that would change the size of grid so the number that user entered.

For example if the user enters 10 the size of the whole grid should change to 10.

Is there anyone who can help me with this.

Thank you.

Santosh Reddy
21st March 2013, 10:24
You can use QInputDialog to read user input