Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Move elements from GUI with function
Forum Updated to NodeBB v4.3 + New Features

Move elements from GUI with function

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 509 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AleCasta
    wrote on last edited by
    #1

    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 this0_1499306505553_gui.jpg
    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

    jsulmJ 1 Reply Last reply
    0
    • A AleCasta

      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 this0_1499306505553_gui.jpg
      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved