KVIrc 5.2.6
Developer APIs
KviPasswordSelector Class Reference

#include <KviSelectors.h>

+ Inheritance diagram for KviPasswordSelector:

Public Slots

virtual void setEnabled (bool bEnabled)
 

Public Member Functions

virtual void commit ()
 
 KviPasswordSelector (QWidget *par, const QString &txt, QString *pOption, bool bEnabled)
 
void setMinimumLabelWidth (unsigned int uWidth)
 
void setText (const QString &text)
 
void setValidator (QValidator *v)
 
 ~KviPasswordSelector ()
 
- Public Member Functions inherited from KviTalHBox
void addSpacing (int iSpace)
 Adds a non-stretchable spacing item.
 
void addStretch (int iStretch)
 Adds the stretch factor.
 
 KviTalHBox (QWidget *pParent, char *pcName=nullptr)
 Constructs an horizontal box object.
 
void setAlignment (Qt::Alignment alignment)
 Sets the alignment of the box.
 
void setAlignment (QWidget *pChild, Qt::Alignment alignment)
 Sets the alignment of the box.
 
void setMargin (int iMargin)
 Sets the margin of the box.
 
void setSpacing (int iSpace)
 Sets the spacing of the box.
 
void setStretchFactor (QWidget *pChild, int iStretch)
 Sets the stretch factor for an object.
 
 ~KviTalHBox ()
 Destroys an horizontal box object.
 
- Public Member Functions inherited from KviSelectorInterface
 KviSelectorInterface ()
 
virtual ~KviSelectorInterface ()
 

Protected Slots

void checkToggled (int state)
 

Protected Member Functions

QString textForSearch ()
 
QWidget * widgetToHighlight ()
 
- Protected Member Functions inherited from KviTalHBox
void childEvent (QChildEvent *e) override
 

Protected Attributes

QCheckBox * m_pCheckBox
 
QLabel * m_pLabel
 
QLineEdit * m_pLineEdit
 
QString * m_pOption
 

Constructor & Destructor Documentation

◆ KviPasswordSelector()

KviPasswordSelector::KviPasswordSelector ( QWidget * par,
const QString & txt,
QString * pOption,
bool bEnabled )

◆ ~KviPasswordSelector()

KviPasswordSelector::~KviPasswordSelector ( )
default

Member Function Documentation

◆ checkToggled

void KviPasswordSelector::checkToggled ( int state)
protectedslot

References m_pLineEdit.

Referenced by KviPasswordSelector().

◆ commit()

void KviPasswordSelector::commit ( )
virtual

Reimplemented from KviSelectorInterface.

References m_pLineEdit, and m_pOption.

◆ setEnabled

void KviPasswordSelector::setEnabled ( bool bEnabled)
virtualslot

References m_pCheckBox, m_pLabel, and m_pLineEdit.

Referenced by KviPasswordSelector().

◆ setMinimumLabelWidth()

void KviPasswordSelector::setMinimumLabelWidth ( unsigned int uWidth)
inline

◆ setText()

void KviPasswordSelector::setText ( const QString & text)

References m_pLineEdit.

◆ setValidator()

void KviPasswordSelector::setValidator ( QValidator * v)
inline

References v.

◆ textForSearch()

QString KviPasswordSelector::textForSearch ( )
inlineprotectedvirtual

Reimplemented from KviSelectorInterface.

◆ widgetToHighlight()

QWidget * KviPasswordSelector::widgetToHighlight ( )
inlineprotectedvirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

◆ m_pCheckBox

QCheckBox* KviPasswordSelector::m_pCheckBox
protected

Referenced by KviPasswordSelector(), and setEnabled().

◆ m_pLabel

QLabel* KviPasswordSelector::m_pLabel
protected

Referenced by KviPasswordSelector(), and setEnabled().

◆ m_pLineEdit

QLineEdit* KviPasswordSelector::m_pLineEdit
protected

◆ m_pOption

QString* KviPasswordSelector::m_pOption
protected

Referenced by commit(), and KviPasswordSelector().


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