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 | Signals | Public Member Functions | Protected Member Functions | Properties | List of all members
QFixedRowsTableView Class Reference

The class QFixedRowsTableView implements a table view with fixed (pinned) rows. More...

#include <qfixedrowstableview.h>

Inheritance diagram for QFixedRowsTableView:

Public Slots

void setFixedRowsMode (bool on)
 

Signals

void focusReceived ()
 

Public Member Functions

 QFixedRowsTableView (QWidget *parent=0)
 
 ~QFixedRowsTableView ()
 
QFixedRowsDecorationProxyModeldecorationProxy () const
 
bool fixedRowsMode () const
 
QFixedRowsFilterProxyModelfilterProxy () const
 
void setModel (QAbstractItemModel *model)
 

Protected Member Functions

void closeEditor (QWidget *editor, QAbstractItemDelegate::EndEditHint hint)
 
void focusInEvent (QFocusEvent *event)
 

Properties

bool fixedRowsMode
 

Detailed Description

The class QFixedRowsTableView implements a table view with fixed (pinned) rows.

Constructor & Destructor Documentation

QFixedRowsTableView::QFixedRowsTableView ( QWidget *  parent = 0)

Constructs a fixed rows table view with the given parent.

QFixedRowsTableView::~QFixedRowsTableView ( )

Destorys the fixed rows table view.

Member Function Documentation

void QFixedRowsTableView::closeEditor ( QWidget *  editor,
QAbstractItemDelegate::EndEditHint  hint 
)
protected

QAbstractItemView::closeEditor()

QFixedRowsDecorationProxyModel * QFixedRowsTableView::decorationProxy ( ) const

Returns the proxy model used to decorate the table view's vertical header.

QFixedRowsFilterProxyModel * QFixedRowsTableView::filterProxy ( ) const

Returns the view filter proxy.

bool QFixedRowsTableView::fixedRowsMode ( ) const

Returns true if the fixed rows mode is enabled. Otherwise false.

See also
setFixedRowsMode(), QFixedRowsFilterProxyModel::setEnabled()
void QFixedRowsTableView::focusInEvent ( QFocusEvent *  event)
protected

QAbstractItemView::focusInEvent()

void QFixedRowsTableView::focusReceived ( )
signal

This signal is emitted when the table view has received the focus.

void QFixedRowsTableView::setFixedRowsMode ( bool  on)
slot

If on is true the fixed rows mode is enabled.

void QFixedRowsTableView::setModel ( QAbstractItemModel *  model)

QTableView::setModel()

Property Documentation

bool QFixedRowsTableView::fixedRowsMode
readwrite

This property holds whether fixed rows mode is enabled

See also
bool fixedRowsMode() const
void setFixedRowsMode(bool)

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