KVIrc  4.9.2
DeveloperAPIs
Public Slots | Public Member Functions | Private Attributes | List of all members
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. 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 ()
 

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
virtual void childEvent (QChildEvent *e)
 

Constructor & Destructor Documentation

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 ( )
inline

Member Function Documentation

void KviUIntSelector::commit ( void  )
virtual
void KviUIntSelector::setEnabled ( bool  bEnabled)
virtualslot
void KviUIntSelector::setPrefix ( const QString &  txt)
virtual

References m_pSpinBox.

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

Reimplemented from KviSelectorInterface.

QWidget* KviUIntSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

bool KviUIntSelector::m_bIsShortInt
private

Referenced by commit(), and KviUIntSelector().

QLabel* KviUIntSelector::m_pLabel
private

Referenced by KviUIntSelector(), and setEnabled().

unsigned int* KviUIntSelector::m_pOption
private

Referenced by commit(), and KviUIntSelector().

QSpinBox* KviUIntSelector::m_pSpinBox
private
unsigned int KviUIntSelector::m_uDefault
private

Referenced by commit(), and KviUIntSelector().

unsigned int KviUIntSelector::m_uHighBound
private

Referenced by commit(), and KviUIntSelector().

unsigned int KviUIntSelector::m_uLowBound
private

Referenced by commit(), and KviUIntSelector().


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