Results 1 to 1 of 1

Thread: QT: editable tableview header issue.

  1. #1
    Join Date
    Feb 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QT: editable tableview header issue.

    * Edit post
    * Delete post
    * Report this post
    * Reply with quote

    QT: editable tableview header issue.

    Postby Raschko » Sun Feb 27, 2011 12:11 pm
    For clarity: python 2.7 + PySide bindings.


    Delving into modelview programming became complicated after seeing few explanations of the structure involving an editable model; Perusing through forums, source and documentation is only leading me so far.

    My issue currently is trying to edit a tableview header (subclass) entry using a custom delegate.

    I've seen implementations using an mousedoubleclicked event, which seems to be a good start.

    However, understanding is null in regards to a models "index" function, let alone QModelindex.


    Could anyone shed some light on index / createIndex?
    * aside from the text mention in the docs of course*


    Thank you.
    Attached Files Attached Files

Similar Threads

  1. Setting the background color of a header in TableView
    By sunilqt in forum Qt Programming
    Replies: 1
    Last Post: 13th April 2013, 13:06
  2. Editable table header
    By bbarran in forum Qt Programming
    Replies: 4
    Last Post: 9th December 2010, 10:26
  3. Implementing TableView with one editable CheckBox
    By scarleton in forum Qt Programming
    Replies: 5
    Last Post: 30th July 2010, 11:42
  4. How to customize horizontal header (diagonal header view)
    By vairamuthu.g in forum Qt Programming
    Replies: 4
    Last Post: 4th September 2008, 15:59
  5. Editable table header
    By cmaxb in forum Qt Programming
    Replies: 1
    Last Post: 9th December 2006, 12:12

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.