Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add QmlObjectListItem #11477

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

HTRamsey
Copy link
Collaborator

@HTRamsey HTRamsey commented May 5, 2024

Provides the required functions to be used in a QmlObjectListModel.
This cuts a bit down on repeated code and makes it more clear where these classes are used.
@DonLakeFlyer This is what I was talking about in my reply to the other PR.

@HTRamsey HTRamsey requested a review from DonLakeFlyer May 5, 2024 21:34
@HTRamsey HTRamsey force-pushed the dev-qmlobjectlistitem branch 3 times, most recently from 00a2d6b to 7e4d9cc Compare May 6, 2024 01:17
@HTRamsey HTRamsey marked this pull request as ready for review May 6, 2024 04:57
@DonLakeFlyer
Copy link
Contributor

Yeah, makes sense

@HTRamsey
Copy link
Collaborator Author

HTRamsey commented May 6, 2024

I think this is worthwhile, but it needs a thorough double checking. Also, I don't know if QmlObjectListModel should be changed to specifically hold QmlObjectListItems or not.

@DonLakeFlyer
Copy link
Contributor

Also, I don't know if QmlObjectListModel should be changed to specifically hold QmlObjectListItems or not.

50/50. A decent amount of usage of QmlObjectListModel doesn't use dirty bits. Maybe the QmlObjectListItem thing should just be something more generic to indicate a generic QObject with a dirty bit. Not sure switching the ones that don't use a dirty bit adds value.

@HTRamsey HTRamsey closed this May 11, 2024
@HTRamsey HTRamsey reopened this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants