Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 906661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:25:26+00:00 2026-05-15T16:25:26+00:00

We have ListView.Groups in .NET. Is there an equivalent in Qt (without using Windows

  • 0

We have ListView.Groups in .NET. Is there an equivalent in Qt (without using Windows APIs)?

I am unable to find anything that indicates support for this in the documentation for Qt.

Example in Windows Vista/7: http://i50.tinypic.com/zumgyg.jpg

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:25:27+00:00Added an answer on May 15, 2026 at 4:25 pm

    It looks like that is very easy to do with Qt model-view control.

    It’s a little confusing at first, but basically all lists, tree ctrls and grids are treated in the same way – which lets you do interestign combiantions of them very easily.

    Edit: Casey posted a useful comment in an answer that was deleted.
    Here is the text and the link:

    creating your tree model is pretty
    straight forward. To create that
    “grouped” effect where the parent
    nodes look different then their
    children, I would suggest creating an
    ItemDelegate then setting it on your
    view using setItemDelegate1. In the
    Delegate’s paint function you can
    detect whether the index is a header
    or now, and draw something
    appropriately. When you get there if
    you need help, start another question
    and I can post an example.

    http://doc.trolltech.com/4.6/qabstractitemview.html#setItemDelegate

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an asp.net listview. The data that populates it is sorted into groups,
I have listview that binds from sqlite and groups by KEY_TITLE(field) so i need
I could not find any remarks on MSDN ListView.Groups Property that empty ListViewGroup will
I'm using the new ASP.Net ListView control to list database items that will be
I have a ListView that displays sales orders, and groups them by status. In
I have listview control.There is an option to remove selected items.After the user removes
I have ListView that has the following EditItemTemplate: <EditItemTemplate> <tr style=> <td> <asp:LinkButton ID=UpdateButton
I have ListView that uses a GridView to display several columns of data. Two
I have dynamic listview on my android client app that receive data from remote
I currently have an application which uses a regular ListView with groups to show

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.