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

Toolkit Abstraction Layer: hbox class. More...

#include <KviTalHBox.h>

+ Inheritance diagram for KviTalHBox:

Public Member Functions

void addSpacing (int iSpace)
 Adds a non-stretchable spacing item. More...
 
void addStretch (int iStretch)
 Adds the stretch factor. More...
 
 KviTalHBox (QWidget *pParent, char *pcName=0)
 Constructs an horizontal 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. More...
 
void setMargin (int iMargin)
 Sets the margin of the box. More...
 
void setSpacing (int iSpace)
 Sets the spacing of the box. More...
 
void setStretchFactor (QWidget *pChild, int iStretch)
 Sets the stretch factor for an object. More...
 
 ~KviTalHBox ()
 Destroys an horizontal box object. More...
 

Protected Member Functions

virtual void childEvent (QChildEvent *e)
 

Private Attributes

QHBoxLayout * m_pLayout
 

Detailed Description

Toolkit Abstraction Layer: hbox class.

Constructor & Destructor Documentation

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

Constructs an horizontal box object.

Parameters
pParentThe parent object
pcNameThe name of the box
Returns
KviTalHBox

References m_pLayout.

KviTalHBox::~KviTalHBox ( )
default

Destroys an horizontal box object.

Member Function Documentation

void KviTalHBox::addSpacing ( int  iSpace)

Adds a non-stretchable spacing item.

Parameters
iSpacethe width of the item
Returns
void

References m_pLayout.

Referenced by KviPasswordLineEdit::KviPasswordLineEdit(), and KviPasswordSelector::KviPasswordSelector().

void KviTalHBox::addStretch ( int  iStretch)

Adds the stretch factor.

Parameters
iStretchThe stretch factor
Returns
void

References m_pLayout.

void KviTalHBox::childEvent ( QChildEvent *  e)
protectedvirtual

References m_pLayout.

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

Sets the alignment of the box.

Parameters
alignmentThe alignment
Returns
void

References m_pLayout.

Referenced by IdentityProfileEditor::IdentityProfileEditor(), and KviClassEditorFunctionDialog::KviClassEditorFunctionDialog().

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

Sets the alignment of the box.

Parameters
pChildThe child object to align
alignmentThe alignment
Returns
void

References m_pLayout.

void KviTalHBox::setMargin ( int  iMargin)
void KviTalHBox::setSpacing ( int  iSpace)

Sets the spacing of the box.

Parameters
iSpaceThe space in pixels
Returns
void

References m_pLayout.

Referenced by AddonManagementDialog::AddonManagementDialog(), AliasEditorWidget::AliasEditorWidget(), ChannelsJoinDialog::ChannelsJoinDialog(), ClassEditorWidget::ClassEditorWidget(), OptionsWidget_textIcons::currentItemChanged(), DccVoiceWindow::DccVoiceWindow(), OptionsWidget_textIcons::iconSelected(), KviAsyncAvatarSelectionDialog::KviAsyncAvatarSelectionDialog(), KviChannelWindow::KviChannelWindow(), KviClassEditorDialog::KviClassEditorDialog(), KviClassEditorFunctionDialog::KviClassEditorFunctionDialog(), KviColorSelector::KviColorSelector(), KviFontSelector::KviFontSelector(), KviInput::KviInput(), KviMircTextColorSelector::KviMircTextColorSelector(), KviPasswordLineEdit::KviPasswordLineEdit(), KviPasswordSelector::KviPasswordSelector(), KviQueryWindow::KviQueryWindow(), KviStringSelector::KviStringSelector(), KviTalWizard::KviTalWizard(), ListWindow::ListWindow(), NickAlternativesDialog::NickAlternativesDialog(), OptionsDialog::OptionsDialog(), OptionsWidget_dccAdvanced::OptionsWidget_dccAdvanced(), OptionsWidget_identityAvatar::OptionsWidget_identityAvatar(), OptionsWidget_privmsg::OptionsWidget_privmsg(), OptionsWidget_userListForeground::OptionsWidget_userListForeground(), OptionsWidget_userListGrid::OptionsWidget_userListGrid(), RegisteredUserEntryDialog::RegisteredUserEntryDialog(), RegisteredUserMaskDialog::RegisteredUserMaskDialog(), RegisteredUserPropertiesDialog::RegisteredUserPropertiesDialog(), RegisteredUsersDialog::RegisteredUsersDialog(), SetupWizard::SetupWizard(), and ThemeManagementDialog::ThemeManagementDialog().

void KviTalHBox::setStretchFactor ( QWidget *  pChild,
int  iStretch 
)

Member Data Documentation

QHBoxLayout* KviTalHBox::m_pLayout
private

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