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. Qt 6.7.2 MinGW how to integrate QStyledItemDelegate implemetation to QML
Forum Update on Monday, May 27th 2025

Qt 6.7.2 MinGW how to integrate QStyledItemDelegate implemetation to QML

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 163 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.
  • R Offline
    R Offline
    Roget.P
    wrote on last edited by Roget.P
    #1

    Helloooo,
    I'm trying to integrate QStyledItemDelegate implemetation to QML, like I did integrate QAbstractTableModel implementation to QML following this article.

    But I can't integrate QStyledItemDelegate implemetation to QML, I'm using the example called StarDelegate which is an example of Qt Creator, like this pic
    f9c98912-8489-4b02-91af-288981709f1b-1720952302763.png .

    Does someone has a clue about how to do this? Thanks!
    I do have other question, can Qt Widget and Qt quick(qml) integrate into each other? I mean if Qml can integrate into Qt Widget's UI?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      QStyledItemdelegate has nothing to do with QML. It's for the Qt widgets itemviews.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      R 1 Reply Last reply
      2
      • Christian EhrlicherC Christian Ehrlicher

        QStyledItemdelegate has nothing to do with QML. It's for the Qt widgets itemviews.

        R Offline
        R Offline
        Roget.P
        wrote on last edited by
        #3

        @Christian-Ehrlicher ok, thanks for your answer.

        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