|
VAPOR3 3.9.4
|
Allows the selection of multiple variables. To add a title, use a PLabel. More...
#include <PMultiVarSelector.h>
Public Types | |
| enum | Mode { Auto , D2 , D3 , Both } |
Public Member Functions | |
| PMultiVarSelector (std::string tag) | |
| PMultiVarSelector * | DisplayVars (Mode mode) |
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. | |
| PWidget * | ShowBasedOnParam (const std::string &tag, int whenEqualTo=true) |
| PWidget * | EnableBasedOnParam (const std::string &tag, int whenEqualTo=true) |
| PWidget * | SetTooltip (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 |
| QSize | minimumSizeHint () const override |
| 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::ParamsBase * | getParams () const |
| VAPoR::ParamsMgr * | getParamsMgr () const |
| VAPoR::DataMgr * | getDataMgr () const |
| SettingsParams * | getSettingsParams () 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 |
Allows the selection of multiple variables. To add a title, use a PLabel.
Definition at line 14 of file PMultiVarSelector.h.
| Enumerator | |
|---|---|
| Auto | |
| D2 | |
| D3 | |
| Both | |
Definition at line 16 of file PMultiVarSelector.h.
| PMultiVarSelector::PMultiVarSelector | ( | std::string | tag | ) |
| PMultiVarSelector * PMultiVarSelector::DisplayVars | ( | Mode | mode | ) |
|
overrideprotected |
|
inlineoverrideprotectedvirtual |
Reimplemented from PWidget.
Definition at line 24 of file PMultiVarSelector.h.
|
overrideprotectedvirtual |
Implements PWidget.