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

#include <OSLineEdit.hpp>

+ Inheritance diagram for openstudio::OSLineEdit2:

Public Slots

void onItemRemoveClicked ()
 

Signals

void inFocus (bool inFocus, bool hasData)
 
void itemClicked (OSItem *item)
 
void objectRemoved (boost::optional< model::ParentObject > parent)
 

Public Member Functions

void bind (model::ModelObject &modelObject, StringGetter get, boost::optional< StringSetter > set=boost::none, boost::optional< NoFailAction > reset=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none)
 
void bind (model::ModelObject &modelObject, OptionalStringGetter get, boost::optional< StringSetter > set=boost::none, boost::optional< NoFailAction > reset=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none)
 
void bind (model::ModelObject &modelObject, OptionalStringGetterBoolArg get, boost::optional< StringSetterOptionalStringReturn > set, boost::optional< NoFailAction > reset=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none)
 
void bind (model::ModelObject &modelObject, StringGetter get, boost::optional< StringSetterVoidReturn > set=boost::none, boost::optional< NoFailAction > reset=boost::none, boost::optional< BasicQuery > isDefaulted=boost::none)
 
bool deleteObject ()
 
void enableClickFocus ()
 
bool hasData ()
 
void setDeleteObject (bool deleteObject)
 
void unbind ()
 
virtual ~OSLineEdit2 ()
 

Public Attributes

OSLineEdit2parent
 

Protected Member Functions

virtual void focusInEvent (QFocusEvent *e) override
 
virtual void focusOutEvent (QFocusEvent *e) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 

Constructor & Destructor Documentation

virtual openstudio::OSLineEdit2::~OSLineEdit2 ( )
virtual

Member Function Documentation

void openstudio::OSLineEdit2::bind ( model::ModelObject &  modelObject,
StringGetter  get,
boost::optional< StringSetter set = boost::none,
boost::optional< NoFailAction reset = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none 
)
void openstudio::OSLineEdit2::bind ( model::ModelObject &  modelObject,
OptionalStringGetter  get,
boost::optional< StringSetter set = boost::none,
boost::optional< NoFailAction reset = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none 
)
void openstudio::OSLineEdit2::bind ( model::ModelObject &  modelObject,
OptionalStringGetterBoolArg  get,
boost::optional< StringSetterOptionalStringReturn set,
boost::optional< NoFailAction reset = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none 
)
void openstudio::OSLineEdit2::bind ( model::ModelObject &  modelObject,
StringGetter  get,
boost::optional< StringSetterVoidReturn set = boost::none,
boost::optional< NoFailAction reset = boost::none,
boost::optional< BasicQuery isDefaulted = boost::none 
)
bool openstudio::OSLineEdit2::deleteObject ( )
inline
void openstudio::OSLineEdit2::enableClickFocus ( )
inline
virtual void openstudio::OSLineEdit2::focusInEvent ( QFocusEvent *  e)
overrideprotectedvirtual
virtual void openstudio::OSLineEdit2::focusOutEvent ( QFocusEvent *  e)
overrideprotectedvirtual
bool openstudio::OSLineEdit2::hasData ( )
inline
void openstudio::OSLineEdit2::inFocus ( bool  inFocus,
bool  hasData 
)
signal
void openstudio::OSLineEdit2::itemClicked ( OSItem *  item)
signal
void openstudio::OSLineEdit2::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected
void openstudio::OSLineEdit2::objectRemoved ( boost::optional< model::ParentObject >  parent)
signal
void openstudio::OSLineEdit2::onItemRemoveClicked ( )
slot
void openstudio::OSLineEdit2::setDeleteObject ( bool  deleteObject)
inline
void openstudio::OSLineEdit2::unbind ( )

Member Data Documentation

OSLineEdit2 * openstudio::OSLineEdit2::parent