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

#include <Widget.h>

Inheritance diagram for Widget:

Public Member Functions

 Widget (QWidget *pwgt=0)
 

Protected Member Functions

virtual void mousePressEvent (QMouseEvent *)
 
virtual void mouseMoveEvent (QMouseEvent *)
 
virtual void dragEnterEvent (QDragEnterEvent *)
 
virtual void dropEvent (QDropEvent *)
 

Detailed Description

Definition at line 17 of file Widget.h.

Constructor & Destructor Documentation

◆ Widget()

Widget::Widget ( QWidget *  pwgt = 0)

Definition at line 16 of file Widget.cpp.

Member Function Documentation

◆ dragEnterEvent()

void Widget::dragEnterEvent ( QDragEnterEvent *  pe)
protectedvirtual

Definition at line 51 of file Widget.cpp.

◆ dropEvent()

void Widget::dropEvent ( QDropEvent *  pe)
protectedvirtual

Definition at line 59 of file Widget.cpp.

◆ mouseMoveEvent()

void Widget::mouseMoveEvent ( QMouseEvent *  pe)
protectedvirtual

Definition at line 39 of file Widget.cpp.

◆ mousePressEvent()

void Widget::mousePressEvent ( QMouseEvent *  pe)
protectedvirtual

Definition at line 30 of file Widget.cpp.


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