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

#include <BCLMeasureDialog.hpp>

+ Inheritance diagram for openstudio::BCLMeasureDialog:

Public Member Functions

 BCLMeasureDialog (const BCLMeasure &bclMeasure,*parent=nullptr)
 Constructor of the dialog to create a copy of an existing BCL Measure. More...
 
boost::optional
< openstudio::BCLMeasure > 
createMeasure ()
 After calling exec() and getting appropriate return code Call createMeasure to create the new measure. More...
 
QSize sizeHint () const override
 
virtual ~BCLMeasureDialog ()
 
- Public Member Functions inherited from openstudio::OSDialog
QPushButtonbackButton ()
 
QPushButtoncancelButton ()
 
QMargins layoutContentsMargins () const
 
QPushButtonokButton ()
 
 OSDialog (bool isIP=false,*parent=nullptr)
 
void setLayoutContentsMargins (const QMargins &layoutContentsMargins)
 
void setSizeHint (const QSize &sizeHint)
 
QSize sizeHint () const override
 
QVBoxLayout * upperLayout ()
 
virtual ~OSDialog ()
 

Public Attributes

BCLMeasureDialogparent
 Constructor of the dialog to create a new BCL Measure. More...
 

Additional Inherited Members

- Signals inherited from openstudio::OSDialog
void backButtonClicked (bool checked)
 
void cancelButtonClicked (bool checked)
 
void okButtonClicked (bool checked)
 
void toggleUnitsClicked (bool displayIP)
 
- Protected Slots inherited from openstudio::OSDialog
virtual void on_backButton (bool checked)
 
virtual void on_cancelButton (bool checked)
 
virtual void on_okButton (bool checked)
 
virtual void toggleUnits (bool displayIP)
 
- Protected Member Functions inherited from openstudio::OSDialog
void mouseMoveEvent (QMouseEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void paintEvent (QPaintEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void setOkButtonAsDefault (bool isDefault)
 
- Protected Attributes inherited from openstudio::OSDialog
QPushButtonm_backButton
 
QPushButtonm_cancelButton
 
bool m_isIP
 
QPushButtonm_okButton
 

Constructor & Destructor Documentation

openstudio::BCLMeasureDialog::BCLMeasureDialog ( const BCLMeasure &  bclMeasure,
parent = nullptr 
)

Constructor of the dialog to create a copy of an existing BCL Measure.

virtual openstudio::BCLMeasureDialog::~BCLMeasureDialog ( )
virtual

Member Function Documentation

boost::optional<openstudio::BCLMeasure> openstudio::BCLMeasureDialog::createMeasure ( )

After calling exec() and getting appropriate return code Call createMeasure to create the new measure.

QSize openstudio::BCLMeasureDialog::sizeHint ( ) const
override

Member Data Documentation

BCLMeasureDialog* openstudio::BCLMeasureDialog::parent

Constructor of the dialog to create a new BCL Measure.