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 | List of all members
QFilterViewItemDelegate Class Reference

The QFilterViewItemDelegate class provides display and editing facilities for filter from a filter model. More...

#include <qfilterviewitemdelegate.h>

Inheritance diagram for QFilterViewItemDelegate:

Public Slots

void commitAndClose (QAbstractItemDelegate::EndEditHint hint=QAbstractItemDelegate::NoHint)
 
void cancelAndClose (QAbstractItemDelegate::EndEditHint hint=QAbstractItemDelegate::NoHint)
 

Public Member Functions

 QFilterViewItemDelegate (QObject *parent)
 
 ~QFilterViewItemDelegate ()
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void setEditorData (QWidget *editor, const QModelIndex &index) const
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Detailed Description

The QFilterViewItemDelegate class provides display and editing facilities for filter from a filter model.

Constructor & Destructor Documentation

QFilterViewItemDelegate::QFilterViewItemDelegate ( QObject *  parent)

Constructs an item delegate with the given parent.

QFilterViewItemDelegate::~QFilterViewItemDelegate ( )

Destroys the item delegate.

Member Function Documentation

QWidget * QFilterViewItemDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
See also
QAbstractFilter:createEditor()
void QFilterViewItemDelegate::updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

Updates the editor for the item specified by index according to the style option given.


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