Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Move elements from GUI with function
AleCasta last edited by
Hi! i'm starting to use QT because i've made a programm that solves the "16-puzzle" problem with breadth first search on c++, it works just fine in the console, i tried to implement an GUI represenation like this
i have programmed an algorithm and functions that do the work to solve the puzzle, i want to know if there is a way to move the buttons on real time once the window has been loaded
@AleCasta Sorry, but it is unclear what you want to do and when. Are those buttons the rectangles with numbers in the picture? Why do you want to move them? You can just exchange the numbers. If you want to move them: do you use layout to position the buttons?