QAdvanced Item View  0.4
The QAIV (Qt Advanced Item Views) library provides GUI and utility classes extending the capabilities of the Qt item views.
 All Classes Functions Variables Enumerations Enumerator Properties Groups Pages
Public Slots | Public Member Functions | Properties | List of all members
QSingleColumnProxyModel Class Reference

The QSingleColumnProxyModel class provides a proxy model which represent a single column of the source model. More...

#include <qsinglecolumnproxymodel.h>

Inheritance diagram for QSingleColumnProxyModel:

Public Slots

void setSourceModelColumn (int column)
 

Public Member Functions

 QSingleColumnProxyModel (QObject *parent=0)
 
 ~QSingleColumnProxyModel ()
 
int sourceModelColumn () const
 

Properties

int sourceModelColumn
 

Detailed Description

The QSingleColumnProxyModel class provides a proxy model which represent a single column of the source model.

Constructor & Destructor Documentation

QSingleColumnProxyModel::QSingleColumnProxyModel ( QObject *  parent = 0)
explicit

Constructs a QSingleColumnProxyModel with the given parent.

QSingleColumnProxyModel::~QSingleColumnProxyModel ( )

Destoys the QSingleColumnProxyModel.

Member Function Documentation

void QSingleColumnProxyModel::setSourceModelColumn ( int  column)
slot

Sets the source model column used by this proxy.

int QSingleColumnProxyModel::sourceModelColumn ( ) const

Returns source model's column used by this proxy.

Property Documentation

int QSingleColumnProxyModel::sourceModelColumn
readwrite

This property holds the column of the source model that is used. By default, this property contains 0, indicating that the first column of the source model is used.


The documentation for this class was generated from the following files: