|
The EnhancedGraphicsView is a QGraphicsView with some additional functions. More...
#include <ArmarXGui/libraries/ArmarXGuiBase/widgets/EnhancedGraphicsView.h>
Public Slots | |
void | setAllVisible (bool visible) |
void | setDraggingDisabled (bool disabled=true) |
void | setDraggingEnabled (bool enabled=true) |
void | setDraggingKeyboardModifier (Qt::KeyboardModifier mod) |
void | setDraggingMouseButton (Qt::MouseButton button) |
void | setRotationDisabled (bool disabled=true) |
void | setRotationEnabled (bool enabled=true) |
void | setRotationFactor (qreal factor) |
void | setRotationKeyboardModifier (Qt::KeyboardModifier mod) |
void | setZoomDisabled (bool disabled=true) |
void | setZoomEnabled (bool enabled=true) |
void | setZoomFactor (qreal factor) |
void | setZoomKeyboardModifier (Qt::KeyboardModifier mod) |
Public Member Functions | |
Qt::KeyboardModifier | getDraggingKeyboardModifier () const |
Qt::MouseButton | getDraggingMouseButton () const |
qreal | getRotationFactor () const |
Qt::KeyboardModifier | getRotationKeyboardModifier () const |
qreal | getZoomFactor () const |
Qt::KeyboardModifier | getZoomKeyboardModifier () const |
qreal | setZoomFactor () |
Protected Member Functions | |
void | mouseMoveEvent (QMouseEvent *e) override |
void | mousePressEvent (QMouseEvent *e) override |
void | wheelEvent (QWheelEvent *e) override |
Protected Attributes | |
Qt::MouseButton | draggingButton {Qt::LeftButton} |
bool | draggingEnabled {true} |
Qt::KeyboardModifier | draggingModifier {Qt::ControlModifier} |
QPointF | draggingStartPosition |
bool | rotationEnabled {true} |
qreal | rotationFactor {0.01} |
Qt::KeyboardModifier | rotationModifier {Qt::ShiftModifier} |
bool | zoomEnabled {true} |
qreal | zoomFacor {1.05} |
Qt::KeyboardModifier | zoomModifier {Qt::ControlModifier} |
The EnhancedGraphicsView is a QGraphicsView with some additional functions.
Additional functions are:
Definition at line 41 of file EnhancedGraphicsView.h.
Qt::KeyboardModifier getDraggingKeyboardModifier | ( | ) | const |
Definition at line 49 of file EnhancedGraphicsView.cpp.
Qt::MouseButton getDraggingMouseButton | ( | ) | const |
Definition at line 54 of file EnhancedGraphicsView.cpp.
qreal getRotationFactor | ( | ) | const |
Definition at line 34 of file EnhancedGraphicsView.cpp.
Qt::KeyboardModifier getRotationKeyboardModifier | ( | ) | const |
Definition at line 29 of file EnhancedGraphicsView.cpp.
qreal getZoomFactor | ( | ) | const |
Definition at line 44 of file EnhancedGraphicsView.cpp.
Qt::KeyboardModifier getZoomKeyboardModifier | ( | ) | const |
Definition at line 39 of file EnhancedGraphicsView.cpp.
|
overrideprotected |
Definition at line 133 of file EnhancedGraphicsView.cpp.
|
overrideprotected |
Definition at line 127 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 119 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 104 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 99 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 109 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 114 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 64 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 59 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 74 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 69 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 84 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 79 of file EnhancedGraphicsView.cpp.
qreal setZoomFactor | ( | ) |
|
slot |
Definition at line 94 of file EnhancedGraphicsView.cpp.
|
slot |
Definition at line 89 of file EnhancedGraphicsView.cpp.
|
overrideprotected |
Definition at line 154 of file EnhancedGraphicsView.cpp.
|
protected |
Definition at line 89 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 87 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 88 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 90 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 79 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 81 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 80 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 83 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 85 of file EnhancedGraphicsView.h.
|
protected |
Definition at line 84 of file EnhancedGraphicsView.h.