VAPOR3 3.9.4
Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VMetadataTree Class Referenceabstract

#include <PMetadataClasses.h>

Inheritance diagram for VMetadataTree:
VSectionGroup Updateable VSection WidgetGroupWrapper< VSectionGroup, QWidget, VGroup > AbstractWidgetGroup< This, Widget > VDimensionMetadataTree VGlobalAttributeMetadataTree VVariableMetadataTree VCoordinateVariableMetadataTree VOpenVariableMetadataTree

Signals

void _timestepRejected ()
 

Public Member Functions

 VMetadataTree ()
 
virtual void Update (VAPoR::ParamsBase *p, VAPoR::ParamsMgr *pm, VAPoR::DataMgr *dm) override
 
- Public Member Functions inherited from VSectionGroup
 VSectionGroup (const std::string &title, List children={})
 
- Public Member Functions inherited from VSection
 VSection (const std::string &title)
 
QVBoxLayout * layout () const
 
void setMenu (QMenu *menu)
 
void setLayout (QLayout *layout)=delete
 
int addTab (QWidget *page, const QString &label)=delete
 
QWidget * widget (int index) const =delete
 
void setCornerWidget (QWidget *widget, Qt::Corner corner)=delete
 
QWidget * cornerWidget () const =delete
 
- Public Member Functions inherited from WidgetGroupWrapper< VSectionGroup, QWidget, VGroup >
 WidgetGroupWrapper (VGroup *group)
 
virtual VSectionGroupAdd (QWidget *w) override
 Adds a widget.
 
- Public Member Functions inherited from AbstractWidgetGroup< This, Widget >
virtual This * Add (Widget *w)
 Adds a widget.
 
This * AddM (const List &list)
 
virtual void Update (VAPoR::ParamsBase *params, VAPoR::ParamsMgr *paramsMgr=nullptr, VAPoR::DataMgr *dataMgr=nullptr)=0
 

Protected Member Functions

virtual void _gatherBranches (std::vector< std::string > &branches, VAPoR::ParamsBase *rp=nullptr) const =0
 
virtual void _generateMetadata (QTreeWidgetItem *item) const =0
 
bool _checkNeedUpdate (VAPoR::ParamsBase *p, VAPoR::DataMgr *dm)
 

Protected Attributes

QTreeWidget * _tree
 
VAPoR::DataMgr_dm
 
size_t _ts
 
bool _needUpdate
 
std::vector< std::string > _topLevelBranches
 
- Protected Attributes inherited from WidgetGroupWrapper< VSectionGroup, QWidget, VGroup >
VGroup_group
 
- Protected Attributes inherited from AbstractWidgetGroup< This, Widget >
std::vector< Widget * > _children
 

Additional Inherited Members

- Public Types inherited from AbstractWidgetGroup< This, Widget >
typedef std::initializer_list< Widget * > List
 

Detailed Description

Abstract base class for VWidgets that wrap QTreeWidgets. Only updates QTreeWidgets when the user's selected DataMgr, timestep, or variable list change.

Definition at line 71 of file PMetadataClasses.h.

Constructor & Destructor Documentation

◆ VMetadataTree()

VMetadataTree::VMetadataTree ( )

Member Function Documentation

◆ _checkNeedUpdate()

bool VMetadataTree::_checkNeedUpdate ( VAPoR::ParamsBase p,
VAPoR::DataMgr dm 
)
protected

◆ _gatherBranches()

virtual void VMetadataTree::_gatherBranches ( std::vector< std::string > &  branches,
VAPoR::ParamsBase rp = nullptr 
) const
protectedpure virtual

◆ _generateMetadata()

virtual void VMetadataTree::_generateMetadata ( QTreeWidgetItem *  item) const
protectedpure virtual

◆ _timestepRejected

void VMetadataTree::_timestepRejected ( )
signal

◆ Update()

virtual void VMetadataTree::Update ( VAPoR::ParamsBase p,
VAPoR::ParamsMgr pm,
VAPoR::DataMgr dm 
)
overridevirtual

Implements Updateable.

Member Data Documentation

◆ _dm

VAPoR::DataMgr* VMetadataTree::_dm
protected

Definition at line 84 of file PMetadataClasses.h.

◆ _needUpdate

bool VMetadataTree::_needUpdate
protected

Definition at line 86 of file PMetadataClasses.h.

◆ _topLevelBranches

std::vector<std::string> VMetadataTree::_topLevelBranches
protected

Definition at line 87 of file PMetadataClasses.h.

◆ _tree

QTreeWidget* VMetadataTree::_tree
protected

Definition at line 83 of file PMetadataClasses.h.

◆ _ts

size_t VMetadataTree::_ts
protected

Definition at line 85 of file PMetadataClasses.h.


The documentation for this class was generated from the following file: