FolderTableDelegate Class Reference

#include <foldertabledelegate.h>

List of all members.

Public Member Functions

 FolderTableDelegate (QObject *parent=0)
 ~FolderTableDelegate ()
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
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const

Private Slots

void commitAndCloseEditor ()


Detailed Description

Definition at line 7 of file foldertabledelegate.h.


Constructor & Destructor Documentation

FolderTableDelegate::FolderTableDelegate ( QObject *  parent = 0  ) 

Definition at line 10 of file foldertabledelegate.cpp.

FolderTableDelegate::~FolderTableDelegate (  ) 

Definition at line 14 of file foldertabledelegate.cpp.

References commitAndCloseEditor().


Member Function Documentation

QWidget * FolderTableDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

void FolderTableDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const

void FolderTableDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const

Definition at line 78 of file foldertabledelegate.cpp.

References ContentEditor::contents(), FolderTableModel::getCoolTypeString(), ContentEditor::isModified(), and FolderTableModel::setData().

Here is the call graph for this function:

void FolderTableDelegate::updateEditorGeometry ( QWidget *  editor,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

Definition at line 97 of file foldertabledelegate.cpp.

void FolderTableDelegate::commitAndCloseEditor (  )  [private, slot]

Definition at line 102 of file foldertabledelegate.cpp.

Referenced by setEditorData(), and ~FolderTableDelegate().


Generated on Wed Oct 8 14:59:41 2008 for ACE - A COOL Editor by  doxygen 1.5.6