TechDrawGui::QGVNavStyle Class Reference

#include <QGVNavStyle.h>

Public Member Functions

virtual bool allowContextMenu (QContextMenuEvent *event)
 
QGVPagegetViewer ()
 
virtual void handleEnterEvent (QEvent *event)
 
virtual void handleFocusOutEvent (QFocusEvent *event)
 
virtual void handleKeyPressEvent (QKeyEvent *event)
 
virtual void handleKeyReleaseEvent (QKeyEvent *event)
 
virtual void handleLeaveEvent (QEvent *event)
 
virtual void handleMouseMoveEvent (QMouseEvent *event)
 
virtual void handleMousePressEvent (QMouseEvent *event)
 
virtual void handleMouseReleaseEvent (QMouseEvent *event)
 
virtual void handleWheelEvent (QWheelEvent *event)
 
virtual double mouseZoomFactor (QPoint p)
 
virtual void pan (QPoint p)
 
virtual void placeBalloon (QPoint p)
 
virtual void pseudoContextEvent ()
 
 QGVNavStyle (QGVPage *qgvp)
 
void setViewer (QGVPage *qgvp)
 
virtual void startClick (Qt::MouseButton b)
 
virtual void startPan (QPoint p)
 
virtual void startZoom (QPoint p)
 
virtual void stopClick (void)
 
virtual void stopPan ()
 
virtual void stopZoom ()
 
virtual void zoom (double factor)
 
virtual ~QGVNavStyle ()
 
- Public Member Functions inherited from Base::BaseClass
 BaseClass ()
 Construction. More...
 
 BaseClass (const BaseClass &)=default
 
virtual PyObjectgetPyObject ()
 This method returns the Python wrapper for a C++ object. More...
 
virtual Type getTypeId () const
 
bool isDerivedFrom (const Type type) const
 
BaseClassoperator= (const BaseClass &)=default
 
virtual void setPyObject (PyObject *)
 
virtual ~BaseClass ()
 Destruction. More...
 

Protected Member Functions

virtual void initialize ()
 
virtual void setAnchor ()
 

Protected Attributes

bool altdown
 
bool button1down
 
bool button2down
 
bool button3down
 
bool ctrldown
 
bool invertZoom
 
Qt::MouseButton m_clickButton
 
bool m_clickPending
 
int m_currentmode
 
KeyCombination m_keyCombo
 
bool m_panPending
 
int m_reversePan
 
int m_reverseScroll
 
QCursor m_saveCursor
 
QGVPagem_viewer
 
bool m_zoomPending
 
bool panningActive
 
QPoint panOrigin
 
bool shiftdown
 
bool zoomAtCursor
 
bool zoomingActive
 
QPoint zoomOrigin
 
double zoomStep
 

Additional Inherited Members

- Static Public Member Functions inherited from Base::BaseClass
static void * create ()
 
static Type getClassTypeId ()
 
static void init ()
 
- Static Protected Member Functions inherited from Base::BaseClass
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr)
 

Constructor & Destructor Documentation

◆ QGVNavStyle()

TechDrawGui::QGVNavStyle::QGVNavStyle ( QGVPage qgvp)

References initialize().

◆ ~QGVNavStyle()

TechDrawGui::QGVNavStyle::~QGVNavStyle ( )
virtual

Member Function Documentation

◆ allowContextMenu()

◆ getViewer()

◆ handleEnterEvent()

void TechDrawGui::QGVNavStyle::handleEnterEvent ( QEvent event)
virtual

◆ handleFocusOutEvent()

void TechDrawGui::QGVNavStyle::handleFocusOutEvent ( QFocusEvent *  event)
virtual

◆ handleKeyPressEvent()

◆ handleKeyReleaseEvent()

◆ handleLeaveEvent()

void TechDrawGui::QGVNavStyle::handleLeaveEvent ( QEvent event)
virtual

◆ handleMouseMoveEvent()

◆ handleMousePressEvent()

◆ handleMouseReleaseEvent()

◆ handleWheelEvent()

void TechDrawGui::QGVNavStyle::handleWheelEvent ( QWheelEvent *  event)
virtual

References invertZoom, and zoom().

Referenced by TechDrawGui::QGVPage::wheelEvent().

◆ initialize()

◆ mouseZoomFactor()

◆ pan()

◆ placeBalloon()

◆ pseudoContextEvent()

◆ setAnchor()

void TechDrawGui::QGVNavStyle::setAnchor ( )
protectedvirtual

Reimplemented in TechDrawGui::QGVNavStyleTouchpad.

References m_viewer, and zoomAtCursor.

◆ setViewer()

void TechDrawGui::QGVNavStyle::setViewer ( QGVPage qgvp)

◆ startClick()

◆ startPan()

◆ startZoom()

◆ stopClick()

◆ stopPan()

◆ stopZoom()

◆ zoom()

Member Data Documentation

◆ altdown

bool TechDrawGui::QGVNavStyle::altdown
protected

◆ button1down

bool TechDrawGui::QGVNavStyle::button1down
protected

Referenced by initialize().

◆ button2down

bool TechDrawGui::QGVNavStyle::button2down
protected

Referenced by initialize().

◆ button3down

bool TechDrawGui::QGVNavStyle::button3down
protected

Referenced by initialize().

◆ ctrldown

bool TechDrawGui::QGVNavStyle::ctrldown
protected

Referenced by initialize().

◆ invertZoom

bool TechDrawGui::QGVNavStyle::invertZoom
protected

◆ m_clickButton

◆ m_clickPending

◆ m_currentmode

int TechDrawGui::QGVNavStyle::m_currentmode
protected

◆ m_keyCombo

KeyCombination TechDrawGui::QGVNavStyle::m_keyCombo
protected

◆ m_panPending

◆ m_reversePan

int TechDrawGui::QGVNavStyle::m_reversePan
protected

Referenced by initialize(), and pan().

◆ m_reverseScroll

int TechDrawGui::QGVNavStyle::m_reverseScroll
protected

Referenced by initialize(), and pan().

◆ m_saveCursor

QCursor TechDrawGui::QGVNavStyle::m_saveCursor
protected

Referenced by initialize().

◆ m_viewer

QGVPage* TechDrawGui::QGVNavStyle::m_viewer
protected

◆ m_zoomPending

◆ panningActive

◆ panOrigin

QPoint TechDrawGui::QGVNavStyle::panOrigin
protected

Referenced by pan(), and startPan().

◆ shiftdown

bool TechDrawGui::QGVNavStyle::shiftdown
protected

◆ zoomAtCursor

bool TechDrawGui::QGVNavStyle::zoomAtCursor
protected

Referenced by initialize(), and setAnchor().

◆ zoomingActive

◆ zoomOrigin

QPoint TechDrawGui::QGVNavStyle::zoomOrigin
protected

Referenced by mouseZoomFactor(), and startZoom().

◆ zoomStep

double TechDrawGui::QGVNavStyle::zoomStep
protected

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