Results 1 to 1 of 1

Thread: Who evokes the QAbstractItemDelegate::paint(……) ?

  1. #1
    Join Date
    Dec 2016
    Posts
    8
    Qt products
    Qt5 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    Unix/X11 Windows Android

    Default Who evokes the QAbstractItemDelegate::paint(……) ?

    I want to custom the display of the QStyledItemDelegate item : when I press key_up and Key_down , it will draw a rectangle frame that will wrapping a whole row .

    I think it should be implement in the QAbstractItemDelegate:: paint(……) function. But how to connect the key press event and the repaint operation ? I can't find the signla-slot style relationship between them.Who evokes the QAbstractItemDelegate:: paint(……) indeed ?

    20180517181111833.png
    Last edited by CyberPunker; 27th August 2018 at 11:12.

Similar Threads

  1. Replies: 11
    Last Post: 13th February 2013, 23:26
  2. QAbstractItemDelegate and QLinearGradient
    By toutarrive in forum Qt Programming
    Replies: 2
    Last Post: 12th February 2010, 17:20
  3. about QAbstractItemDelegate
    By drizzlefsh in forum Qt Programming
    Replies: 4
    Last Post: 11th September 2009, 07:01
  4. Replies: 7
    Last Post: 30th August 2009, 22:58
  5. Use of QAbstractItemDelegate::closeEditor
    By jml in forum Qt Programming
    Replies: 3
    Last Post: 3rd August 2007, 22:55

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.