LeechCraft  0.6.70-18450-gabe19ee3b0
Modular cross-platform feature rich live environment.
LC::Util::TagsEditDelegate Class Reference

#include "tagseditdelegate.h"

+ Inheritance diagram for LC::Util::TagsEditDelegate:
+ Collaboration diagram for LC::Util::TagsEditDelegate:

Public Member Functions

 TagsEditDelegate (ITagsManager &, QObject *=nullptr)
 

Protected Member Functions

QWidget * createEditor (QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const override
 
void paint (QPainter *, const QStyleOptionViewItem &, const QModelIndex &) const override
 
void setEditorData (QWidget *, const QModelIndex &) const override
 
void setModelData (QWidget *, QAbstractItemModel *, const QModelIndex &) const override
 

Detailed Description

Definition at line 18 of file tagseditdelegate.h.

Constructor & Destructor Documentation

◆ TagsEditDelegate()

LC::Util::TagsEditDelegate::TagsEditDelegate ( ITagsManager itm,
QObject *  parent = nullptr 
)
explicit

Definition at line 17 of file tagseditdelegate.cpp.

Member Function Documentation

◆ createEditor()

QWidget * LC::Util::TagsEditDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  ,
const QModelIndex &  index 
) const
overrideprotected

Definition at line 23 of file tagseditdelegate.cpp.

References setEditorData().

+ Here is the call graph for this function:

◆ paint()

void LC::Util::TagsEditDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
overrideprotected

Definition at line 33 of file tagseditdelegate.cpp.

References ITagsManager::Join().

+ Here is the call graph for this function:

◆ setEditorData()

void LC::Util::TagsEditDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
overrideprotected

Definition at line 43 of file tagseditdelegate.cpp.

References ITagsManager::Join().

Referenced by createEditor().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setModelData()

void LC::Util::TagsEditDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
overrideprotected

Definition at line 49 of file tagseditdelegate.cpp.

References ITagsManager::Split().

+ Here is the call graph for this function:

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