swift
Classes | Namespaces | Functions
listmodelbase.h File Reference

Go to the source code of this file.

Classes

class  swift::gui::models::CListModelBase< T, UseCompare >
 List model. More...
 

Namespaces

 swift::misc
 Free functions in swift::misc.
 
 swift::gui
 GUI related classes.
 
 swift::gui::models
 Models to be used with views, mainly QTableView.
 

Functions

template<class ObjectType >
bool swift::gui::models::Private::compareForModelSort (const ObjectType &a, const ObjectType &b, Qt::SortOrder order, const swift::misc::CPropertyIndex &index, const swift::misc::CPropertyIndexList &tieBreakers, std::true_type)
 Sort with compare function.
 
template<typename ObjectType >
bool swift::gui::models::Private::compareForModelSort (const ObjectType &a, const ObjectType &b, Qt::SortOrder order, const swift::misc::CPropertyIndex &index, const swift::misc::CPropertyIndexList &tieBreakers, std::false_type)
 Sort without compare function.