QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
AutoZoomView Class Reference

Copyright (c) 2011-2018 by Andrew Mustun. More...

Inheritance diagram for AutoZoomView:
RGraphicsViewQt

Public Member Functions

void AutoZoomView (void parent)
 
void resizeEvent (void event)
 
- Public Member Functions inherited from RGraphicsViewQt
void disableGestures ()
 
virtual int getHeight () const
 
RGraphicsViewImagegetImageView () const
 
virtual QRect getRect () const
 
virtual bool getSignalsBlocked () const
 
virtual int getWidth () const
 
virtual void removeFocus ()
 
 RGraphicsViewQt (QWidget *parent=NULL, bool showFocus=true)
 
void setFocusFrameWidget (QFrame *w)
 
void setImageView (RGraphicsViewImage *v)
 
virtual void setSignalsBlocked (bool on)
 
virtual void simulateMouseMoveEvent ()
 
virtual QSize sizeHint () const
 
virtual ~RGraphicsViewQt ()
 

Additional Inherited Members

- Signals inherited from RGraphicsViewQt
void dragEnter (QDragEnterEvent *event)
 
void drop (QDropEvent *event)
 
- Protected Member Functions inherited from RGraphicsViewQt
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
bool event (QEvent *e)
 Handle terminate events and gestures.
 
virtual void focusInEvent (QFocusEvent *event)
 Called when this view gets the focus.
 
virtual bool focusNextPrevChild (bool next)
 
virtual void focusOutEvent (QFocusEvent *event)
 Called when this view lost the focus.
 
bool gestureEvent (QGestureEvent *event)
 Handle gesture events.
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 Relays the Qt mouse event to the scene.
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void paintEvent (QPaintEvent *)
 Repaints the view.
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void tabletEvent (QTabletEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 

Detailed Description

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

Constructor & Destructor Documentation

◆ AutoZoomView()

void AutoZoomView::AutoZoomView ( void parent)
inline

Member Function Documentation

◆ resizeEvent()

void AutoZoomView::resizeEvent ( void event)
inline

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