OpenStudio:shared_gui_components
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Slots | Signals | Public Member Functions | List of all members
openstudio::OSQuantityEdit2 Class Reference

#include <OSQuantityEdit.hpp>

+ Inheritance diagram for openstudio::OSQuantityEdit2:

Public Slots

void onUnitSystemChange (bool isIP)
 

Signals

void inFocus (bool inFocus, bool hasData)
 

Public Member Functions

void bind (bool isIP, model::ModelObject &modelObject, DoubleGetter get, boost::optional< DoubleSetter > set=boost::none, boost::optional< NoFailAction > reset=boost::none, boost::optional< NoFailAction > autosize=boost::none, boost::optional< NoFailAction > autocalculate=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none, boost::optional< BasicQuery > isAutosized=boost::none, boost::optional< BasicQuery > isAutocalculated=boost::none)
 
void bind (bool isIP, model::ModelObject &modelObject, OptionalDoubleGetter optionalGet, boost::optional< DoubleSetter > set=boost::none, boost::optional< NoFailAction > reset=boost::none, boost::optional< NoFailAction > autosize=boost::none, boost::optional< NoFailAction > autocalculate=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none, boost::optional< BasicQuery > isAutosized=boost::none, boost::optional< BasicQuery > isAutocalculated=boost::none)
 
void bind (bool isIP, model::ModelObject &modelObject, DoubleGetter get, DoubleSetterVoidReturn set, boost::optional< NoFailAction > reset=boost::none, boost::optional< NoFailAction > autosize=boost::none, boost::optional< NoFailAction > autocalculate=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none, boost::optional< BasicQuery > isAutosized=boost::none, boost::optional< BasicQuery > isAutocalculated=boost::none)
 
void bind (bool isIP, model::ModelObject &modelObject, OptionalDoubleGetter optionalGet, DoubleSetterVoidReturn set, boost::optional< NoFailAction > reset=boost::none, boost::optional< NoFailAction > autosize=boost::none, boost::optional< NoFailAction > autocalculate=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none, boost::optional< BasicQuery > isAutosized=boost::none, boost::optional< BasicQuery > isAutocalculated=boost::none)
 
QDoubleValidator * doubleValidator ()
 
void enableClickFocus ()
 
bool hasData ()
 
 OSQuantityEdit2 (const std::string &modelUnits, const std::string &siUnits, const std::string &ipUnits, bool isIP,*parent=nullptr)
 
void unbind ()
 
virtual ~OSQuantityEdit2 ()
 

Constructor & Destructor Documentation

openstudio::OSQuantityEdit2::OSQuantityEdit2 ( const std::string &  modelUnits,
const std::string &  siUnits,
const std::string &  ipUnits,
bool  isIP,
parent = nullptr 
)
virtual openstudio::OSQuantityEdit2::~OSQuantityEdit2 ( )
virtual

Member Function Documentation

void openstudio::OSQuantityEdit2::bind ( bool  isIP,
model::ModelObject &  modelObject,
DoubleGetter  get,
boost::optional< DoubleSetter set = boost::none,
boost::optional< NoFailAction reset = boost::none,
boost::optional< NoFailAction autosize = boost::none,
boost::optional< NoFailAction autocalculate = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none,
boost::optional< BasicQuery isAutosized = boost::none,
boost::optional< BasicQuery isAutocalculated = boost::none 
)
void openstudio::OSQuantityEdit2::bind ( bool  isIP,
model::ModelObject &  modelObject,
OptionalDoubleGetter  optionalGet,
boost::optional< DoubleSetter set = boost::none,
boost::optional< NoFailAction reset = boost::none,
boost::optional< NoFailAction autosize = boost::none,
boost::optional< NoFailAction autocalculate = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none,
boost::optional< BasicQuery isAutosized = boost::none,
boost::optional< BasicQuery isAutocalculated = boost::none 
)
void openstudio::OSQuantityEdit2::bind ( bool  isIP,
model::ModelObject &  modelObject,
DoubleGetter  get,
DoubleSetterVoidReturn  set,
boost::optional< NoFailAction reset = boost::none,
boost::optional< NoFailAction autosize = boost::none,
boost::optional< NoFailAction autocalculate = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none,
boost::optional< BasicQuery isAutosized = boost::none,
boost::optional< BasicQuery isAutocalculated = boost::none 
)
void openstudio::OSQuantityEdit2::bind ( bool  isIP,
model::ModelObject &  modelObject,
OptionalDoubleGetter  optionalGet,
DoubleSetterVoidReturn  set,
boost::optional< NoFailAction reset = boost::none,
boost::optional< NoFailAction autosize = boost::none,
boost::optional< NoFailAction autocalculate = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none,
boost::optional< BasicQuery isAutosized = boost::none,
boost::optional< BasicQuery isAutocalculated = boost::none 
)
QDoubleValidator* openstudio::OSQuantityEdit2::doubleValidator ( )
inline
void openstudio::OSQuantityEdit2::enableClickFocus ( )
bool openstudio::OSQuantityEdit2::hasData ( )
inline
void openstudio::OSQuantityEdit2::inFocus ( bool  inFocus,
bool  hasData 
)
signal
void openstudio::OSQuantityEdit2::onUnitSystemChange ( bool  isIP)
slot
void openstudio::OSQuantityEdit2::unbind ( )