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

Toolkit Abstraction Layer: vbox class. More...

#include <KviTalVBox.h>

+ Inheritance diagram for KviTalVBox:

Public Member Functions

void addStretch (int iStretch)
 Adds the stretch factor. More...
 
 KviTalVBox (QWidget *pParent, char *pcName=0)
 Constructs a vertical box object. More...
 
void setAlignment (Qt::Alignment alignment)
 Sets the alignment of the box. More...
 
void setAlignment (QWidget *pChild, Qt::Alignment alignment)
 Sets the alignment of the box for a child object. More...
 
void setMargin (int iMargin)
 Sets the margin of the box. More...
 
void setSpacing (int iSpacing)
 Sets the spacing of the box. More...
 
void setStretchFactor (QWidget *pChild, int iStretch)
 Sets the stretch factor for an object. More...
 
 ~KviTalVBox ()
 Destroys a vertical box object. More...
 

Protected Member Functions

virtual void childEvent (QChildEvent *e)
 

Private Attributes

QVBoxLayout * m_pLayout
 

Detailed Description

Toolkit Abstraction Layer: vbox class.

Constructor & Destructor Documentation

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

Constructs a vertical box object.

Parameters
pParentThe parent object
pcNameThe name of the box
Returns
KviTalVBox

References m_pLayout.

KviTalVBox::~KviTalVBox ( )
default

Destroys a vertical box object.

Member Function Documentation

void KviTalVBox::addStretch ( int  iStretch)

Adds the stretch factor.

Parameters
iStretchThe stretch factor
Returns
void

References m_pLayout.

void KviTalVBox::childEvent ( QChildEvent *  e)
protectedvirtual

References m_pLayout.

void KviTalVBox::setAlignment ( Qt::Alignment  alignment)

Sets the alignment of the box.

Parameters
alignmentThe alignment
Returns
void

References m_pLayout.

void KviTalVBox::setAlignment ( QWidget *  pChild,
Qt::Alignment  alignment 
)

Sets the alignment of the box for a child object.

Parameters
pChildThe object to align
alignmentThe alignment
Returns
void

References m_pLayout.

void KviTalVBox::setMargin ( int  iMargin)
void KviTalVBox::setSpacing ( int  iSpacing)
void KviTalVBox::setStretchFactor ( QWidget *  pChild,
int  iStretch 
)

Sets the stretch factor for an object.

Parameters
pChildThe object to stretch
iStretchThe stretch factor to use
Returns
void

References m_pLayout.

Referenced by KviChannelListSelector::KviChannelListSelector(), KviRemoteMircServerImportWizard::KviRemoteMircServerImportWizard(), KviStringListSelector::KviStringListSelector(), OptionsDialog::OptionsDialog(), SetupPage::SetupPage(), and SetupWizard::SetupWizard().

Member Data Documentation

QVBoxLayout* KviTalVBox::m_pLayout
private

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