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

#include <PLineItem.h>

Inheritance diagram for PLineItem:
PWidget UWidget VContainer Updateable PCheckbox PColorSelector PCornerSelector PDimensionSelector PDoubleInput PDoubleSliderEdit PEnumDropdown PFileSelector PIntegerInput PIntegerSliderEdit PLODSelector PQuickFidelitySelector PRefinementSelector PRegionSelector1D PStringDropdown PStringInput PTMSLODInput PTimestepSliderEdit

Public Member Functions

 PLineItem (const std::string &tag, const std::string &label, QWidget *centerWidget, QWidget *rightWidget)
 
 PLineItem (const std::string &tag, const std::string &label, QWidget *rightWidget)
 
 PLineItem (const std::string &label, PWidget *rightWidget)
 
- 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
 
- 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

Internal PWidget class. Standardizes PWidgets that take up a single line with a label, spacer, input.

Definition at line 9 of file PLineItem.h.

Constructor & Destructor Documentation

◆ PLineItem() [1/3]

PLineItem::PLineItem ( const std::string &  tag,
const std::string &  label,
QWidget *  centerWidget,
QWidget *  rightWidget 
)

◆ PLineItem() [2/3]

PLineItem::PLineItem ( const std::string &  tag,
const std::string &  label,
QWidget *  rightWidget 
)

◆ PLineItem() [3/3]

PLineItem::PLineItem ( const std::string &  label,
PWidget rightWidget 
)

Member Function Documentation

◆ updateGUI()

void PLineItem::updateGUI ( ) const
overrideprotectedvirtual

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