KVIrc
4.9.2
DeveloperAPIs
|
Toolkit Abstraction Layer: hbox class. More...
#include <KviTalHBox.h>
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 |
Toolkit Abstraction Layer: hbox class.
KviTalHBox::KviTalHBox | ( | QWidget * | pParent, |
char * | pcName = 0 |
||
) |
Constructs an horizontal box object.
pParent | The parent object |
pcName | The name of the box |
References m_pLayout.
|
default |
Destroys an horizontal box object.
void KviTalHBox::addSpacing | ( | int | iSpace | ) |
Adds a non-stretchable spacing item.
iSpace | the width of the item |
References m_pLayout.
Referenced by KviPasswordLineEdit::KviPasswordLineEdit(), and KviPasswordSelector::KviPasswordSelector().
void KviTalHBox::addStretch | ( | int | iStretch | ) |
|
protectedvirtual |
References m_pLayout.
void KviTalHBox::setAlignment | ( | Qt::Alignment | alignment | ) |
Sets the alignment of the box.
alignment | The alignment |
References m_pLayout.
Referenced by IdentityProfileEditor::IdentityProfileEditor(), and KviClassEditorFunctionDialog::KviClassEditorFunctionDialog().
void KviTalHBox::setAlignment | ( | QWidget * | pChild, |
Qt::Alignment | alignment | ||
) |
Sets the alignment of the box.
pChild | The child object to align |
alignment | The alignment |
References m_pLayout.
void KviTalHBox::setMargin | ( | int | iMargin | ) |
Sets the margin of the box.
iMargin | The margin in pixels |
References m_pLayout.
Referenced by AddonManagementDialog::AddonManagementDialog(), AliasEditorWidget::AliasEditorWidget(), ClassEditorWidget::ClassEditorWidget(), OptionsWidget_textIcons::currentItemChanged(), DccVoiceWindow::DccVoiceWindow(), OptionsWidget_textIcons::iconSelected(), KviChannelWindow::KviChannelWindow(), KviClassEditorDialog::KviClassEditorDialog(), KviClassEditorFunctionDialog::KviClassEditorFunctionDialog(), KviColorSelector::KviColorSelector(), KviFontSelector::KviFontSelector(), KviInput::KviInput(), KviMircTextColorSelector::KviMircTextColorSelector(), KviPasswordLineEdit::KviPasswordLineEdit(), KviPasswordSelector::KviPasswordSelector(), KviQueryWindow::KviQueryWindow(), KviStringSelector::KviStringSelector(), KviTalWizard::KviTalWizard(), KviUIntSelector::KviUIntSelector(), ListWindow::ListWindow(), OptionsDialog::OptionsDialog(), SetupWizard::SetupWizard(), and ThemeManagementDialog::ThemeManagementDialog().
void KviTalHBox::setSpacing | ( | int | iSpace | ) |
Sets the spacing of the box.
iSpace | The space in pixels |
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 | ||
) |
Sets the stretch factor for an object.
pChild | The object to stretch |
iStretch | The stretch factor to use |
References m_pLayout.
Referenced by AliasEditorWidget::AliasEditorWidget(), ClassEditorWidget::ClassEditorWidget(), DccChatWindow::DccChatWindow(), DccVideoWindow::DccVideoWindow(), DccVoiceWindow::DccVoiceWindow(), HelpWidget::HelpWidget(), KviClassEditorFunctionDialog::KviClassEditorFunctionDialog(), KviColorSelector::KviColorSelector(), KviFontSelector::KviFontSelector(), KviIdentityGeneralOptionsWidget::KviIdentityGeneralOptionsWidget(), KviMircTextColorSelector::KviMircTextColorSelector(), KviPasswordLineEdit::KviPasswordLineEdit(), KviPasswordSelector::KviPasswordSelector(), KviQueryWindow::KviQueryWindow(), KviStringSelector::KviStringSelector(), KviTalWizard::KviTalWizard(), KviUIntSelector::KviUIntSelector(), LinksWindow::LinksWindow(), ListWindow::ListWindow(), and SetupWizard::SetupWizard().
|
private |
Referenced by addSpacing(), addStretch(), childEvent(), KviTalHBox(), setAlignment(), setMargin(), setSpacing(), and setStretchFactor().