|
| PShowIf (std::string tag) |
|
PShowIf * | Equals (long l) |
|
PShowIf * | Equals (std::string s) |
|
PShowIf * | DimensionEquals (unsigned int dim) |
|
PShowIf * | Not () |
|
PShowIf * | Then (PWidget *p) |
|
PShowIf * | Else (PWidget *p) |
|
PShowIf * | Then (const PGroup::List &list) |
|
PShowIf * | Else (const PGroup::List &list) |
|
| PWidgetWrapper (PWidget *p) |
|
| PWidgetWrapper (std::string tag, PWidget *p) |
|
| 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 |
|
| VContainer (QWidget *w) |
|
| 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 |
|
Shows and hides PWidgets based on a logic test.
- Author
- Stas Jaroszynski
For example: (new PShowIf("param_tag"))->Not()->Equals("Hi")->Then( PWidgets here will only show if param_tag != "Hi" )->Else( PWidgets here will only show if param_tag == "Hi" );
Definition at line 18 of file PShowIf.h.