QVISH 0.1
Classes | Public Slots | Signals | Public Member Functions | Public Attributes | List of all members
Wizt::qVGLScrollArea Class Reference
Inheritance diagram for Wizt::qVGLScrollArea:
Wizt::qVScrollArea

Classes

struct  VRenderArea
 

Public Slots

void adjustZoom (double factor)
 
void adjustZoom (double factor, double X, double Y)
 
void adjustZoom (double factor, double X, double Y)
 
void announceViewerInfo (QString)
 
void enablePixelZoom (bool checked)
 
void enablePixelZoom (bool checked)
 
void enablePixelZoom (bool checked)
 
void scrollHorizontal (int Value)
 
void scrollHorizontal (int Value)
 
void scrollVertical (int Value)
 
void scrollVertical (int Value)
 
void shiftZoom (double dX, double dY)
 
void shiftZoom (double dX, double dY)
 
void toggleCursorVisibility ()
 
- Public Slots inherited from Wizt::qVScrollArea
void adjustZoom (double factor, double X, double Y)
 
void displayCursorInfo (int X, int Y, const QString &)
 
void enablePixelZoom (bool checked)
 
void scrollHorizontal (int Value)
 
void scrollVertical (int Value)
 
void shiftZoom (double dX, double dY)
 
void zoomIn ()
 
void zoomOut ()
 

Signals

void setViewerInfo (QString)
 
- Signals inherited from Wizt::qVScrollArea
void ready (const QString &ViewerName, const QString &GL_Vendor, const QString &GL_Renderer, int M, int m)
 
void setViewerInfo (const QString &)
 
void showObjectTab (bool)
 

Public Member Functions

void adjustPixelZoomOffset ()
 Given the current values of the scroll bars, adjust the pixel zoom values.
 
bool event (QEvent *event) override
 
void fullScreen ()
 
int getViewerHeight () const override
 
int getViewerWidth () const override
 
bool isInPixelZoomMode () const
 
bool isInPixelZoomMode () const
 
bool isInPixelZoomMode () const
 
 qVGLScrollArea (QWidget *parent, const QPointer< qVMainWindow > &theVMainWindow, const WeakPtr< QGLViewer, VManagedObjectBase > &V, const std::function< void(int, int)> &ViewerSizeChanged, const std::function< void(bool)> &enablePixelZoomF)
 
 qVGLScrollArea (QWidget *parent, QGLWidget *SharedQGL, const VPointer< QGLViewer > &theViewer)
 
 qVGLScrollArea (QWidget *parent, QGLWidget *SharedQGL, const VPointer< QGLViewer > &theViewer)
 
 qVGLScrollArea (QWidget *parent, QGLWidget *SharedQGL, const VPointer< QGLViewer > &theViewer)
 
void resizeEvent (QResizeEvent *event)
 
void resizeEvent (QResizeEvent *event) override
 
void resizeEvent (QResizeEvent *event) override
 
void scrollContentsBy (int dx, int dy)
 
void scrollContentsBy (int dx, int dy)
 
void scrollContentsBy (int dx, int dy)
 
void scrollContentsBy (int dx, int dy) override
 
- Public Member Functions inherited from Wizt::qVScrollArea
 qVScrollArea (QWidget *parent, const std::function< void(int, int)> &ViewerSizeChanged, const std::function< void(bool)> &enablePixelZoomF)
 
void resizeEvent (QResizeEvent *event) override
 

Public Attributes

QPointer< QShortcut > myCursorVisibilityShortcut
 
QPointer< qVGLWidgetmyGLWidget
 
QPointer< qVGLWindowmyGLWindow
 
QPointer< QVBoxLayout > myLayout
 
VRenderContext::PixelZoom myPixelZoom
 
PixelZoom myPixelZoom
 
WeakPtr< QGLViewer, VManagedObjectBase > myViewer
 
VPointer< QGLViewermyViewer
 
QPointer< qVMainWindowmyVMainWindow
 
WeakPtr< VRenderAreamyVRenderArea
 
QPointer< QAction > PixelZoomAction
 
- Public Attributes inherited from Wizt::qVScrollArea
std::function< void(bool)> enablePixelZoomFunctor
 
QPointer< QGridLayout > myLayout
 
PixelZoom myPixelZoom
 
std::function< void(int, int)> ViewerSizeChanged
 

Member Function Documentation

◆ fullScreen()

void Wizt::qVGLScrollArea::fullScreen ( )
virtual

Implements Wizt::qVScrollArea.

◆ getViewerHeight()

int Wizt::qVGLScrollArea::getViewerHeight ( ) const
overridevirtual

Implements Wizt::qVScrollArea.

◆ getViewerWidth()

int Wizt::qVGLScrollArea::getViewerWidth ( ) const
overridevirtual

Implements Wizt::qVScrollArea.


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