#include <OSComboBox.hpp>
|
template<typename ChoiceType > |
void | bind (model::ModelObject &modelObject, std::function< std::string(ChoiceType)> toString, std::function< std::vector< ChoiceType >()> choices, std::function< ChoiceType()> getter, std::function< bool(ChoiceType)> setter, boost::optional< NoFailAction > reset=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none) |
|
template<typename ChoiceType > |
void | bind (model::ModelObject &modelObject, std::function< std::string(ChoiceType)> toString, std::function< std::vector< ChoiceType >()> choices, std::function< boost::optional< ChoiceType >()> getter, std::function< bool(ChoiceType)> setter, boost::optional< NoFailAction > reset=boost::none) |
|
void | bind (model::ModelObject &modelObject, std::shared_ptr< ChoiceConcept > choiceConcept) |
|
void | bind (std::shared_ptr< OSComboBoxDataSource > dataSource) |
|
void | enableClickFocus () |
|
bool | hasData () |
|
void | unbind () |
|
virtual | ~OSComboBox2 () |
|
|
bool | event (QEvent *e) override |
|
virtual openstudio::OSComboBox2::~OSComboBox2 |
( |
| ) |
|
|
virtual |
template<typename ChoiceType >
void openstudio::OSComboBox2::bind |
( |
model::ModelObject & |
modelObject, |
|
|
std::function< std::string(ChoiceType)> |
toString, |
|
|
std::function< std::vector< ChoiceType >()> |
choices, |
|
|
std::function< ChoiceType()> |
getter, |
|
|
std::function< bool(ChoiceType)> |
setter, |
|
|
boost::optional< NoFailAction > |
reset = boost::none , |
|
|
boost::optional< BasicQuery > |
isDefaulted = boost::none |
|
) |
| |
|
inline |
template<typename ChoiceType >
void openstudio::OSComboBox2::bind |
( |
model::ModelObject & |
modelObject, |
|
|
std::function< std::string(ChoiceType)> |
toString, |
|
|
std::function< std::vector< ChoiceType >()> |
choices, |
|
|
std::function< boost::optional< ChoiceType >()> |
getter, |
|
|
std::function< bool(ChoiceType)> |
setter, |
|
|
boost::optional< NoFailAction > |
reset = boost::none |
|
) |
| |
|
inline |
void openstudio::OSComboBox2::bind |
( |
model::ModelObject & |
modelObject, |
|
|
std::shared_ptr< ChoiceConcept > |
choiceConcept |
|
) |
| |
|
inline |
void openstudio::OSComboBox2::enableClickFocus |
( |
| ) |
|
|
inline |
bool openstudio::OSComboBox2::event |
( |
QEvent * |
e | ) |
|
|
overrideprotected |
bool openstudio::OSComboBox2::hasData |
( |
| ) |
|
|
inline |
void openstudio::OSComboBox2::inFocus |
( |
bool |
inFocus, |
|
|
bool |
hasData |
|
) |
| |
|
signal |
void openstudio::OSComboBox2::unbind |
( |
| ) |
|