LeechCraft  0.6.70-9312-g4cc613a2df
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
The model utilities

Model-related classes for Qt's Model-View-Controller. More...

Classes

class  LeechCraft::Util::DndActionsMixin< Model >
 Abstracts away differences between Qt4 and Qt5 in model DnD support. More...
 
class  LeechCraft::Util::FlattenFilterModel
 Proxy model flattening a hierarchical model. More...
 
class  LeechCraft::Util::MergeModel
 
class  LeechCraft::Util::ModelItem
 Provides a proxying API on top of an QAbstractItemModel. More...
 
class  LeechCraft::Util::ModelItemBase< T >
 Base class for model items for tree-like models. More...
 
class  LeechCraft::Util::ModelIterator
 Provides an iterator-based API to a Qt model. More...
 
class  LeechCraft::Util::RoleNamesMixin< Model >
 Wraps differences between role names handling in Qt4 and Qt5. More...
 

Enumerations

enum  LeechCraft::Util::ModelIterator::Direction {
  LeechCraft::Util::ModelIterator::Direction::Rows,
  LeechCraft::Util::ModelIterator::Direction::Cols
}
 The direction of traversal. More...
 

Detailed Description

Model-related classes for Qt's Model-View-Controller.

Enumeration Type Documentation

The direction of traversal.

Enumerator
Rows 

The model should be traversed by rows.

Thus, the traversable is the row index.

Cols 

The model should be traversed by columns.

Thus, the traversable is the column index.

Definition at line 63 of file modeliterator.h.