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

#include <KviSelectors.h>

+ Inheritance diagram for KviPixmapSelector:

Public Member Functions

virtual void commit ()
 
 KviPixmapSelector (QWidget *par, const QString &txt, KviPixmap *pOption, bool bEnabled)
 
virtual void setEnabled (bool bEnabled)
 
void setImagePath (const QString &path)
 
 ~KviPixmapSelector ()
 
- Public Member Functions inherited from KviSelectorInterface
 KviSelectorInterface ()
 
virtual QString textForSearch ()
 
virtual QWidget * widgetToHighlight ()
 
virtual ~KviSelectorInterface ()
 

Protected Slots

void checkBoxToggled (bool bEnabled)
 
void choosePixmap ()
 

Private Attributes

KviPixmap m_localPixmap
 
QCheckBox * m_pCheckBox
 
QPushButton * m_pChooseButton
 
QLabel * m_pFileNameLabel
 
KviPixmapm_pOption
 
KviPixmapPreviewm_pPreview
 

Constructor & Destructor Documentation

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

Member Function Documentation

void KviPixmapSelector::checkBoxToggled ( bool  bEnabled)
protectedslot

References setEnabled().

Referenced by KviPixmapSelector().

void KviPixmapSelector::choosePixmap ( )
protectedslot
void KviPixmapSelector::commit ( void  )
virtual
void KviPixmapSelector::setEnabled ( bool  bEnabled)
virtual
void KviPixmapSelector::setImagePath ( const QString &  path)

Member Data Documentation

KviPixmap KviPixmapSelector::m_localPixmap
private
QCheckBox* KviPixmapSelector::m_pCheckBox
private
QPushButton* KviPixmapSelector::m_pChooseButton
private

Referenced by KviPixmapSelector(), and setEnabled().

QLabel* KviPixmapSelector::m_pFileNameLabel
private
KviPixmap* KviPixmapSelector::m_pOption
private

Referenced by commit(), and KviPixmapSelector().

KviPixmapPreview* KviPixmapSelector::m_pPreview
private

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