Skip to content

Draft: Performance improvements for qtDescriptivePhraseModel

Implemented QAbstractItemModel::canFetchMore() and QAbstractItemModel::fetchMore() on qtDescriptivePhraseModel for checking if the subphrases are built and telling the phrase to build itself respectively. The side effect of this is the view will now drive when subphrases should be built for the first time.

Added numberofSubphrases function to derive the number of expected subphrases when the subphrase have not been built yet.

FYI: @bob.obara @dcthomp @jwilson1881

Edited by chart3388

Merge request reports

Loading