Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
GraphicsView Class Reference

#include <graphicsview.h>

Inheritance diagram for GraphicsView:
Inheritance graph
Collaboration diagram for GraphicsView:
Collaboration graph

Signals

void dropImage (const QString &filePath)
 
void dropFolder (const QString &folderPath)
 
void saveFile (const QString &item)
 

Public Member Functions

 GraphicsView (QWidget *parent=0)
 
bool getFit () const
 
void setFit (bool value)
 

Protected Member Functions

virtual void dragEnterEvent (QDragEnterEvent *event) override
 
virtual void dragMoveEvent (QDragMoveEvent *event) override
 
virtual void dragLeaveEvent (QDragLeaveEvent *event) override
 
virtual void dropEvent (QDropEvent *event) override
 
virtual void resizeEvent (QResizeEvent *event) override
 

Protected Attributes

bool fit = false
 

Detailed Description

Definition at line 6 of file graphicsview.h.

Constructor & Destructor Documentation

GraphicsView::GraphicsView ( QWidget *  parent = 0)
explicit

Definition at line 8 of file graphicsview.cpp.

Member Function Documentation

void GraphicsView::dragEnterEvent ( QDragEnterEvent *  event)
overrideprotectedvirtual

Definition at line 11 of file graphicsview.cpp.

void GraphicsView::dragLeaveEvent ( QDragLeaveEvent *  event)
overrideprotectedvirtual

Definition at line 19 of file graphicsview.cpp.

void GraphicsView::dragMoveEvent ( QDragMoveEvent *  event)
overrideprotectedvirtual

Definition at line 15 of file graphicsview.cpp.

void GraphicsView::dropEvent ( QDropEvent *  event)
overrideprotectedvirtual

Definition at line 23 of file graphicsview.cpp.

void GraphicsView::dropFolder ( const QString &  folderPath)
signal
void GraphicsView::dropImage ( const QString &  filePath)
signal
bool GraphicsView::getFit ( ) const

Definition at line 54 of file graphicsview.cpp.

void GraphicsView::resizeEvent ( QResizeEvent *  event)
overrideprotectedvirtual

Definition at line 47 of file graphicsview.cpp.

void GraphicsView::saveFile ( const QString &  item)
signal
void GraphicsView::setFit ( bool  value)

Definition at line 58 of file graphicsview.cpp.

Member Data Documentation

bool GraphicsView::fit = false
protected

Definition at line 30 of file graphicsview.h.


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