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

#include <KviSelectors.h>

+ Inheritance diagram for KviColorSelector:

Public Slots

virtual void setEnabled (bool bEnabled)
 

Public Member Functions

virtual void commit ()
 
void forceColor (QColor clr)
 
QColor getColor ()
 
 KviColorSelector (QWidget *par, const QString &txt, QColor *pOption, bool bEnabled)
 
QString textForSearch ()
 
QWidget * widgetToHighlight ()
 
 ~KviColorSelector ()
 
- 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 setButtonPalette (QColor *pOption)
 

Private Attributes

QColor m_memColor
 
QPushButton * m_pButton
 
QLabel * m_pLabel
 
QColor * m_pOption
 

Additional Inherited Members

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

Constructor & Destructor Documentation

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

Member Function Documentation

void KviColorSelector::changeClicked ( )
privateslot

References __tr2qs, m_memColor, and setButtonPalette().

Referenced by KviColorSelector().

void KviColorSelector::commit ( void  )
virtual

Reimplemented from KviSelectorInterface.

References m_memColor, and m_pOption.

void KviColorSelector::forceColor ( QColor  clr)
QColor KviColorSelector::getColor ( )
inline
void KviColorSelector::setButtonPalette ( QColor *  pOption)
private

References m_memColor, and m_pButton.

Referenced by changeClicked(), forceColor(), and KviColorSelector().

void KviColorSelector::setEnabled ( bool  bEnabled)
virtualslot

References m_pButton, and m_pLabel.

Referenced by KviColorSelector().

QString KviColorSelector::textForSearch ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

QWidget* KviColorSelector::widgetToHighlight ( )
inlinevirtual

Reimplemented from KviSelectorInterface.

Member Data Documentation

QColor KviColorSelector::m_memColor
private
QPushButton* KviColorSelector::m_pButton
private
QLabel* KviColorSelector::m_pLabel
private

Referenced by KviColorSelector(), and setEnabled().

QColor* KviColorSelector::m_pOption
private

Referenced by commit(), and KviColorSelector().


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