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

#include <InspectorDialog.hpp>

+ Inheritance diagram for InspectorDialog:

Public Slots

virtual void onIddObjectTypeChanged (const openstudio::IddObjectType &)
 
virtual void onModelChanged (openstudio::model::Model &)
 
virtual void onPushButtonCopy (bool)
 
virtual void onPushButtonDelete (bool)
 
virtual void onPushButtonNew (bool)
 
virtual void onPushButtonPurge (bool)
 
virtual void onSelectedObjectHandlesChanged (const std::vector< openstudio::Handle > &)
 

Signals

void iddObjectTypeChanged (const openstudio::IddObjectType &)
 
void modelChanged (openstudio::model::Model &)
 
void selectedObjectHandlesChanged (const std::vector< openstudio::Handle > &)
 
void toggleUnitsClicked (bool)
 

Public Member Functions

void displayIP (const bool displayIP)
 
openstudio::IddObjectType iddObjectType () const
 
 InspectorDialog (InspectorDialogClient client=InspectorDialogClient::AllOpenStudio,*parent=nullptr)
 create a new dialog with empty model More...
 
 InspectorDialog (openstudio::model::Model &model, InspectorDialogClient client=InspectorDialogClient::AllOpenStudio,*parent=nullptr)
 create a new dialog for existing model More...
 
openstudio::model::Model model () const
 
void rebuildInspectorGadget (bool recursive)
 
void restoreState ()
 
void saveState ()
 
std::vector< openstudio::Handle > selectedObjectHandles () const
 
bool setIddObjectType (const openstudio::IddObjectType &, bool force=false)
 
void setModel (openstudio::model::Model &model, bool force=false)
 
bool setSelectedObjectHandles (const std::vector< openstudio::Handle > &, bool force=false)
 
virtual ~InspectorDialog ()
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *t_event) override
 
virtual void showEvent (QShowEvent *t_event) override
 

Constructor & Destructor Documentation

InspectorDialog::InspectorDialog ( InspectorDialogClient  client = InspectorDialogClient::AllOpenStudio,
parent = nullptr 
)

create a new dialog with empty model

InspectorDialog::InspectorDialog ( openstudio::model::Model &  model,
InspectorDialogClient  client = InspectorDialogClient::AllOpenStudio,
parent = nullptr 
)

create a new dialog for existing model

virtual InspectorDialog::~InspectorDialog ( )
virtual

Member Function Documentation

virtual void InspectorDialog::closeEvent ( QCloseEvent *  t_event)
overrideprotectedvirtual
void InspectorDialog::displayIP ( const bool  displayIP)
openstudio::IddObjectType InspectorDialog::iddObjectType ( ) const
void InspectorDialog::iddObjectTypeChanged ( const openstudio::IddObjectType &  )
signal
openstudio::model::Model InspectorDialog::model ( ) const
void InspectorDialog::modelChanged ( openstudio::model::Model &  )
signal
virtual void InspectorDialog::onIddObjectTypeChanged ( const openstudio::IddObjectType &  )
virtualslot
virtual void InspectorDialog::onModelChanged ( openstudio::model::Model &  )
virtualslot
virtual void InspectorDialog::onPushButtonCopy ( bool  )
virtualslot
virtual void InspectorDialog::onPushButtonDelete ( bool  )
virtualslot
virtual void InspectorDialog::onPushButtonNew ( bool  )
virtualslot
virtual void InspectorDialog::onPushButtonPurge ( bool  )
virtualslot
virtual void InspectorDialog::onSelectedObjectHandlesChanged ( const std::vector< openstudio::Handle > &  )
virtualslot
void InspectorDialog::rebuildInspectorGadget ( bool  recursive)
void InspectorDialog::restoreState ( )
void InspectorDialog::saveState ( )
std::vector<openstudio::Handle> InspectorDialog::selectedObjectHandles ( ) const
void InspectorDialog::selectedObjectHandlesChanged ( const std::vector< openstudio::Handle > &  )
signal
bool InspectorDialog::setIddObjectType ( const openstudio::IddObjectType &  ,
bool  force = false 
)
void InspectorDialog::setModel ( openstudio::model::Model &  model,
bool  force = false 
)
bool InspectorDialog::setSelectedObjectHandles ( const std::vector< openstudio::Handle > &  ,
bool  force = false 
)
virtual void InspectorDialog::showEvent ( QShowEvent *  t_event)
overrideprotectedvirtual
void InspectorDialog::toggleUnitsClicked ( bool  )
signal