KVIrc 5.2.4
Developer APIs
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.
 
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 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
void childEvent (QChildEvent *e) override
 

Constructor & Destructor Documentation

◆ KviFontSelector()

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

◆ ~KviFontSelector()

KviFontSelector::~KviFontSelector ( )
inline

Member Function Documentation

◆ changeClicked

void KviFontSelector::changeClicked ( )
privateslot

References m_pButton, and setButtonFont().

Referenced by KviFontSelector().

◆ commit()

void KviFontSelector::commit ( )
virtual

Reimplemented from KviSelectorInterface.

References m_pButton, and m_pOption.

◆ setButtonFont()

void KviFontSelector::setButtonFont ( QFont *  pOption)
private

References m_pButton.

Referenced by changeClicked(), and KviFontSelector().

◆ setEnabled

void KviFontSelector::setEnabled ( bool  bEnabled)
virtualslot

References m_pButton, and m_pLabel.

Referenced by KviFontSelector().

◆ textForSearch()

QString KviFontSelector::textForSearch ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

◆ widgetToHighlight()

QWidget * KviFontSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

◆ m_pButton

QPushButton* KviFontSelector::m_pButton
private

◆ m_pLabel

QLabel* KviFontSelector::m_pLabel
private

Referenced by KviFontSelector(), and setEnabled().

◆ m_pOption

QFont* KviFontSelector::m_pOption
private

Referenced by commit(), and KviFontSelector().


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