ff7tk  1.2.0.13
Work with Final Fantasy 7 game data
Signals | Public Member Functions | Protected Member Functions | List of all members
ItemSelectionDelegate Class Reference

#include <ItemSelectionDelegate.h>

Inheritance diagram for ItemSelectionDelegate:
Inheritance graph
[legend]
Collaboration diagram for ItemSelectionDelegate:
Collaboration graph
[legend]

Signals

void commitData (QWidget *editor) const
 

Public Member Functions

 ItemSelectionDelegate (QObject *parent=nullptr)
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index=QModelIndex()) const override
 
void setEditorData (QWidget *editor, const QModelIndex &index) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setMaximumQty (int maxQty)
 
void setEditableItemCombo (bool editable)
 
void setShowPlaceholderItems (bool showPlaceholderItems)
 

Protected Member Functions

QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 

Constructor & Destructor Documentation

◆ ItemSelectionDelegate()

ItemSelectionDelegate::ItemSelectionDelegate ( QObject *  parent = nullptr)

Member Function Documentation

◆ commitData

void ItemSelectionDelegate::commitData ( QWidget *  editor) const
signal

◆ createEditor()

QWidget * ItemSelectionDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index = QModelIndex() 
) const
override

◆ setEditableItemCombo()

void ItemSelectionDelegate::setEditableItemCombo ( bool  editable)

◆ setEditorData()

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

◆ setMaximumQty()

void ItemSelectionDelegate::setMaximumQty ( int  maxQty)

◆ setModelData()

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

◆ setShowPlaceholderItems()

void ItemSelectionDelegate::setShowPlaceholderItems ( bool  showPlaceholderItems)

◆ sizeHint()

QSize ItemSelectionDelegate::sizeHint ( const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overrideprotected

◆ updateEditorGeometry()

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

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