KVIrc
4.9.2
DeveloperAPIs
|
#include <KviSelectors.h>
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 |
KviPixmap * | m_pOption |
KviPixmapPreview * | m_pPreview |
KviPixmapSelector::KviPixmapSelector | ( | QWidget * | par, |
const QString & | txt, | ||
KviPixmap * | pOption, | ||
bool | bEnabled | ||
) |
|
default |
|
protectedslot |
References setEnabled().
Referenced by KviPixmapSelector().
|
protectedslot |
References __tr2qs, KviFileDialog::askForOpenFileName(), and setImagePath().
Referenced by KviPixmapSelector().
|
virtual |
Reimplemented from KviSelectorInterface.
References m_localPixmap, m_pCheckBox, and m_pOption.
Referenced by RegistrationWizard::accept(), RegisteredUserEntryDialog::editAllPropertiesClicked(), and RegisteredUserEntryDialog::okClicked().
|
virtual |
References m_pCheckBox, m_pChooseButton, m_pFileNameLabel, and m_pPreview.
Referenced by checkBoxToggled(), KviPixmapSelector(), and setImagePath().
void KviPixmapSelector::setImagePath | ( | const QString & | path | ) |
References __tr2qs, KviPixmap::isNull(), KviPixmap::load(), m_localPixmap, m_pCheckBox, m_pFileNameLabel, m_pPreview, setEnabled(), and KviPixmapPreview::setPixmap().
Referenced by choosePixmap(), and RegisteredUserEntryDialog::editAllPropertiesClicked().
|
private |
Referenced by commit(), KviPixmapSelector(), and setImagePath().
|
private |
Referenced by commit(), KviPixmapSelector(), setEnabled(), and setImagePath().
|
private |
Referenced by KviPixmapSelector(), and setEnabled().
|
private |
Referenced by KviPixmapSelector(), setEnabled(), and setImagePath().
|
private |
Referenced by commit(), and KviPixmapSelector().
|
private |
Referenced by KviPixmapSelector(), setEnabled(), and setImagePath().