The ValueView class is used to display the Value objects in the trees.
#include <ValueView.h>
virtual void cubepluginapi::ValueView::applyConfig |
( |
| ) |
|
|
virtual |
for config widget, uses currently selected config widget settings to display tree values
virtual void cubepluginapi::ValueView::cancelConfig |
( |
| ) |
|
|
virtual |
for config widget, resets the selected config widget settings
virtual QWidget* cubepluginapi::ValueView::getConfigWidget |
( |
cube::DataType |
| ) |
|
|
virtual |
returns a configuration widget, that will be deleted by the caller after the config dialog is closed
virtual double cubepluginapi::ValueView::getDoubleValue |
( |
cube::Value * |
| ) |
const |
|
pure virtual |
returns the value, which is used to determine the color of the tree item and the sort
virtual QString cubepluginapi::ValueView::getExtendedInfo |
( |
const TreeItem * |
| ) |
|
|
virtual |
returns a full description ot the tree item's value if toString doesn't show all details.
virtual QWidget* cubepluginapi::ValueView::getExtendedInfoWidget |
( |
const TreeItem * |
| ) |
|
|
virtual |
virtual QPixmap cubepluginapi::ValueView::getIcon |
( |
const cubepluginapi::TreeItem * |
, |
|
|
bool |
grayOut |
|
) |
| const |
|
pure virtual |
returns the icon left of the tree item
virtual QSize cubepluginapi::ValueView::getIconSize |
( |
const TreeItem * |
item | ) |
const |
|
pure virtual |
returns size of the icon left of the tree item
virtual QString cubepluginapi::ValueView::getName |
( |
| ) |
const |
|
pure virtual |
returns the name of this value view. This name is shown in the configure dialog
virtual bool cubepluginapi::ValueView::isAvailable |
( |
cube::DataType |
type | ) |
const |
|
pure virtual |
return true, if a view for the given type is provided by this class
virtual QString cubepluginapi::ValueView::toString |
( |
const cubepluginapi::TreeItem * |
| ) |
const |
|
pure virtual |
return the string representation of the value of the given tree item. This value is shown left of the item label