KVIrc
4.9.2
DeveloperAPIs
|
#include <KviSelectors.h>
Public Member Functions | |
virtual void | commit () |
KviMircTextColorSelector (QWidget *par, const QString &txt, unsigned int *uFore, unsigned int *uBack, bool bEnabled) | |
virtual void | setEnabled (bool bEnabled) |
~KviMircTextColorSelector () | |
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 QString | textForSearch () |
virtual QWidget * | widgetToHighlight () |
virtual | ~KviSelectorInterface () |
Protected Slots | |
void | backSelected (QAction *pAction) |
void | buttonClicked () |
void | foreSelected (QAction *pAction) |
Protected Member Functions | |
void | setButtonPalette () |
Protected Member Functions inherited from KviTalHBox | |
virtual void | childEvent (QChildEvent *e) |
Private Attributes | |
QMenu * | m_pBackPopup |
QPushButton * | m_pButton |
QMenu * | m_pContextPopup |
QMenu * | m_pForePopup |
QLabel * | m_pLabel |
unsigned int * | m_pUBack |
unsigned int * | m_pUFore |
unsigned int | m_uBack |
unsigned int | m_uFore |
KviMircTextColorSelector::KviMircTextColorSelector | ( | QWidget * | par, |
const QString & | txt, | ||
unsigned int * | uFore, | ||
unsigned int * | uBack, | ||
bool | bEnabled | ||
) |
References __tr2qs, backSelected(), buttonClicked(), connect(), foreSelected(), KVI_MIRCCOLOR_MAX_BACKGROUND, KVI_MIRCCOLOR_MAX_FOREGROUND, KVI_OPTION_MIRCCOLOR, m_pBackPopup, m_pButton, m_pContextPopup, m_pForePopup, m_pLabel, m_pUBack, m_pUFore, m_uBack, m_uFore, setButtonPalette(), setEnabled(), KviTalHBox::setMargin(), KviTalHBox::setSpacing(), KviTalHBox::setStretchFactor(), and KviControlCodes::Transparent.
|
default |
|
protectedslot |
References m_uBack, and setButtonPalette().
Referenced by KviMircTextColorSelector().
|
protectedslot |
References m_pButton, m_pContextPopup, and p.
Referenced by KviMircTextColorSelector().
|
virtual |
Reimplemented from KviSelectorInterface.
|
protectedslot |
References m_uFore, and setButtonPalette().
Referenced by KviMircTextColorSelector().
|
protected |
References KVI_MIRCCOLOR_MAX_BACKGROUND, KVI_MIRCCOLOR_MAX_FOREGROUND, KVI_OPTION_MIRCCOLOR, m_pButton, m_uBack, m_uFore, and KviControlCodes::Transparent.
Referenced by backSelected(), foreSelected(), and KviMircTextColorSelector().
|
virtual |
References m_pButton, and m_pLabel.
Referenced by OptionsWidget_privmsg::enableDisableSmartColorSelector(), OptionsWidget_timestamp::enableDisableTimestampSelector(), and KviMircTextColorSelector().
|
private |
Referenced by KviMircTextColorSelector().
|
private |
Referenced by buttonClicked(), KviMircTextColorSelector(), setButtonPalette(), and setEnabled().
|
private |
Referenced by buttonClicked(), and KviMircTextColorSelector().
|
private |
Referenced by KviMircTextColorSelector().
|
private |
Referenced by KviMircTextColorSelector(), and setEnabled().
|
private |
Referenced by commit(), and KviMircTextColorSelector().
|
private |
Referenced by commit(), and KviMircTextColorSelector().
|
private |
Referenced by backSelected(), commit(), KviMircTextColorSelector(), and setButtonPalette().
|
private |
Referenced by commit(), foreSelected(), KviMircTextColorSelector(), and setButtonPalette().