Results 1 to 9 of 9

Thread: How to get a QPixmap from a QTableWidgetItem?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: How to get a QPixmap from a QTableWidgetItem?

    A QTableWidgetItem is not a QWidget, so grabWidget does not work.
    What do you want to achieve? Do you want to make a pixmap of one item in the table?

  2. #2
    Join Date
    Jan 2008
    Location
    Davao City, Philippines
    Posts
    77
    Thanks
    16
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to get a QPixmap from a QTableWidgetItem?

    Some days are like that ...

    Quote Originally Posted by tbscope View Post
    A QTableWidgetItem is not a QWidget, so grabWidget does not work.
    I know, I should stop for today, I'm so tired ...

    Quote Originally Posted by tbscope View Post
    What do you want to achieve? Do you want to make a pixmap of one item in the table?
    Yes, that's exactly what I like to do ...

    Any idea how to do that?

Similar Threads

  1. Replies: 4
    Last Post: 28th August 2008, 13:13
  2. Replies: 1
    Last Post: 21st August 2008, 07:44
  3. Replies: 5
    Last Post: 9th April 2007, 14:26
  4. QTableWidget QTableWidgetItem
    By TheKedge in forum Qt Programming
    Replies: 3
    Last Post: 6th September 2006, 15:03
  5. Tooltips in QTableWidgetItem
    By Arthur in forum Newbie
    Replies: 2
    Last Post: 26th January 2006, 15:47

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.