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. UI checkbox using Qtreeview QFileSystemModel

UI checkbox using Qtreeview QFileSystemModel

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 167 Views
  • 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.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1

    In order to put a checkbox in QTreeview, I overridden subclassing in a class that inherits QFileSystemModel. The checkbox appears normally. But I want to use a style for the checkbox.

    There is a checkbox that I made custom. I would like to put this
    Is there no way??

    There seem to be several ways to create a checkbox.
    One is to change the flag checkable in QFileSystemModel and
    Second, it seems that there is a way to draw in paint with the QStyledItemDelegate method. What's the right way to develop it?

    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