Results 1 to 8 of 8

Thread: get a pixmap for a dragged QTreeWidgetItem?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanked 342 Times in 324 Posts

    Default Re: get a pixmap for a dragged QTreeWidgetItem?

    Well, you are trying to draw on a null pixmap...
    Initialize the pixmap with non-zero size, fill it with background color, then draw text.

  2. The following user says thank you to stampede for this useful post:

    qlands (27th September 2011)

Similar Threads

  1. Replies: 1
    Last Post: 19th April 2011, 11:17
  2. QTreeWidgetItem with tooltip+pixmap
    By Zed in forum Qt Programming
    Replies: 1
    Last Post: 21st January 2011, 16:40
  3. Replies: 0
    Last Post: 20th August 2010, 23:39
  4. Replies: 1
    Last Post: 15th August 2009, 11:23
  5. Mouse dragged widget without title
    By Tonal in forum Qt Programming
    Replies: 2
    Last Post: 14th November 2006, 12:28

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.