Results 1 to 20 of 21

Thread: How does the QItemDelegate work?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Mar 2008
    Posts
    57
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11
    Thanked 1 Time in 1 Post

    Default Re: How does the QItemDelegate work?

    Sorry the previous dont work...I mean like this:

    Qt Code:
    1. void MyTableWidget::keyPressEvent(QKeyEvent *e)
    2. {
    3.  
    4. QAbstractItemView::edit(currentIndex(), QAbstractItemView::EditKeyPressed, e);
    5. QTableWidget::keyPressEvent(e);
    6.  
    7. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by jpn; 2nd March 2008 at 10:47. Reason: missing [code] tags

Similar Threads

  1. QItemDelegate Editor Crash
    By mclark in forum Qt Programming
    Replies: 13
    Last Post: 22nd March 2018, 04:06
  2. premature call to setmodeldata with QItemDelegate
    By placebo in forum Qt Programming
    Replies: 1
    Last Post: 25th November 2007, 17:39
  3. QActions don't work with menubar hidden
    By Pepe in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2007, 01:04
  4. Change work area OS
    By pakulo in forum Qt Programming
    Replies: 15
    Last Post: 15th May 2007, 07:20
  5. QTextEdit Justify align making work
    By dec0ding in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2006, 12:02

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.