Graphviz 12.1.0~dev.20240716.0947
Loading...
Searching...
No Matches
ImageViewer Class Reference

#include <imageviewer.h>

Inheritance diagram for ImageViewer:
[legend]
Collaboration diagram for ImageViewer:
[legend]

Public Slots

bool open (const QString &fileName)
 
void print ()
 
void zoomIn ()
 
void zoomOut ()
 
void normalSize ()
 
void fitToWindow ()
 
void about ()
 

Public Member Functions

 ImageViewer ()
 

Data Fields

MdiChildgraphWindow
 
QMdiSubWindow * subWindowRef
 

Protected Member Functions

void closeEvent (QCloseEvent *event)
 

Detailed Description

Definition at line 28 of file imageviewer.h.

Constructor & Destructor Documentation

◆ ImageViewer()

ImageViewer::ImageViewer ( )

Definition at line 16 of file imageviewer.cpp.

Member Function Documentation

◆ about

void ImageViewer::about ( )
slot

Definition at line 106 of file imageviewer.cpp.

◆ closeEvent()

void ImageViewer::closeEvent ( QCloseEvent *  event)
protected

Definition at line 211 of file imageviewer.cpp.

References graphWindow, and MdiChild::previewFrm.

◆ fitToWindow

void ImageViewer::fitToWindow ( )
slot

Definition at line 96 of file imageviewer.cpp.

References fitToWindow(), and normalSize().

Referenced by fitToWindow().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ normalSize

void ImageViewer::normalSize ( )
slot

Definition at line 90 of file imageviewer.cpp.

Referenced by fitToWindow().

Here is the caller graph for this function:

◆ open

bool ImageViewer::open ( const QString &  fileName)
slot

Definition at line 37 of file imageviewer.cpp.

References fileName(), and image.

Here is the call graph for this function:

◆ print

void ImageViewer::print ( )
slot

Definition at line 55 of file imageviewer.cpp.

◆ zoomIn

void ImageViewer::zoomIn ( )
slot

Definition at line 80 of file imageviewer.cpp.

◆ zoomOut

void ImageViewer::zoomOut ( )
slot

Definition at line 85 of file imageviewer.cpp.

Field Documentation

◆ graphWindow

MdiChild* ImageViewer::graphWindow

Definition at line 34 of file imageviewer.h.

Referenced by closeEvent().

◆ subWindowRef

QMdiSubWindow* ImageViewer::subWindowRef

Definition at line 35 of file imageviewer.h.


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