OpenStudio:model_editor
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Signals | Public Member Functions | List of all members
ModelObjectSelectorDialog Class Reference

#include <ModalDialogs.hpp>

+ Inheritance diagram for ModelObjectSelectorDialog:

Signals

void closed (const boost::optional< openstudio::model::ModelObject > &)
 

Public Member Functions

 ModelObjectSelectorDialog (const openstudio::IddObjectType &typeToDisplay, const openstudio::model::Model &model,*parent=nullptr)
 
 ModelObjectSelectorDialog (const std::vector< openstudio::IddObjectType > &typesToDisplay, const openstudio::model::Model &model,*parent=nullptr)
 
void onPushButtonCancel (bool)
 
void onPushButtonOK (bool)
 
boost::optional
< openstudio::model::ModelObject > 
selectedModelObject () const
 
void setCancelButtonText (const std::string &text)
 
void setOKButtonText (const std::string &text)
 
void setUserText (const std::string &text)
 
void setWindowTitle (const std::string &text)
 
virtual ~ModelObjectSelectorDialog ()
 

Constructor & Destructor Documentation

ModelObjectSelectorDialog::ModelObjectSelectorDialog ( const openstudio::IddObjectType &  typeToDisplay,
const openstudio::model::Model &  model,
parent = nullptr 
)
ModelObjectSelectorDialog::ModelObjectSelectorDialog ( const std::vector< openstudio::IddObjectType > &  typesToDisplay,
const openstudio::model::Model &  model,
parent = nullptr 
)
virtual ModelObjectSelectorDialog::~ModelObjectSelectorDialog ( )
virtual

Member Function Documentation

void ModelObjectSelectorDialog::closed ( const boost::optional< openstudio::model::ModelObject > &  )
signal
void ModelObjectSelectorDialog::onPushButtonCancel ( bool  )
void ModelObjectSelectorDialog::onPushButtonOK ( bool  )
boost::optional<openstudio::model::ModelObject> ModelObjectSelectorDialog::selectedModelObject ( ) const
void ModelObjectSelectorDialog::setCancelButtonText ( const std::string &  text)
void ModelObjectSelectorDialog::setOKButtonText ( const std::string &  text)
void ModelObjectSelectorDialog::setUserText ( const std::string &  text)
void ModelObjectSelectorDialog::setWindowTitle ( const std::string &  text)