Results 1 to 2 of 2

Thread: Print QStandardItemModel

  1. #1
    Join Date
    Feb 2007
    Posts
    39
    Thanks
    13
    Qt products
    Qt4
    Platforms
    Windows

    Default Print QStandardItemModel

    I've a QStandardItemModel which contains the data list i wanted to print, how i can do that?
    I can't find any document() function, should a conversion to (for example) qtextbrowser of my data list and then print that a good solution? Thanks in advance.

  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: Print QStandardItemModel

    What do you mean by "print"? You want to print in on a printer or just dump the data somewhere so that you can read it?

Similar Threads

  1. how to print an html file?
    By patcito in forum Qt Programming
    Replies: 5
    Last Post: 31st August 2008, 16:50
  2. how to print QTable?
    By coralbird in forum Qt Programming
    Replies: 3
    Last Post: 30th March 2007, 05:05
  3. print QTableWidget
    By chak_med in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2006, 18:46
  4. Drag&Drop with QStandardItemModel
    By madcat in forum Qt Programming
    Replies: 4
    Last Post: 7th May 2006, 15:43
  5. [QT4] QThread and printing a QList<QPixmap>
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 21: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.