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

#include <OSDoubleEdit.hpp>

+ Inheritance diagram for openstudio::OSDoubleEdit2:

Signals

void inFocus (bool inFocus, bool hasData)
 

Public Member Functions

void bind (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 (model::ModelObject &modelObject, OptionalDoubleGetter 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 (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 (model::ModelObject &modelObject, OptionalDoubleGetter 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 (model::ModelExtensibleGroup &modelExtensibleGroup, 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 (model::ModelExtensibleGroup &modelExtensibleGroup, OptionalDoubleGetter 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)
 
QDoubleValidator * doubleValidator ()
 
void enableClickFocus ()
 
bool hasData ()
 
void unbind ()
 
virtual ~OSDoubleEdit2 ()
 

Public Attributes

OSDoubleEdit2parent
 

Protected Member Functions

virtual void focusInEvent (QFocusEvent *e) override
 
virtual void focusOutEvent (QFocusEvent *e) override
 

Detailed Description

Should only be used for dimensionless real fields.

Real fields with units should use OSQuantityEdit.

Constructor & Destructor Documentation

virtual openstudio::OSDoubleEdit2::~OSDoubleEdit2 ( )
virtual

Member Function Documentation

void openstudio::OSDoubleEdit2::bind ( 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::OSDoubleEdit2::bind ( model::ModelObject &  modelObject,
OptionalDoubleGetter  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::OSDoubleEdit2::bind ( 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::OSDoubleEdit2::bind ( model::ModelObject &  modelObject,
OptionalDoubleGetter  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::OSDoubleEdit2::bind ( model::ModelExtensibleGroup &  modelExtensibleGroup,
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::OSDoubleEdit2::bind ( model::ModelExtensibleGroup &  modelExtensibleGroup,
OptionalDoubleGetter  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 
)
QDoubleValidator* openstudio::OSDoubleEdit2::doubleValidator ( )
inline
void openstudio::OSDoubleEdit2::enableClickFocus ( )
inline
virtual void openstudio::OSDoubleEdit2::focusInEvent ( QFocusEvent *  e)
overrideprotectedvirtual
virtual void openstudio::OSDoubleEdit2::focusOutEvent ( QFocusEvent *  e)
overrideprotectedvirtual
bool openstudio::OSDoubleEdit2::hasData ( )
inline
void openstudio::OSDoubleEdit2::inFocus ( bool  inFocus,
bool  hasData 
)
signal
void openstudio::OSDoubleEdit2::unbind ( )

Member Data Documentation

OSDoubleEdit2 * openstudio::OSDoubleEdit2::parent