class QeLabel : public QLabel

Extended version of QLabel.

Inheritance:

QeLabel


Public Methods

void pressed(int, int)
[signal]
QeLabel( QWidget* parent=0, const char* name=0, WFlags f=0 )
QeLabel( const char* text, QWidget* parent=0, const char* name=0, WFlags f=0 )
void released(int, int)
[signal]

Protected Methods

void mousePressEvent( QMouseEvent *me )
void mouseReleaseEvent( QMouseEvent *me )

Documentation

This is an extended version of the QLabel widget. It emits signals to indicate when it has been pressed or released.

Inspired by code from version 2.0 of Sean Vyain's xcd program.

QeLabel( QWidget* parent=0, const char* name=0, WFlags f=0 )
Class constructor. See the documentation for QLabel.

QeLabel( const char* text, QWidget* parent=0, const char* name=0, WFlags f=0 )
Overloaded class constructor. See the documentation for QLabel.

void pressed(int, int)
Signal

Emitted when a mouse press occurs on the widget. Emits the x- and y-coordinate of the mouse.

void released(int, int)
Signal

Emitted when a mouse release occurs on the widget. Emits the x- and y-coordinate of the mouse.

void mousePressEvent( QMouseEvent *me )
Virtual method reimplemented from QWidget.

void mouseReleaseEvent( QMouseEvent *me )
Virtual method reimplemented from QWidget.


This class has no child classes.
See Also:
QeLCDNumber

alphabetic index hierarchy of classes


Copyright 1997 by John Weiss [John.Weiss@colorado.edu] "generated by doc++"?! More like mangled ...

generated by doc++