#include <ChartItem.h>
Public Member Functions | |
| bool | canFetchMore () const |
| ChartItem (te::map::Chart *chart, QObject *parent=0) | |
| int | columnCount () const |
| QVariant | data (int column, int role) const |
| void | fetchMore () |
| Qt::ItemFlags | flags () const |
| std::vector < te::qt::widgets::AbstractTreeItem * > | getAncestors () |
| bool | getCheckable () |
| std::vector < te::qt::widgets::AbstractTreeItem * > | getDescendants () |
| const std::string | getItemType () const |
| It returns the item type: "CHART_ITEM". More... | |
| te::map::AbstractLayerPtr | getLayer () const |
| QMenu * | getMenu (QWidget *parent=0) const |
| bool | hasChildren () const |
| void | setCheckable (bool checkable) |
| bool | setData (int column, const QVariant &value, int role=Qt::EditRole) |
| ~ChartItem () | |
Private Attributes | |
| te::map::Chart * | m_chart |
| bool | m_isCheckable |
| bool | m_isChecked |
Definition at line 41 of file ChartItem.h.
| te::qt::widgets::ChartItem::ChartItem | ( | te::map::Chart * | chart, |
| QObject * | parent = 0 |
||
| ) |
Definition at line 38 of file ChartItem.cpp.
| te::qt::widgets::ChartItem::~ChartItem | ( | ) |
Definition at line 46 of file ChartItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 86 of file ChartItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 50 of file ChartItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 55 of file ChartItem.cpp.
References te::map::Bar, and te::map::Pie.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 96 of file ChartItem.cpp.
References te::qt::widgets::Convert2Qt().
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 91 of file ChartItem.cpp.
|
inherited |
Definition at line 60 of file AbstractTreeItem.cpp.
Referenced by te::qt::widgets::LayerTreeView::onItemClicked().
| bool te::qt::widgets::ChartItem::getCheckable | ( | ) |
Definition at line 153 of file ChartItem.cpp.
|
inherited |
Definition at line 38 of file AbstractTreeItem.cpp.
References te::qt::widgets::AbstractTreeItem::getDescendants().
Referenced by te::qt::widgets::AbstractTreeItem::getDescendants(), and te::qt::widgets::LayerTreeView::onItemClicked().
|
virtual |
It returns the item type: "CHART_ITEM".
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 143 of file ChartItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 138 of file ChartItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 81 of file ChartItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 113 of file ChartItem.cpp.
| void te::qt::widgets::ChartItem::setCheckable | ( | bool | checkable | ) |
Definition at line 148 of file ChartItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 118 of file ChartItem.cpp.
|
private |
Definition at line 82 of file ChartItem.h.
|
private |
Definition at line 83 of file ChartItem.h.
|
private |
Definition at line 84 of file ChartItem.h.