OpenStudioCore:openstudio_lib
 All Classes Namespaces Functions Variables Enumerations Enumerator
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
openstudio::OSDropZone2 Class Reference

#include <OSDropZone.hpp>

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, OptionalModelObjectGetter get, ModelObjectSetter set, boost::optional< NoFailAction > reset=boost::none)
 
bool deleteObject ()
 
void enableClickFocus ()
 
bool hasData ()
 
bool isDefaulted ()
 
 OSDropZone2 ()
 
void setDeleteObject (bool deleteObject)
 
void setIsDefaulted (bool defaulted)
 
void unbind ()
 
 ~OSDropZone2 ()
 

Protected Member Functions

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

Constructor & Destructor Documentation

openstudio::OSDropZone2::OSDropZone2 ( )
openstudio::OSDropZone2::~OSDropZone2 ( )

Member Function Documentation

void openstudio::OSDropZone2::bind ( model::ModelObject &  modelObject,
OptionalModelObjectGetter  get,
ModelObjectSetter  set,
boost::optional< NoFailAction >  reset = boost::none 
)
bool openstudio::OSDropZone2::deleteObject ( )
inline
void openstudio::OSDropZone2::enableClickFocus ( )
inline
virtual void openstudio::OSDropZone2::focusInEvent ( QFocusEvent *  e)
overrideprotectedvirtual
virtual void openstudio::OSDropZone2::focusOutEvent ( QFocusEvent *  e)
overrideprotectedvirtual
bool openstudio::OSDropZone2::hasData ( )
inline
void openstudio::OSDropZone2::inFocus ( bool  inFocus,
bool  hasData 
)
signal
bool openstudio::OSDropZone2::isDefaulted ( )
void openstudio::OSDropZone2::itemClicked ( OSItem item)
signal
void openstudio::OSDropZone2::mouseReleaseEvent ( QMouseEvent *  event)
overrideprotected
void openstudio::OSDropZone2::objectRemoved ( boost::optional< model::ParentObject >  parent)
signal
void openstudio::OSDropZone2::onItemRemoveClicked ( )
slot
void openstudio::OSDropZone2::paintEvent ( QPaintEvent *  event)
overrideprotected
void openstudio::OSDropZone2::setDeleteObject ( bool  deleteObject)
inline
void openstudio::OSDropZone2::setIsDefaulted ( bool  defaulted)
void openstudio::OSDropZone2::unbind ( )