KVIrc
4.9.2
DeveloperAPIs
|
Toolkit Abstraction Layer: vbox class. More...
#include <KviTalVBox.h>
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 |
Toolkit Abstraction Layer: vbox class.
KviTalVBox::KviTalVBox | ( | QWidget * | pParent, |
char * | pcName = 0 |
||
) |
Constructs a vertical box object.
pParent | The parent object |
pcName | The name of the box |
References m_pLayout.
|
default |
Destroys a vertical box object.
void KviTalVBox::addStretch | ( | int | iStretch | ) |
|
protectedvirtual |
References m_pLayout.
void KviTalVBox::setAlignment | ( | Qt::Alignment | alignment | ) |
void KviTalVBox::setAlignment | ( | QWidget * | pChild, |
Qt::Alignment | alignment | ||
) |
Sets the alignment of the box for a child object.
pChild | The object to align |
alignment | The alignment |
References m_pLayout.
void KviTalVBox::setMargin | ( | int | iMargin | ) |
Sets the margin of the box.
iMargin | The margin in pixels |
References m_pLayout.
Referenced by AliasEditorWidget::AliasEditorWidget(), ClassEditorWidget::ClassEditorWidget(), EventEditor::EventEditor(), OptionsDialog::OptionsDialog(), RegisteredUserEntryDialog::RegisteredUserEntryDialog(), ScriptEditorWidgetColorOptions::ScriptEditorWidgetColorOptions(), and SetupPage::SetupPage().
void KviTalVBox::setSpacing | ( | int | iSpacing | ) |
Sets the spacing of the box.
iSpacing | The space in pixels |
References m_pLayout.
Referenced by ActionEditor::ActionEditor(), AliasEditorWidget::AliasEditorWidget(), ClassEditorWidget::ClassEditorWidget(), DccVoiceWindow::DccVoiceWindow(), EventEditor::EventEditor(), KviChannelListSelector::KviChannelListSelector(), KviStringListSelector::KviStringListSelector(), OptionsDialog::OptionsDialog(), OptionsWidget_privmsg::OptionsWidget_privmsg(), RegisteredUserPropertiesDialog::RegisteredUserPropertiesDialog(), RegisteredUsersDialog::RegisteredUsersDialog(), ScriptEditorWidgetColorOptions::ScriptEditorWidgetColorOptions(), and SetupPage::SetupPage().
void KviTalVBox::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 KviChannelListSelector::KviChannelListSelector(), KviRemoteMircServerImportWizard::KviRemoteMircServerImportWizard(), KviStringListSelector::KviStringListSelector(), OptionsDialog::OptionsDialog(), SetupPage::SetupPage(), and SetupWizard::SetupWizard().
|
private |
Referenced by addStretch(), childEvent(), KviTalVBox(), setAlignment(), setMargin(), setSpacing(), and setStretchFactor().