#include <movablewidget.h>
Definition at line 24 of file movablewidget.h.
◆ Modes
◆ Mode
| Enumerator |
|---|
| Moving | |
| ResizeLeft | |
| ResizeRight | |
| ResizeUp | |
| ResizeDown | |
| Resize | |
Definition at line 45 of file movablewidget.h.
◆ MovableWidget()
| MovableWidget::MovableWidget |
( |
QWidget * |
parent | ) |
|
|
explicit |
◆ checkBoundary()
| void MovableWidget::checkBoundary |
( |
QPoint & |
point | ) |
const |
|
private |
◆ checkBoundaryLeft()
| void MovableWidget::checkBoundaryLeft |
( |
int & |
x | ) |
const |
|
private |
◆ getRatio()
| float MovableWidget::getRatio |
( |
| ) |
const |
◆ mouseDoubleClickEvent()
| void MovableWidget::mouseDoubleClickEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mouseMoveEvent()
| void MovableWidget::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mousePressEvent()
| void MovableWidget::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ mouseReleaseEvent()
| void MovableWidget::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protected |
◆ resetBoundary()
| void MovableWidget::resetBoundary |
( |
QRect |
newBoundary | ) |
|
◆ setBoundary()
| void MovableWidget::setBoundary |
( |
QRect |
newBoundary | ) |
|
◆ setRatio()
| void MovableWidget::setRatio |
( |
float |
r | ) |
|
◆ actualPos
| QPointF MovableWidget::actualPos |
|
private |
◆ actualSize
| QSizeF MovableWidget::actualSize |
|
private |
◆ boundaryRect
| QRect MovableWidget::boundaryRect |
|
private |
◆ lastPoint
| QPoint MovableWidget::lastPoint |
|
private |
◆ mode
| Modes MovableWidget::mode = 0 |
|
private |
◆ ratio
| float MovableWidget::ratio |
|
private |
The documentation for this class was generated from the following files: