Move elements from GUI with function
-
wrote on 6 Jul 2017, 02:16 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 -
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?
1/2