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

#include <TextEditDialog.hpp>

+ Inheritance diagram for openstudio::TextEditDialog:

Public Member Functions

void setText (const QString &text)
 
QString text ()
 
 TextEditDialog (const QString &windowTitle, const QString &windowMessage=QString(),*parent=nullptr)
 
virtual ~TextEditDialog ()
 
- 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 ()
 

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::TextEditDialog::TextEditDialog ( const QString &  windowTitle,
const QString &  windowMessage = QString(),
parent = nullptr 
)
virtual openstudio::TextEditDialog::~TextEditDialog ( )
virtual

Member Function Documentation

void openstudio::TextEditDialog::setText ( const QString &  text)
QString openstudio::TextEditDialog::text ( )