VAPOR3 3.9.4
|
#include <PGroup.h>
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. | |
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 |
Public Member Functions inherited from WidgetGroupWrapper< PGroup, PWidget, VGroup > | |
WidgetGroupWrapper (VGroup *group) | |
virtual PGroup * | Add (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::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 |
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 |
Groups together PWidgets. See ParamsWidgetDemo for example use cases.
PGroup::PGroup | ( | ) |
PGroup::PGroup | ( | const List & | widgets | ) |
|
protected |
|
overrideprotectedvirtual |
Implements PWidget.