Results 1 to 2 of 2

Thread: How to create pagination in QTableWidget?

  1. #1
    Join Date
    Apr 2015
    Location
    Philippines
    Posts
    10
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile How to create pagination in QTableWidget?

    I want to create a table that consist of 10 rows every page. I search it in google and they suggesting about MODEL, but i don't know how to do. Can please some help me? thnx

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to create pagination in QTableWidget?

    Start here: Model/View Programming

    Basically you'll need a table with a filter proxy model that will only allow 10 rows at a time, it's very simple (once you get your base model implemented).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 0
    Last Post: 15th October 2013, 09:32
  2. QTableWidget create ODS file
    By Qiieha in forum Qt Programming
    Replies: 1
    Last Post: 23rd September 2011, 22:38
  3. Replies: 0
    Last Post: 10th June 2011, 09:58
  4. Replies: 1
    Last Post: 25th May 2010, 14:44

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.