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. Table with Dynamic Input from user - Qt- C++
Forum Update on Monday, May 27th 2025

Table with Dynamic Input from user - Qt- C++

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 2.4k 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.
  • S Offline
    S Offline
    saitej
    wrote on 21 Mar 2016, 11:07 last edited by
    #1

    I want to build (Qt c++) a table with rows than can take input from the user dynamically. The user should also be able to drag and shuffle the order of the rows. Is Qtablewidget the best option?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Mar 2016, 22:52 last edited by
      #2

      Hi and welcome to devnet,

      It depends on what you want to ultimately achieve. Most of the times a custom model is a better choice.

      However, as a starting point QTableWidget fills all your described needs.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        saitej
        wrote on 22 Mar 2016, 06:05 last edited by
        #3

        Thanks a lot !! I think I will go with a custom model as it can be better controlled.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 22 Mar 2016, 21:50 last edited by
          #4

          You're welcome !

          Since you're satisfied by the answer, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            saitej
            wrote on 25 Mar 2016, 05:12 last edited by
            #5

            If possible can u share some links which can be of help to accomplish the same

            M 1 Reply Last reply 25 Mar 2016, 09:48
            0
            • S saitej
              25 Mar 2016, 05:12

              If possible can u share some links which can be of help to accomplish the same

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 25 Mar 2016, 09:48 last edited by
              #6

              @saitej
              hi , maybe this is good start read
              http://www.informit.com/articles/article.aspx?p=1405547&seqNum=3

              1 Reply Last reply
              0

              1/6

              21 Mar 2016, 11:07

              • Login

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