VAPOR3 3.9.4
Public Member Functions | Protected Member Functions | List of all members
PWidgetWrapper Class Reference

Provides a streamlined interface for a PWidget that wraps another PWidget. More...

#include <PWidgetWrapper.h>

Inheritance diagram for PWidgetWrapper:
PWidget UWidget VContainer Updateable PFramebufferSettingsSection PRendererTransformSection PShowIf

Public Member Functions

 PWidgetWrapper (PWidget *p)
 
 PWidgetWrapper (std::string tag, PWidget *p)
 
- 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

void updateGUI () const override
 
virtual VAPoR::ParamsBasegetWrappedParams () const
 
- 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

Provides a streamlined interface for a PWidget that wraps another PWidget.

Author
Stas Jaroszynski

Definition at line 9 of file PWidgetWrapper.h.

Constructor & Destructor Documentation

◆ PWidgetWrapper() [1/2]

PWidgetWrapper::PWidgetWrapper ( PWidget p)

◆ PWidgetWrapper() [2/2]

PWidgetWrapper::PWidgetWrapper ( std::string  tag,
PWidget p 
)

Member Function Documentation

◆ getWrappedParams()

virtual VAPoR::ParamsBase * PWidgetWrapper::getWrappedParams ( ) const
protectedvirtual

Reimplemented in PFramebufferSettingsSection.

◆ updateGUI()

void PWidgetWrapper::updateGUI ( ) const
overrideprotectedvirtual

Implements PWidget.


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