Results 1 to 4 of 4

Thread: Is a Delegate a Widget?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Is a Delegate a Widget?

    Quote Originally Posted by frank100 View Post
    I need the opposite of indexAt(), I am thinking in combining rowViewportPosition() and columnViewPortPosition() to translate the cell coordinates to the qPoint I need.
    QAbstractItemView::visualRect() as mentioned in QAbstractItemView::indexAt()

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

    frank100 (12th August 2011)

Similar Threads

  1. Item Delegate - Relay a signal to editor widget
    By LynneV in forum Qt Programming
    Replies: 3
    Last Post: 5th July 2010, 17:36
  2. Replies: 3
    Last Post: 5th April 2010, 22:20
  3. Replies: 5
    Last Post: 19th September 2009, 12:45
  4. Replies: 1
    Last Post: 22nd October 2007, 03:04
  5. Creating advanced widget in a delegate.
    By bunjee in forum Qt Programming
    Replies: 8
    Last Post: 5th February 2007, 09:09

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.