VAPOR3 3.9.4
|
#include <PSliderEdit.h>
Public Member Functions | |
PDoubleSliderEdit (const std::string &tag, const std::string &label="") | |
PDoubleSliderEdit * | SetRange (double min, double max) |
PDoubleSliderEdit * | AllowUserRange (bool allowed=true) |
PDoubleSliderEdit * | AllowDynamicUpdate () |
![]() | |
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) | |
![]() | |
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 |
![]() | |
PWidget * | EnableDynamicUpdate (bool enabled=true) |
Turns on dynamic update. | |
virtual | ~PDynamicMixin ()=default |
Protected Member Functions | |
void | updateGUI () const override |
void | updateGUI () const override |
![]() | |
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 |
![]() | |
void | dynamicSetParamsDouble (double v) |
void | dynamicSetParamsLong (long v) |
void | dynamicSetParamsString (const std::string &v) |
Creates a slider and text input combo synced with the paramsdatabase. Due to the way VDoubleSliderEdit and VIntSliderEdit are implemented, duplicating the code was simpler than templatizing.
Definition at line 14 of file PSliderEdit.h.
PDoubleSliderEdit::PDoubleSliderEdit | ( | const std::string & | tag, |
const std::string & | label = "" |
||
) |
PDoubleSliderEdit * PDoubleSliderEdit::AllowDynamicUpdate | ( | ) |
PDoubleSliderEdit * PDoubleSliderEdit::AllowUserRange | ( | bool | allowed = true | ) |
PDoubleSliderEdit * PDoubleSliderEdit::SetRange | ( | double | min, |
double | max | ||
) |
|
overrideprotectedvirtual |
Reimplemented from PLineItem.