Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved Qt large data sets

    General and Desktop
    large data sets
    2
    4
    631
    Loading More Posts
    • 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.
    • Ivan Netskin
      Ivan Netskin last edited by Ivan Netskin

      Hello , the question is - is qt able to view large data sets fast, like excel? Imagine qtableview with more than 1k rows.If you try to scroll the view u will see it's running pretty slow. What is the best practice to store large data sets and view it on a fly, like in excel ?I have found the article, but it seems outdated. Is there any advices from professionals? Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • VRonin
        VRonin last edited by

        I have a QTreeView + QStandardItemModel with more than 1000 rows, each having 1 or more child rows and spanning 10 columns all running 100% smooth. do you use custom delegates?

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply Reply Quote 0
        • Ivan Netskin
          Ivan Netskin last edited by

          yes, also my custom model derived from QAbstractModel. Each cell contains about 3-4 QString params and 3-4 Booleans.1 row contain about 150 columns.

          1 Reply Last reply Reply Quote 0
          • VRonin
            VRonin last edited by VRonin

            can you post the code for the paint() of your custom delegate? (spoiler alert: that's the bottleneck)

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply Reply Quote 2
            • First post
              Last post