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

#include <cxViewCollectionWidgetUsingViewWidgets.h>

Inheritance diagram for cx::LayoutWidgetUsingViewWidgets:
cx::ViewCollectionWidget

Public Member Functions

 LayoutWidgetUsingViewWidgets (QWidget *parent)
 
virtual ~LayoutWidgetUsingViewWidgets ()
 
virtual ViewPtr addView (View::Type type, LayoutRegion region)
 
virtual void clearViews ()
 
virtual void setModified ()
 
virtual void render ()
 
virtual void setGridSpacing (int val)
 
virtual void setGridMargin (int val)
 
virtual int getGridSpacing () const
 
virtual int getGridMargin () const
 
virtual std::vector< ViewPtrgetViews ()
 
virtual QPoint getPosition (ViewPtr view)
 
- Public Member Functions inherited from cx::ViewCollectionWidget
virtual ~ViewCollectionWidget ()
 

Additional Inherited Members

- Signals inherited from cx::ViewCollectionWidget
void rendered ()
 
- Static Public Member Functions inherited from cx::ViewCollectionWidget
static QPointer
< ViewCollectionWidget
createViewWidgetLayout (QWidget *parent=NULL)
 
static QPointer
< ViewCollectionWidget
createOptimizedLayout (QWidget *parent=NULL)
 
- Protected Member Functions inherited from cx::ViewCollectionWidget
 ViewCollectionWidget (QWidget *parent)
 

Detailed Description

Widget for displaying Views, Containing a QGridLayout of QVTKWidgets, one for each view.

Date
2013-11-05
Author
Christian Askeland

Definition at line 55 of file cxViewCollectionWidgetUsingViewWidgets.h.

Constructor & Destructor Documentation

cx::LayoutWidgetUsingViewWidgets::LayoutWidgetUsingViewWidgets ( QWidget *  parent)

Definition at line 41 of file cxViewCollectionWidgetUsingViewWidgets.cpp.

cx::LayoutWidgetUsingViewWidgets::~LayoutWidgetUsingViewWidgets ( )
virtual

Definition at line 57 of file cxViewCollectionWidgetUsingViewWidgets.cpp.

Member Function Documentation

ViewPtr cx::LayoutWidgetUsingViewWidgets::addView ( View::Type  type,
LayoutRegion  region 
)
virtual
void cx::LayoutWidgetUsingViewWidgets::clearViews ( )
virtual
int cx::LayoutWidgetUsingViewWidgets::getGridMargin ( ) const
virtual
int cx::LayoutWidgetUsingViewWidgets::getGridSpacing ( ) const
virtual
QPoint cx::LayoutWidgetUsingViewWidgets::getPosition ( ViewPtr  view)
virtual

Get the position of the Upper Left corner of the view, given in qt-coordinates of this (the ViewCollectionWidget).

Implements cx::ViewCollectionWidget.

Definition at line 122 of file cxViewCollectionWidgetUsingViewWidgets.cpp.

std::vector< ViewPtr > cx::LayoutWidgetUsingViewWidgets::getViews ( )
virtual
void cx::LayoutWidgetUsingViewWidgets::render ( )
virtual
void cx::LayoutWidgetUsingViewWidgets::setGridMargin ( int  val)
virtual
void cx::LayoutWidgetUsingViewWidgets::setGridSpacing ( int  val)
virtual
void cx::LayoutWidgetUsingViewWidgets::setModified ( )
virtual

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