Skip to content

Blastbit513/QMultiProxyModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QMultiProxyModel

The QMultiProxyModel class provides several item models as one model. Qt4/Qt5 based.

example:

    QAbstractItemModel *model1 = new SomeItemModel;
    QAbstractItemModel *model2 = new SomeItemModel;
    // ...
    QAbstractItemModel *modelN = new SomeItemModel;

    QMultiProxyModel *proxy = new QMultiProxyModel;
    proxy->addSourceModel(model1);
    proxy->addSourceModel(model2);
    // ...
    proxy->addSourceModel(modelN);

    QListView view;
    view.setModel(proxy);

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published