KVIrc  4.9.2
DeveloperAPIs
Public Slots | Public Member Functions | Protected Attributes | List of all members
KviStringSelector Class Reference

#include <KviSelectors.h>

+ Inheritance diagram for KviStringSelector:

Public Slots

virtual void setEnabled (bool bEnabled)
 

Public Member Functions

virtual void commit ()
 
QString currentText ()
 
 KviStringSelector (QWidget *par, const QString &txt, QString *pOption, bool bEnabled)
 
QLineEdit * lineEdit ()
 
void setMinimumLabelWidth (unsigned int uWidth)
 
void setText (const QString &text)
 
void setValidator (QValidator *v)
 
QString textForSearch ()
 
QWidget * widgetToHighlight ()
 
 ~KviStringSelector ()
 
- Public Member Functions inherited from KviTalHBox
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...
 
- Public Member Functions inherited from KviSelectorInterface
 KviSelectorInterface ()
 
virtual ~KviSelectorInterface ()
 

Protected Attributes

QLabel * m_pLabel
 
QLineEdit * m_pLineEdit
 
QString * m_pOption
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

void KviStringSelector::commit ( void  )
virtual

Reimplemented from KviSelectorInterface.

References m_pLineEdit, and m_pOption.

Referenced by SetupWizard::accept().

QString KviStringSelector::currentText ( )
inline
QLineEdit* KviStringSelector::lineEdit ( )
inline
void KviStringSelector::setEnabled ( bool  bEnabled)
virtualslot
void KviStringSelector::setMinimumLabelWidth ( unsigned int  uWidth)
inline
void KviStringSelector::setText ( const QString &  text)

References m_pLineEdit.

Referenced by SetupWizard::SetupWizard().

void KviStringSelector::setValidator ( QValidator *  v)
inline
QString KviStringSelector::textForSearch ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

QWidget* KviStringSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

QLabel* KviStringSelector::m_pLabel
protected

Referenced by KviStringSelector(), and setEnabled().

QLineEdit* KviStringSelector::m_pLineEdit
protected
QString* KviStringSelector::m_pOption
protected

Referenced by commit(), and KviStringSelector().


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