PDA

View Full Version : no function resize/move position button Signal and Slot QT



zlatan14
5th July 2014, 04:47
1) How can I resize/move position the button by slidebar ? (I use signal/slot but no function)

2) Do you have the example code of the resize/move position of the button by slide bar?

Thank You

anda_skoa
5th July 2014, 11:38
What do you mean "by sidebar"?

In any case, a button is a widget, QWidget has a method move(), a method resize() and one that does both called setGeometry()

Cheers,
_