#include <OSDoubleEdit.hpp>
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 | |
OSDoubleEdit2 * | parent |
Protected Member Functions | |
virtual void | focusInEvent (QFocusEvent *e) override |
virtual void | focusOutEvent (QFocusEvent *e) override |
Should only be used for dimensionless real fields.
Real fields with units should use OSQuantityEdit.
|
virtual |
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 |
||
) |
|
inline |
|
inline |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
inline |
|
signal |
void openstudio::OSDoubleEdit2::unbind | ( | ) |
OSDoubleEdit2 * openstudio::OSDoubleEdit2::parent |