Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QAbstractTableModel and centered checkbox

QAbstractTableModel and centered checkbox

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kobid
    wrote on last edited by
    #1

    Hi,

    I have QAbstractTableModel with boolean columns (user checkable). I'm trying to align position to center. I found this article:
    http://qt-project.org/faq/answer/how_can_i_align_the_checkboxes_in_a_view
    Seems to work properly but, well... it doesn't look good (selection is in SelectRows mode):
    !http://ubuntuone.com/7mEcgqWN3Ch57Hg8kq128F(screenshot)!
    Seems that changing rect is not good solution. Any idea?

    Regards

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved