I've some buttons (QPushButton) which i would like to put in specific positions inside
a layout. I tried using things like button->move ( int x, int y ) or button->setGeometry( x, y, ...) , but they didn't worked. Thanks in advance.
I've some buttons (QPushButton) which i would like to put in specific positions inside
a layout. I tried using things like button->move ( int x, int y ) or button->setGeometry( x, y, ...) , but they didn't worked. Thanks in advance.
The layout manager handles geometries of it's widgets. You cannot (and there should be no need to) move/resize them by hand. Here's some further explanation of how layouts work: Layout Classes.
J-P Nurmi
Mrdata (26th February 2007)
Bookmarks