Image Component Library (ICL)
Public Member Functions | Private Attributes | List of all members
icl::qt::BorderBox Struct Reference

A simple utility class (QWidget with titled border) More...

#include <BorderBox.h>

Inheritance diagram for icl::qt::BorderBox:

Public Member Functions

 BorderBox (const QString &label, QWidget *content, QWidget *parent)
 Create a new BorderBox Object. More...
 
QWidget * content ()
 returns the content of this widget (the child) More...
 

Private Attributes

QVBoxLayout * m_poLayout
 
QWidget * m_poContent
 

Detailed Description

A simple utility class (QWidget with titled border)

Constructor & Destructor Documentation

◆ BorderBox()

icl::qt::BorderBox::BorderBox ( const QString &  label,
QWidget *  content,
QWidget *  parent 
)
inline

Create a new BorderBox Object.

Parameters
labeltitle of the border
contentchild widget
parentoptional parent widget

Member Function Documentation

◆ content()

QWidget* icl::qt::BorderBox::content ( )
inline

returns the content of this widget (the child)

Member Data Documentation

◆ m_poContent

QWidget* icl::qt::BorderBox::m_poContent
private

◆ m_poLayout

QVBoxLayout* icl::qt::BorderBox::m_poLayout
private

The documentation for this struct was generated from the following file: