CustusX  18.04-rc6
An IGT application
cx::ToolImagePreviewWidget Class Reference

Widget for displaying a tools image. More...

#include <cxToolImagePreviewWidget.h>

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

Public Slots

virtual void previewFileSlot (const QString &absoluteFilePath)
 
- Public Slots inherited from cx::ImagePreviewWidget
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

 ToolImagePreviewWidget (TrackingServicePtr trackingService, QWidget *parent)
 
virtual ~ToolImagePreviewWidget ()
 
- Public Member Functions inherited from cx::ImagePreviewWidget
 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 a tools image.

Date
Nov 7, 2012
Author
Janne Beate Bakeng, SINTEF

Definition at line 28 of file cxToolImagePreviewWidget.h.

Constructor & Destructor Documentation

cx::ToolImagePreviewWidget::ToolImagePreviewWidget ( TrackingServicePtr  trackingService,
QWidget *  parent 
)

Definition at line 20 of file cxToolImagePreviewWidget.cpp.

cx::ToolImagePreviewWidget::~ToolImagePreviewWidget ( )
virtual

Definition at line 28 of file cxToolImagePreviewWidget.cpp.

Member Function Documentation

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

Definition at line 31 of file cxToolImagePreviewWidget.cpp.


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