Qt 5.10 Book Examples
Public Member Functions | Protected Member Functions | List of all members
MouseObserver Class Reference

#include <MouseObserver.h>

Inheritance diagram for MouseObserver:

Public Member Functions

 MouseObserver (QWidget *pwgt=0)
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *pe)
 
virtual void mouseReleaseEvent (QMouseEvent *pe)
 
virtual void mouseMoveEvent (QMouseEvent *pe)
 
void dumpEvent (QMouseEvent *pe, const QString &strMessage)
 
QString modifiersInfo (QMouseEvent *pe)
 
QString buttonsInfo (QMouseEvent *pe)
 

Detailed Description

Definition at line 16 of file MouseObserver.h.

Constructor & Destructor Documentation

◆ MouseObserver()

MouseObserver::MouseObserver ( QWidget *  pwgt = 0)

Definition at line 14 of file MouseObserver.cpp.

Member Function Documentation

◆ buttonsInfo()

QString MouseObserver::buttonsInfo ( QMouseEvent *  pe)
protected

Definition at line 68 of file MouseObserver.cpp.

◆ dumpEvent()

void MouseObserver::dumpEvent ( QMouseEvent *  pe,
const QString &  strMessage 
)
protected

Definition at line 38 of file MouseObserver.cpp.

◆ modifiersInfo()

QString MouseObserver::modifiersInfo ( QMouseEvent *  pe)
protected

Definition at line 51 of file MouseObserver.cpp.

◆ mouseMoveEvent()

void MouseObserver::mouseMoveEvent ( QMouseEvent *  pe)
protectedvirtual

Definition at line 32 of file MouseObserver.cpp.

◆ mousePressEvent()

void MouseObserver::mousePressEvent ( QMouseEvent *  pe)
protectedvirtual

Definition at line 21 of file MouseObserver.cpp.

◆ mouseReleaseEvent()

void MouseObserver::mouseReleaseEvent ( QMouseEvent *  pe)
protectedvirtual

Definition at line 27 of file MouseObserver.cpp.


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