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. [Solved] Multiple rows filling
Qt 6.11 is out! See what's new in the release blog

[Solved] Multiple rows filling

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.8k Views 1 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi,

    I am building a simple application where a user can fill a table with numbers. The table is quite large and complete rows can be filled with the same number.

    I am trying to get the interface to fill multiple rows, but I need to understand some things before I can do that. I read the documentation, but there are still some things that aren't clear. This is where you can help me.

    1. What is the difference between <QTableWidget> and <QTableView> ?

    2. Then what is the difference between selectedItems () and selectedIndexes() ? If I created a tableWidget can I use both function?

    Thanks for your help

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      I advice u by reading Chapter 8:Displaying Data Using “Interview”
      at book: The Book of Qt 4 The Art of Building Qt Applications

      this chapter will answer all ur questions.
      tnxs

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Ok.. thanks.. will do.

        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