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

#include <KviSelectors.h>

+ Inheritance diagram for KviFontSelector:

Public Slots

virtual void setEnabled (bool bEnabled)
 

Public Member Functions

virtual void commit ()
 
 KviFontSelector (QWidget *par, const QString &txt, QFont *pOption, bool bEnabled)
 
QString textForSearch ()
 
QWidget * widgetToHighlight ()
 
 ~KviFontSelector ()
 
- 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 Slots

void changeClicked ()
 

Private Member Functions

void setButtonFont (QFont *pOption)
 

Private Attributes

QPushButton * m_pButton
 
QLabel * m_pLabel
 
QFont * m_pOption
 

Additional Inherited Members

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

Constructor & Destructor Documentation

KviFontSelector::KviFontSelector ( QWidget *  par,
const QString &  txt,
QFont *  pOption,
bool  bEnabled 
)
KviFontSelector::~KviFontSelector ( )
inline

Member Function Documentation

void KviFontSelector::changeClicked ( )
privateslot

References m_pButton, and setButtonFont().

Referenced by KviFontSelector().

void KviFontSelector::commit ( void  )
virtual

Reimplemented from KviSelectorInterface.

References m_pButton, and m_pOption.

void KviFontSelector::setButtonFont ( QFont *  pOption)
private

References m_pButton.

Referenced by changeClicked(), and KviFontSelector().

void KviFontSelector::setEnabled ( bool  bEnabled)
virtualslot

References m_pButton, and m_pLabel.

Referenced by KviFontSelector().

QString KviFontSelector::textForSearch ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

QWidget* KviFontSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

QPushButton* KviFontSelector::m_pButton
private
QLabel* KviFontSelector::m_pLabel
private

Referenced by KviFontSelector(), and setEnabled().

QFont* KviFontSelector::m_pOption
private

Referenced by commit(), and KviFontSelector().


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