#include <EditedDelegate.h>
|
| void | addEdited (const std::string &lName) |
| |
| void | addStashed (const std::string &lName) |
| |
| | EditDelegate (QStyledItemDelegate *decorated, QObject *parent=0) |
| |
| QStyledItemDelegate * | findDecorator (QStyledItemDelegate *decorated) |
| | Returns the Decorator that decorates this item. More...
|
| |
| QStyledItemDelegate * | getDecorated () |
| | Returns the pointer of decorated object.
More...
|
| |
| bool | isStached (const std::string &lName) |
| |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| |
| QStyledItemDelegate * | removeDecorator (QStyledItemDelegate *decorated) |
| | Removes The decorator of the decorated. More...
|
| |
| void | removeEdited (const std::string &lName) |
| |
| void | removeStashed (const std::string &lName) |
| |
| | ~EditDelegate () |
| |
Definition at line 38 of file EditedDelegate.h.
◆ EditDelegate()
| EditDelegate::EditDelegate |
( |
QStyledItemDelegate * |
decorated, |
|
|
QObject * |
parent = 0 |
|
) |
| |
◆ ~EditDelegate()
| EditDelegate::~EditDelegate |
( |
| ) |
|
◆ addEdited()
| void EditDelegate::addEdited |
( |
const std::string & |
lName | ) |
|
◆ addStashed()
| void EditDelegate::addStashed |
( |
const std::string & |
lName | ) |
|
◆ findDecorator()
| QStyledItemDelegate * te::common::Decorator< QStyledItemDelegate >::findDecorator |
( |
QStyledItemDelegate * |
decorated | ) |
|
|
inherited |
Returns the Decorator that decorates this item.
- Parameters
-
| decorated | The decorated item that we are looking for. |
- Returns
- The Decorator we are looking for or this if there's no decorators or 0 if not found.
Definition at line 86 of file Decorator.h.
◆ getDecorated()
Returns the pointer of decorated object.
Definition at line 78 of file Decorator.h.
◆ isStached()
| bool EditDelegate::isStached |
( |
const std::string & |
lName | ) |
|
◆ paint()
| void EditDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ removeDecorator()
| QStyledItemDelegate * te::common::Decorator< QStyledItemDelegate >::removeDecorator |
( |
QStyledItemDelegate * |
decorated | ) |
|
|
inherited |
Removes The decorator of the decorated.
- Parameters
-
| decorated | The item that we are searching for the decorator. |
- Returns
- The new item to be used as new Delegate or NULL.
Definition at line 94 of file Decorator.h.
◆ removeEdited()
| void EditDelegate::removeEdited |
( |
const std::string & |
lName | ) |
|
◆ removeStashed()
| void EditDelegate::removeStashed |
( |
const std::string & |
lName | ) |
|
◆ m_decorated
◆ m_delDecorated
If true, also delete decorated pointer.
Definition at line 99 of file Decorator.h.
◆ m_edited
| std::set<std::string> EditDelegate::m_edited |
|
protected |
◆ m_memory
| QIcon EditDelegate::m_memory |
|
protected |
◆ m_stash
| QIcon EditDelegate::m_stash |
|
protected |
◆ m_stashed
| std::set<std::string> EditDelegate::m_stashed |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/plugins/edit/EditedDelegate.h