VAPOR3 3.9.4
Public Member Functions | Protected Member Functions | List of all members
PTFMapWidget< T > Class Template Reference

#include <PTFEditor.h>

Inheritance diagram for PTFMapWidget< T >:
PWidget UWidget VContainer Updateable

Public Member Functions

 PTFMapWidget (const std::string &tag)
 
- Public Member Functions inherited from PWidget
 PWidget (const std::string &tag, QWidget *widget)
 
void Update (VAPoR::ParamsBase *params, VAPoR::ParamsMgr *paramsMgr=nullptr, VAPoR::DataMgr *dataMgr=nullptr) override
 Follows the Vapor GUI update function convention. Update the element.
 
PWidgetShowBasedOnParam (const std::string &tag, int whenEqualTo=true)
 
PWidgetEnableBasedOnParam (const std::string &tag, int whenEqualTo=true)
 
PWidgetSetTooltip (const std::string &text)
 
void setToolTip (const QString &)=delete
 
- Public Member Functions inherited from UWidget
 VContainer (QWidget *w)
 
- Public Member Functions inherited from VContainer
 VContainer (QWidget *w)
 
void AddBottomStretch ()
 
void SetPadding (int left, int top, int right, int bottom)
 
QLayout * layout () const =delete
 
void setLayout (QLayout *)=delete
 
virtual void Update (VAPoR::ParamsBase *params, VAPoR::ParamsMgr *paramsMgr=nullptr, VAPoR::DataMgr *dataMgr=nullptr)=0
 

Protected Member Functions

virtual void updateGUI () const override
 
virtual bool requireParamsMgr () const override
 
virtual bool requireDataMgr () const override
 
- Protected Member Functions inherited from PWidget
virtual void updateGUI () const =0
 
virtual bool requireParamsMgr () const
 
virtual bool requireDataMgr () const
 
virtual bool isShown () const
 
virtual bool isEnabled () const
 
const std::string & getTag () const
 
VAPoR::ParamsBasegetParams () const
 
VAPoR::ParamsMgrgetParamsMgr () const
 
VAPoR::DataMgrgetDataMgr () const
 
SettingsParamsgetSettingsParams () const
 
void setParamsDouble (double v)
 
void setParamsLong (long v)
 
void setParamsString (const std::string &v)
 
double getParamsDouble () const
 
long getParamsLong () const
 
std::string getParamsString () const
 
template<class T >
T * getParams () const
 

Detailed Description

template<typename T>
class PTFMapWidget< T >

Wrapper class that allows TFMapsWidgets to be used as PWidgets

Definition at line 21 of file PTFEditor.h.

Constructor & Destructor Documentation

◆ PTFMapWidget()

template<typename T >
PTFMapWidget< T >::PTFMapWidget ( const std::string &  tag)

Member Function Documentation

◆ requireDataMgr()

template<typename T >
virtual bool PTFMapWidget< T >::requireDataMgr ( ) const
inlineoverrideprotectedvirtual

Reimplemented from PWidget.

Definition at line 30 of file PTFEditor.h.

◆ requireParamsMgr()

template<typename T >
virtual bool PTFMapWidget< T >::requireParamsMgr ( ) const
inlineoverrideprotectedvirtual

Reimplemented from PWidget.

Definition at line 29 of file PTFEditor.h.

◆ updateGUI()

template<typename T >
virtual void PTFMapWidget< T >::updateGUI ( ) const
overrideprotectedvirtual

Implements PWidget.


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