Ocular Engine
Ocular::Editor::PropertiesDisplayTitleBar Class Reference
Inheritance diagram for Ocular::Editor::PropertiesDisplayTitleBar:

Public Member Functions

 PropertiesDisplayTitleBar (std::string const &displayName, bool canMinimize=true, bool canClose=false, QWidget *parent=nullptr)
 
virtual QSize sizeHint () const override
 
void setTitle (std::string const &title)
 
void setCanMinimize (bool canMinimize)
 
void setCanClose (bool canClose)
 

Protected Member Functions

void buildLayout ()
 
void buildTitleBar ()
 

Protected Attributes

QHBoxLayout * m_Layout
 
QLabel * m_LabelTitle
 
QPushButton * m_ButtonMinimize
 
QPushButton * m_ButtonClose
 
bool m_CanMinimize
 
bool m_CanClose
 

The documentation for this class was generated from the following files: