LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
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.

◆ setEditorData()

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

Definition at line 43 of file tagseditdelegate.cpp.

Referenced by createEditor().

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.


The documentation for this class was generated from the following files:
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/util/tags/tagseditdelegate.h
  • /home/abuild/rpmbuild/BUILD/leechcraft-doc-0.6.70+git.17609.g3dde4097dd-build/leechcraft-0.6.70-17609-g3dde4097dd/src/util/tags/tagseditdelegate.cpp