#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) |
|
template<typename ChoiceType , typename DataSourceType > |
void | bind (model::ModelObject &modelObject, std::function< std::string(const ChoiceType &)> toString, std::function< std::vector< ChoiceType >(DataSourceType *)> choices, std::function< boost::optional< ChoiceType >(DataSourceType *)> getter, std::function< bool(DataSourceType *, ChoiceType)> setter, boost::optional< std::function< void(DataSourceType *)> > reset=boost::none, const boost::optional< DataSource > &t_source=boost::none, bool editable=false) |
|
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 |
template<typename ChoiceType , typename DataSourceType >
void openstudio::OSComboBox2::bind |
( |
model::ModelObject & |
modelObject, |
|
|
std::function< std::string(const ChoiceType &)> |
toString, |
|
|
std::function< std::vector< ChoiceType >(DataSourceType *)> |
choices, |
|
|
std::function< boost::optional< ChoiceType >(DataSourceType *)> |
getter, |
|
|
std::function< bool(DataSourceType *, ChoiceType)> |
setter, |
|
|
boost::optional< std::function< void(DataSourceType *)> > |
reset = boost::none , |
|
|
const boost::optional< DataSource > & |
t_source = boost::none , |
|
|
bool |
editable = false |
|
) |
| |
|
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::onChoicesRefreshTrigger |
( |
| ) |
|
|
slot |
void openstudio::OSComboBox2::unbind |
( |
| ) |
|