KVIrc 5.2.4
Developer APIs
Public Member Functions | Private Slots | Private Attributes | List of all members
KviChannelListSelector Class Reference

#include <KviSelectors.h>

+ Inheritance diagram for KviChannelListSelector:

Public Member Functions

virtual void commit ()
 
 KviChannelListSelector (QWidget *par, const QString &txt, QStringList *pOption, bool bEnabled)
 
virtual void setEnabled (bool bEnabled)
 
QString textForSearch ()
 
QWidget * widgetToHighlight ()
 
 ~KviChannelListSelector ()
 
- Public Member Functions inherited from KviTalVBox
void addStretch (int iStretch)
 Adds the stretch factor.
 
 KviTalVBox (QWidget *pParent, char *pcName=nullptr)
 Constructs a vertical 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 for a child object.
 
void setMargin (int iMargin)
 Sets the margin of the box.
 
void setSpacing (int iSpacing)
 Sets the spacing of the box.
 
void setStretchFactor (QWidget *pChild, int iStretch)
 Sets the stretch factor for an object.
 
 ~KviTalVBox ()
 Destroys a vertical box object.
 
- 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
 
QLineEdit * m_pChanLineEdit
 
QLabel * m_pLabel
 
QStringList * m_pOption
 
QLineEdit * m_pPassLineEdit
 
QPushButton * m_pRemoveButton
 
QTreeWidget * m_pTreeWidget
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ KviChannelListSelector()

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

◆ ~KviChannelListSelector()

KviChannelListSelector::~KviChannelListSelector ( )
default

Member Function Documentation

◆ addClicked

void KviChannelListSelector::addClicked ( )
privateslot

◆ commit()

void KviChannelListSelector::commit ( )
virtual

◆ itemSelectionChanged

void KviChannelListSelector::itemSelectionChanged ( )
privateslot

References m_pRemoveButton, and m_pTreeWidget.

Referenced by KviChannelListSelector().

◆ removeClicked

void KviChannelListSelector::removeClicked ( )
privateslot

◆ setEnabled()

void KviChannelListSelector::setEnabled ( bool  bEnabled)
virtual

◆ textChanged

void KviChannelListSelector::textChanged ( const QString &  str)
privateslot

References m_pAddButton, and m_pChanLineEdit.

Referenced by KviChannelListSelector().

◆ textForSearch()

QString KviChannelListSelector::textForSearch ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

◆ widgetToHighlight()

QWidget * KviChannelListSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

◆ m_pAddButton

QPushButton* KviChannelListSelector::m_pAddButton
private

◆ m_pChanLineEdit

QLineEdit* KviChannelListSelector::m_pChanLineEdit
private

◆ m_pLabel

QLabel* KviChannelListSelector::m_pLabel
private

◆ m_pOption

QStringList* KviChannelListSelector::m_pOption
private

Referenced by commit(), and KviChannelListSelector().

◆ m_pPassLineEdit

QLineEdit* KviChannelListSelector::m_pPassLineEdit
private

◆ m_pRemoveButton

QPushButton* KviChannelListSelector::m_pRemoveButton
private

◆ m_pTreeWidget

QTreeWidget* KviChannelListSelector::m_pTreeWidget
private

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