Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ImagePreviewWidget Class Reference

Widget for displaying images. More...

#include <cxImagePreviewWidget.h>

Inheritance diagram for cx::ImagePreviewWidget:
cx::FileWatcherWidget cx::BaseWidget cx::OptimizedUpdateWidget cx::ToolImagePreviewWidget

Public Slots

virtual void previewFileSlot (const QString &absoluteFilePath)
 
- Public Slots inherited from cx::FileWatcherWidget
virtual void previewFileSlot (const QString &absoluteFilePath)=0
 
- Public Slots inherited from cx::BaseWidget
void adjustSizeSlot ()
 
- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 

Public Member Functions

 ImagePreviewWidget (QWidget *parent)
 
virtual ~ImagePreviewWidget ()
 
void setSize (int width, int height)
 
- Public Member Functions inherited from cx::FileWatcherWidget
 FileWatcherWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~FileWatcherWidget ()
 
- Public Member Functions inherited from cx::BaseWidget
 BaseWidget (QWidget *parent, QString objectName, QString windowTitle)
 
virtual ~BaseWidget ()
 
QWidget * createMethodWidget (QWidget *inputWidget, QWidget *outputWidget, QString methodname, bool inputChecked=false, bool outputVisible=true)
 Create a specialized widget for filters, with input/ouput, enable and options. More...
 
QGroupBox * createGroupbox (QWidget *widget, QString boxname)
 Create a group box with a given name. More...
 
QGroupBox * wrapInGroupBox (QWidget *base, QString name)
 
CXFramewrapInFrame (QWidget *base)
 
QAction * createAction2 (QObject *parent, QIcon iconName, QString text, QString tip, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
template<class T >
QAction * createAction (QObject *parent, QIcon iconName, QString text, QString tip, T slot, QLayout *layout=NULL, QToolButton *button=new QToolButton())
 
- Public Member Functions inherited from cx::OptimizedUpdateWidget
 OptimizedUpdateWidget (QWidget *parent=NULL)
 
virtual ~OptimizedUpdateWidget ()
 
void forcePrePaint ()
 

Additional Inherited Members

- Static Public Member Functions inherited from cx::BaseWidget
static QFrame * createHorizontalLine ()
 Creates a horizontal line which can be inserted into widgets. More...
 
- Protected Member Functions inherited from cx::FileWatcherWidget
bool internalOpenNewFile (const QString absoluteFilePath)
 
void watchFile (bool on)
 
- Protected Member Functions inherited from cx::BaseWidget
virtual void showEvent (QShowEvent *event)
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void prePaintEvent ()
 
virtual void paintEvent (QPaintEvent *event)
 
- Protected Attributes inherited from cx::FileWatcherWidget
QFileSystemWatcher * mFileSystemWatcher
 
boost::shared_ptr< QFile > mCurrentFile
 

Detailed Description

Widget for displaying images.

Date
Nov 7, 2012
Author
Janne Beate Bakeng, SINTEF

Definition at line 50 of file cxImagePreviewWidget.h.

Constructor & Destructor Documentation

cx::ImagePreviewWidget::ImagePreviewWidget ( QWidget *  parent)

Definition at line 43 of file cxImagePreviewWidget.cpp.

cx::ImagePreviewWidget::~ImagePreviewWidget ( )
virtual

Definition at line 56 of file cxImagePreviewWidget.cpp.

Member Function Documentation

void cx::ImagePreviewWidget::previewFileSlot ( const QString &  absoluteFilePath)
virtualslot

Definition at line 65 of file cxImagePreviewWidget.cpp.

void cx::ImagePreviewWidget::setSize ( int  width,
int  height 
)

Definition at line 60 of file cxImagePreviewWidget.cpp.


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