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
Forum Updated to NodeBB v4.3 + New Features

UI checkbox using Qtreeview QFileSystemModel

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 134 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 6 Apr 2022, 05:42 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

    1/1

    6 Apr 2022, 05:42

    • Login

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