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

#include <PGroup.h>

Inheritance diagram for PGroup:
PWidget WidgetGroupWrapper< PGroup, PWidget, VGroup > UWidget AbstractWidgetGroup< This, Widget > VContainer Updateable PCameraFileGroup PConstantColorWidget PGeometrySubtab PSliceController PSubGroup

Public Member Functions

 PGroup ()
 
 PGroup (const List &widgets)
 
- 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
 
- Public Member Functions inherited from WidgetGroupWrapper< PGroup, PWidget, VGroup >
 WidgetGroupWrapper (VGroup *group)
 
virtual PGroupAdd (PWidget *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)
 

Protected Member Functions

 PGroup (VGroup *w)
 
void updateGUI () 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
 

Additional Inherited Members

- Public Types inherited from AbstractWidgetGroup< This, Widget >
typedef std::initializer_list< Widget * > List
 
- Protected Attributes inherited from WidgetGroupWrapper< PGroup, PWidget, VGroup >
VGroup_group
 
- Protected Attributes inherited from AbstractWidgetGroup< This, Widget >
std::vector< Widget * > _children
 

Detailed Description

Groups together PWidgets. See ParamsWidgetDemo for example use cases.

Definition at line 14 of file PGroup.h.

Constructor & Destructor Documentation

◆ PGroup() [1/3]

PGroup::PGroup ( )

◆ PGroup() [2/3]

PGroup::PGroup ( const List widgets)

◆ PGroup() [3/3]

PGroup::PGroup ( VGroup w)
protected

Member Function Documentation

◆ updateGUI()

void PGroup::updateGUI ( ) const
overrideprotectedvirtual

Implements PWidget.


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