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

Mirc color window handling. More...

#include <KviColorSelectionWindow.h>

+ Inheritance diagram for KviColorWindow:

Public Member Functions

 KviColorWindow ()
 Constructs the mirc color window object. More...
 
void popup (QWidget *pOwner)
 Popups the color window. More...
 
 ~KviColorWindow ()
 Destroys the mirc color window object. More...
 

Private Member Functions

virtual void keyPressEvent (QKeyEvent *e)
 
virtual void mousePressEvent (QMouseEvent *e)
 
virtual void paintEvent (QPaintEvent *e)
 
virtual void show ()
 
virtual void timerEvent (QTimerEvent *e)
 

Private Attributes

int m_iTimerId
 
QWidget * m_pOwner
 

Detailed Description

Mirc color window handling.

Constructor & Destructor Documentation

KviColorWindow::KviColorWindow ( )

Constructs the mirc color window object.

Returns
KviColorWindow

References m_iTimerId, and m_pOwner.

KviColorWindow::~KviColorWindow ( )

Destroys the mirc color window object.

References m_iTimerId.

Member Function Documentation

void KviColorWindow::keyPressEvent ( QKeyEvent *  e)
privatevirtual

References g_pApp, m_iTimerId, and m_pOwner.

void KviColorWindow::mousePressEvent ( QMouseEvent *  e)
privatevirtual

References g_pApp, m_iTimerId, and m_pOwner.

void KviColorWindow::paintEvent ( QPaintEvent *  e)
privatevirtual
void KviColorWindow::popup ( QWidget *  pOwner)

Popups the color window.

Parameters
pOwnerThe owner widget
Returns
void

References m_pOwner, and show().

Referenced by KviInputEditor::insertColor().

void KviColorWindow::show ( )
privatevirtual

References m_iTimerId.

Referenced by popup().

void KviColorWindow::timerEvent ( QTimerEvent *  e)
privatevirtual

References m_iTimerId.

Member Data Documentation

int KviColorWindow::m_iTimerId
private
QWidget* KviColorWindow::m_pOwner
private

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