KVIrc  4.9.2
DeveloperAPIs
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
KviTalGroupBox Class Reference

Toolkit Abstraction Layer: groupbox class. More...

#include <KviTalGroupBox.h>

+ Inheritance diagram for KviTalGroupBox:

Public Member Functions

void addSpace (int iSpace)
 Adds a space. More...
 
int insideMargin ()
 Returns the inside margin. More...
 
int insideSpacing ()
 Returns the inside spacing. More...
 
 KviTalGroupBox (QWidget *pParent, char *pcName=0)
 Constructs the groupbox object. More...
 
 KviTalGroupBox (QWidget *pParent=0)
 Constructs the groupbox object. More...
 
 KviTalGroupBox (const QString &szTitle, QWidget *pParent=0)
 Constructs the groupbox object. More...
 
 KviTalGroupBox (Qt::Orientation orientation, QWidget *pParent=0)
 Constructs the groupbox object. More...
 
 KviTalGroupBox (Qt::Orientation orientation, const QString &szTitle, QWidget *pParent=0)
 Constructs the groupbox object. More...
 
void setInsideMargin (int iMargin)
 Sets the inside margin. More...
 
void setInsideSpacing (int iSpacing)
 Sets the inside spacing. More...
 
void setLayout (QLayout *newLayout)
 Sets a new layout. More...
 
void setOrientation (Qt::Orientation orientation)
 Sets the orientation. More...
 
 ~KviTalGroupBox ()
 Destroys the groupbox object. More...
 

Protected Member Functions

virtual void childEvent (QChildEvent *e)
 

Protected Attributes

QLayout * m_pLayout
 
Qt::Orientation mOrientation
 

Detailed Description

Toolkit Abstraction Layer: groupbox class.

Constructor & Destructor Documentation

KviTalGroupBox::KviTalGroupBox ( QWidget *  pParent,
char *  pcName = 0 
)

Constructs the groupbox object.

Parameters
pParentThe parent object
pcNamethe name of the groupbox
Returns
KviTalGroupBox

References m_pLayout.

KviTalGroupBox::KviTalGroupBox ( QWidget *  pParent = 0)

Constructs the groupbox object.

Parameters
pParentThe parent object
Returns
KviTalGroupBox

References m_pLayout.

KviTalGroupBox::KviTalGroupBox ( const QString &  szTitle,
QWidget *  pParent = 0 
)

Constructs the groupbox object.

Parameters
szTitleThe title of the groupbox
pParentThe parent object
Returns
KviTalGroupBox

References m_pLayout.

KviTalGroupBox::KviTalGroupBox ( Qt::Orientation  orientation,
QWidget *  pParent = 0 
)

Constructs the groupbox object.

Parameters
orientationThe orientation of the groupbox
pParentThe parent object
Returns
KviTalGroupBox

References m_pLayout.

KviTalGroupBox::KviTalGroupBox ( Qt::Orientation  orientation,
const QString &  szTitle,
QWidget *  pParent = 0 
)

Constructs the groupbox object.

Parameters
orientationThe orientation of the groupbox
szTitleThe title of the groupbox
pParentThe parent object
Returns
KviTalGroupBox

References m_pLayout, and mOrientation.

KviTalGroupBox::~KviTalGroupBox ( )
default

Destroys the groupbox object.

Member Function Documentation

void KviTalGroupBox::addSpace ( int  iSpace)

Adds a space.

Parameters
iSpaceThe space in pixels
Returns
void

References m_pLayout, and mOrientation.

void KviTalGroupBox::childEvent ( QChildEvent *  e)
protectedvirtual

References m_pLayout.

int KviTalGroupBox::insideMargin ( )
inline

Returns the inside margin.

Returns
int
int KviTalGroupBox::insideSpacing ( )
inline

Returns the inside spacing.

Returns
int
void KviTalGroupBox::setInsideMargin ( int  iMargin)
inline

Sets the inside margin.

Parameters
iMarginThe margin in pixels
Returns
void
void KviTalGroupBox::setInsideSpacing ( int  iSpacing)
inline

Sets the inside spacing.

Parameters
iSpacingThe spacing in pixels
Returns
void

Referenced by ScriptEditorWidgetColorOptions::ScriptEditorWidgetColorOptions().

void KviTalGroupBox::setLayout ( QLayout *  newLayout)
void KviTalGroupBox::setOrientation ( Qt::Orientation  orientation)

Sets the orientation.

Parameters
orientationThe orientation :)
Returns
void

References m_pLayout, and mOrientation.

Referenced by KvsObject_groupBox::init().

Member Data Documentation

QLayout* KviTalGroupBox::m_pLayout
protected
Qt::Orientation KviTalGroupBox::mOrientation
protected

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