qtsmartgraphics  2.1.1
A simple library that improves the user experience when displaying images by Qt's QLabel and QGraphicsView.
QSmartLabel Class Reference

#include <qsmartlabel.h>

Signals

void sendMouXY (double x, double y)
 Sends the mouse coordinate of the image when clicked the image. More...
 

Public Member Functions

 QSmartLabel (QWidget *parent=0)
 
void mousePressEvent (QMouseEvent *ev)
 
void mouseReleaseEvent (QMouseEvent *ev)
 

Detailed Description

Definition at line 18 of file qsmartlabel.h.

Inheritance diagram for QSmartLabel:

Constructor & Destructor Documentation

QSmartLabel::QSmartLabel ( QWidget *  parent = 0)
explicit

Definition at line 6 of file qsmartlabel.cpp.

Member Function Documentation

void QSmartLabel::mousePressEvent ( QMouseEvent *  ev)

Definition at line 15 of file qsmartlabel.cpp.

void QSmartLabel::mouseReleaseEvent ( QMouseEvent *  ev)

Definition at line 30 of file qsmartlabel.cpp.

void QSmartLabel::sendMouXY ( double  x,
double  y 
)
signal

Sends the mouse coordinate of the image when clicked the image.


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