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 Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 2.4k Views 3 Watching
  • 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.
  • saitejS Offline
    saitejS Offline
    saitej
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      • saitejS Offline
        saitejS Offline
        saitej
        wrote on 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
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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
          • saitejS Offline
            saitejS Offline
            saitej
            wrote on last edited by
            #5

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

            mrjjM 1 Reply Last reply
            0
            • saitejS saitej

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

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on 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

              • Login

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