KVIrc  4.9.2
DeveloperAPIs
Public Slots | Public Member Functions | Private Slots | Private Attributes | List of all members
KviStringListSelector Class Reference

#include <KviSelectors.h>

+ Inheritance diagram for KviStringListSelector:

Public Slots

virtual void setEnabled (bool bEnabled)
 

Public Member Functions

virtual void commit ()
 
 KviStringListSelector (QWidget *par, const QString &txt, QStringList *pOption, bool bEnabled)
 
QString textForSearch ()
 
QWidget * widgetToHighlight ()
 
 ~KviStringListSelector ()
 
- Public Member Functions inherited from KviTalVBox
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...
 
- Public Member Functions inherited from KviSelectorInterface
 KviSelectorInterface ()
 
virtual ~KviSelectorInterface ()
 

Private Slots

void addClicked ()
 
void itemSelectionChanged ()
 
void removeClicked ()
 
void textChanged (const QString &str)
 

Private Attributes

QPushButton * m_pAddButton
 
QLabel * m_pLabel
 
QLineEdit * m_pLineEdit
 
KviTalListWidgetm_pListWidget
 
QStringList * m_pOption
 
QPushButton * m_pRemoveButton
 

Additional Inherited Members

- Protected Member Functions inherited from KviTalVBox
virtual void childEvent (QChildEvent *e)
 

Constructor & Destructor Documentation

KviStringListSelector::KviStringListSelector ( QWidget *  par,
const QString &  txt,
QStringList *  pOption,
bool  bEnabled 
)
KviStringListSelector::~KviStringListSelector ( )
default

Member Function Documentation

void KviStringListSelector::addClicked ( )
privateslot

References m_pLineEdit, and m_pListWidget.

Referenced by KviStringListSelector().

void KviStringListSelector::commit ( void  )
virtual

Reimplemented from KviSelectorInterface.

References m_pListWidget, m_pOption, and u.

void KviStringListSelector::itemSelectionChanged ( )
privateslot

References m_pListWidget, and m_pRemoveButton.

Referenced by KviStringListSelector().

void KviStringListSelector::removeClicked ( )
privateslot

References m_pListWidget, and u.

Referenced by KviStringListSelector().

void KviStringListSelector::setEnabled ( bool  bEnabled)
virtualslot
void KviStringListSelector::textChanged ( const QString &  str)
privateslot

References m_pAddButton.

Referenced by KviStringListSelector().

QString KviStringListSelector::textForSearch ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

QWidget* KviStringListSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

QPushButton* KviStringListSelector::m_pAddButton
private
QLabel* KviStringListSelector::m_pLabel
private
QLineEdit* KviStringListSelector::m_pLineEdit
private
KviTalListWidget* KviStringListSelector::m_pListWidget
private
QStringList* KviStringListSelector::m_pOption
private

Referenced by commit(), and KviStringListSelector().

QPushButton* KviStringListSelector::m_pRemoveButton
private

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