#include <ColorMapItem.h>
Public Member Functions | |
bool | canFetchMore () const |
ColorMapItem (te::se::ColorMap *cm, 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: "COLORMAP_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) |
~ColorMapItem () | |
Private Attributes | |
te::se::ColorMap * | m_colorMap |
bool | m_isCheckable |
bool | m_isChecked |
Definition at line 41 of file ColorMapItem.h.
te::qt::widgets::ColorMapItem::ColorMapItem | ( | te::se::ColorMap * | cm, |
QObject * | parent = 0 |
||
) |
Definition at line 40 of file ColorMapItem.cpp.
te::qt::widgets::ColorMapItem::~ColorMapItem | ( | ) |
Definition at line 48 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 90 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 52 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 57 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 100 of file ColorMapItem.cpp.
References te::color::RGBAColor::getBlue(), te::se::InterpolationPoint::getData(), te::se::GetDouble(), te::color::RGBAColor::getGreen(), te::color::RGBAColor::getRed(), te::se::GetString(), te::se::InterpolationPoint::getValue(), and te::color::RGBAColor::setColor().
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 95 of file ColorMapItem.cpp.
|
inherited |
Definition at line 60 of file AbstractTreeItem.cpp.
Referenced by te::qt::widgets::LayerTreeView::onItemClicked().
bool te::qt::widgets::ColorMapItem::getCheckable | ( | ) |
Definition at line 210 of file ColorMapItem.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: "COLORMAP_ITEM".
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 200 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 195 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 85 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 162 of file ColorMapItem.cpp.
void te::qt::widgets::ColorMapItem::setCheckable | ( | bool | checkable | ) |
Definition at line 205 of file ColorMapItem.cpp.
|
virtual |
Implements te::qt::widgets::AbstractTreeItem.
Definition at line 177 of file ColorMapItem.cpp.
|
private |
Definition at line 82 of file ColorMapItem.h.
|
private |
Definition at line 83 of file ColorMapItem.h.
|
private |
Definition at line 84 of file ColorMapItem.h.