KVIrc 5.2.6
Developer APIs
KviUIntSelector Class Reference

#include <KviSelectors.h>

+ Inheritance diagram for KviUIntSelector:

Public Slots

virtual void setEnabled (bool bEnabled)
 

Public Member Functions

virtual void commit ()
 
 KviUIntSelector (QWidget *par, const QString &txt, unsigned int *pOption, unsigned int uLowBound, unsigned int uHighBound, unsigned int uDefault, bool bEnabled, bool bShortInt=false)
 
virtual void setPrefix (const QString &txt)
 
virtual void setSuffix (const QString &txt)
 
QString textForSearch ()
 
QWidget * widgetToHighlight ()
 
 ~KviUIntSelector ()
 
- 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 ()
 

Private Attributes

bool m_bIsShortInt
 
QLabel * m_pLabel
 
unsigned int * m_pOption
 
QSpinBox * m_pSpinBox
 
unsigned int m_uDefault
 
unsigned int m_uHighBound
 
unsigned int m_uLowBound
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ KviUIntSelector()

KviUIntSelector::KviUIntSelector ( QWidget * par,
const QString & txt,
unsigned int * pOption,
unsigned int uLowBound,
unsigned int uHighBound,
unsigned int uDefault,
bool bEnabled,
bool bShortInt = false )

◆ ~KviUIntSelector()

KviUIntSelector::~KviUIntSelector ( )
inline

Member Function Documentation

◆ commit()

void KviUIntSelector::commit ( )
virtual

Reimplemented from KviSelectorInterface.

References m_bIsShortInt, m_pOption, and m_pSpinBox.

◆ setEnabled

void KviUIntSelector::setEnabled ( bool bEnabled)
virtualslot

◆ setPrefix()

void KviUIntSelector::setPrefix ( const QString & txt)
virtual

References m_pSpinBox.

◆ setSuffix()

void KviUIntSelector::setSuffix ( const QString & txt)
virtual

◆ textForSearch()

QString KviUIntSelector::textForSearch ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

References m_pLabel.

◆ widgetToHighlight()

QWidget * KviUIntSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

References m_pLabel.

Member Data Documentation

◆ m_bIsShortInt

bool KviUIntSelector::m_bIsShortInt
private

Referenced by commit(), and KviUIntSelector().

◆ m_pLabel

QLabel* KviUIntSelector::m_pLabel
private

◆ m_pOption

unsigned int* KviUIntSelector::m_pOption
private

Referenced by commit(), and KviUIntSelector().

◆ m_pSpinBox

QSpinBox* KviUIntSelector::m_pSpinBox
private

◆ m_uDefault

unsigned int KviUIntSelector::m_uDefault
private

Referenced by KviUIntSelector().

◆ m_uHighBound

unsigned int KviUIntSelector::m_uHighBound
private

Referenced by KviUIntSelector().

◆ m_uLowBound

unsigned int KviUIntSelector::m_uLowBound
private

Referenced by KviUIntSelector().


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