12class DisableDatasetClickEventFilter;
20 QToolButton *_deleteToolButton;
24 struct RendererMetadata {
25 bool supports2D, supports3D, supportsParticle;
30 static bool AllowInspectDataset;
31 static std::map<string, RendererMetadata> _rendererMetadata;
32 static const int DatasetType = QListWidgetItem::UserType;
33 static const int RendererType = QListWidgetItem::UserType+1;
35 class RendererItem :
public QListWidgetItem {
38 const std::string Class;
39 const std::string Dataset;
40 RendererItem(
const std::string &instName,
const std::string &className,
const std::string &datasetName)
41 : QListWidgetItem(
nullptr, RendererType), Id(instName), Class(className), Dataset(datasetName) {}
43 class DatasetItem :
public QListWidgetItem {
46 DatasetItem(
const std::string &name)
47 : QListWidgetItem(
nullptr, DatasetType), Id(name) {}
void showContextMenu(const QPoint &localPos)
friend class DisableDatasetClickEventFilter
void resizeEvent(QResizeEvent *event)
string getClassName(string instName)
void deleteRenderer(string id)
void inspectRenderer(RendererItem *item)
void currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous)
RendererList(ControlExec *ce)
void inspectDataset(DatasetItem *item)
void renameRenderer(string inst)
static std::vector< string > getHintVariables(RenderParams *rp)
Provides API for VAPOR visualizer User Interfaces (UIs)
A Params subclass for managing parameters used by Renderers.