Results 1 to 6 of 6

Thread: QItemDelegate and QCheckBox

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    USA
    Posts
    142
    Thanks
    24
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Arrow QItemDelegate and QCheckBox

    Hello all,

    I'm attempting to implement a checkbox delegate in my tree view, and I'm running into two problems:

    1. The checkbox only appears when I attempt to "edit" a given cell. I'd rather it appear at all times.

    2. When the checkbox does appear, it "overlays" the existing text, making it difficult to read. See the pictures below.

    I'd appreciate any input on the above two problems. I can provide some code, but I suspect I'm having more of a concept problem than a code problem. Thanks!
    Attached Images Attached Images
    Life without passion is death in disguise

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.