Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QColorShowLabel Class Reference

List of all members.

Signals

void colorDropped (QRgb)

Public Member Functions

 QColorShowLabel (QWidget *parent)
void setColor (QColor c)

Protected Member Functions

void drawContents (QPainter *p)
void mousePressEvent (QMouseEvent *e)
void mouseMoveEvent (QMouseEvent *e)
void mouseReleaseEvent (QMouseEvent *e)
void dragEnterEvent (QDragEnterEvent *e)
void dragLeaveEvent (QDragLeaveEvent *e)
void dropEvent (QDropEvent *e)

Private Attributes

QColor col
bool mousePressed
QPoint pressPos

Constructor & Destructor Documentation

QColorShowLabel::QColorShowLabel QWidget *  parent  )  [inline]
 

Definition at line 1039 of file qcolordialog.cpp.

References FALSE, mousePressed, and TRUE.


Member Function Documentation

void QColorShowLabel::colorDropped QRgb   )  [signal]
 

Referenced by dropEvent().

void QColorShowLabel::dragEnterEvent QDragEnterEvent *  e  )  [protected]
 

Definition at line 1112 of file qcolordialog.cpp.

void QColorShowLabel::dragLeaveEvent QDragLeaveEvent *  e  )  [protected]
 

Definition at line 1120 of file qcolordialog.cpp.

void QColorShowLabel::drawContents QPainter *  p  )  [protected]
 

Definition at line 1068 of file qcolordialog.cpp.

References col.

void QColorShowLabel::dropEvent QDropEvent *  e  )  [protected]
 

Definition at line 1124 of file qcolordialog.cpp.

References col, colorDropped(), and FALSE.

void QColorShowLabel::mouseMoveEvent QMouseEvent *  e  )  [protected]
 

Definition at line 1090 of file qcolordialog.cpp.

References col, FALSE, mousePressed, p, pix, and pressPos.

void QColorShowLabel::mousePressEvent QMouseEvent *  e  )  [protected]
 

Definition at line 1084 of file qcolordialog.cpp.

References mousePressed, pressPos, and TRUE.

void QColorShowLabel::mouseReleaseEvent QMouseEvent *  e  )  [protected]
 

Definition at line 1137 of file qcolordialog.cpp.

References FALSE, and mousePressed.

void QColorShowLabel::setColor QColor  c  )  [inline]
 

Definition at line 1045 of file qcolordialog.cpp.

References col.

Referenced by QColorShower::showCurrentColor().


Member Data Documentation

QColor QColorShowLabel::col [private]
 

Definition at line 1062 of file qcolordialog.cpp.

Referenced by drawContents(), dropEvent(), mouseMoveEvent(), and setColor().

bool QColorShowLabel::mousePressed [private]
 

Definition at line 1063 of file qcolordialog.cpp.

Referenced by mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and QColorShowLabel().

QPoint QColorShowLabel::pressPos [private]
 

Definition at line 1064 of file qcolordialog.cpp.

Referenced by mouseMoveEvent(), and mousePressEvent().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:46:16 2005 for OPIE by  doxygen 1.4.2