This class is a animation view. More...
#include <AnimationView.h>
Signals | |
| void | animationDragEnterEvent (QDragEnterEvent *) |
| void | animationDropEvent (QDropEvent *) |
Public Member Functions | |
| AnimationView (te::qt::widgets::MapDisplay *md) | |
| Constructor It constructs a AnimationView. More... | |
| void | dragEnterEvent (QDragEnterEvent *) |
| void | dragLeaveEvent (QDragLeaveEvent *) |
| void | dragMoveEvent (QDragMoveEvent *) |
| void | dropEvent (QDropEvent *) |
| void | enterEvent (QEvent *) |
| void | keyPressEvent (QKeyEvent *) |
| void | keyReleaseEvent (QKeyEvent *) |
| void | leaveEvent (QEvent *) |
| void | mouseDoubleClickEvent (QMouseEvent *) |
| void | mouseMoveEvent (QMouseEvent *) |
| void | mousePressEvent (QMouseEvent *) |
| void | mouseReleaseEvent (QMouseEvent *) |
| void | paintEvent (QPaintEvent *) |
| void | resizeEvent (QResizeEvent *) |
| void | setMatrix () |
| virtual | ~AnimationView () |
| Destructor It destructs a AnimationView. More... | |
Public Attributes | |
| bool | m_dragDropAccepted |
| bool | m_sameSRID |
Private Attributes | |
| MapDisplay * | m_display |
This class is a animation view.
Definition at line 45 of file AnimationView.h.
| te::qt::widgets::AnimationView::AnimationView | ( | te::qt::widgets::MapDisplay * | md | ) |
Constructor It constructs a AnimationView.
| md | the map display where the animation is done. |
Definition at line 13 of file AnimationView.cpp.
References ~AnimationView().
|
virtualdefault |
Destructor It destructs a AnimationView.
Referenced by AnimationView().
|
signal |
Referenced by dragEnterEvent().
|
signal |
Referenced by dropEvent().
| void te::qt::widgets::AnimationView::dragEnterEvent | ( | QDragEnterEvent * | e | ) |
Definition at line 81 of file AnimationView.cpp.
References animationDragEnterEvent().
| void te::qt::widgets::AnimationView::dragLeaveEvent | ( | QDragLeaveEvent * | e | ) |
Definition at line 86 of file AnimationView.cpp.
References m_dragDropAccepted.
| void te::qt::widgets::AnimationView::dragMoveEvent | ( | QDragMoveEvent * | e | ) |
Definition at line 92 of file AnimationView.cpp.
References m_dragDropAccepted.
| void te::qt::widgets::AnimationView::dropEvent | ( | QDropEvent * | e | ) |
Definition at line 97 of file AnimationView.cpp.
References animationDropEvent(), and m_dragDropAccepted.
| void te::qt::widgets::AnimationView::enterEvent | ( | QEvent * | e | ) |
Definition at line 51 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::keyPressEvent | ( | QKeyEvent * | e | ) |
Definition at line 56 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::keyReleaseEvent | ( | QKeyEvent * | e | ) |
Definition at line 61 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::leaveEvent | ( | QEvent * | e | ) |
Definition at line 66 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::mouseDoubleClickEvent | ( | QMouseEvent * | e | ) |
Definition at line 46 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::mouseMoveEvent | ( | QMouseEvent * | e | ) |
Definition at line 36 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::mousePressEvent | ( | QMouseEvent * | e | ) |
Definition at line 31 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::mouseReleaseEvent | ( | QMouseEvent * | e | ) |
Definition at line 41 of file AnimationView.cpp.
References m_display.
| void te::qt::widgets::AnimationView::paintEvent | ( | QPaintEvent * | e | ) |
Definition at line 103 of file AnimationView.cpp.
References m_sameSRID, and setMatrix().
| void te::qt::widgets::AnimationView::resizeEvent | ( | QResizeEvent * | ) |
Definition at line 71 of file AnimationView.cpp.
| void te::qt::widgets::AnimationView::setMatrix | ( | ) |
Definition at line 125 of file AnimationView.cpp.
References te::qt::widgets::Canvas::calcAspectRatio(), te::qt::widgets::MapDisplay::getDisplayPixmap(), te::map::MapDisplay::getExtent(), te::qt::widgets::Canvas::getMatrix(), te::map::MapDisplay::getSRID(), m_display, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::qt::widgets::AnimationItem::m_matrix, m_sameSRID, te::qt::widgets::AnimationItem::m_SRID, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, and te::qt::widgets::Canvas::setWindow().
Referenced by paintEvent().
|
private |
Definition at line 85 of file AnimationView.h.
Referenced by enterEvent(), keyPressEvent(), keyReleaseEvent(), leaveEvent(), mouseDoubleClickEvent(), mouseMoveEvent(), mousePressEvent(), mouseReleaseEvent(), and setMatrix().
| bool te::qt::widgets::AnimationView::m_dragDropAccepted |
Definition at line 88 of file AnimationView.h.
Referenced by dragLeaveEvent(), dragMoveEvent(), dropEvent(), and te::qt::widgets::TimeSliderWidget::onAnimationDragEnterEvent().
| bool te::qt::widgets::AnimationView::m_sameSRID |
Definition at line 89 of file AnimationView.h.
Referenced by paintEvent(), and setMatrix().