CustusX  22.04-rc2
An IGT application
cx::LayoutWidgetUsingViewWidgets Class Reference

#include <cxViewCollectionWidgetUsingViewWidgets.h>

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

Public Member Functions

 LayoutWidgetUsingViewWidgets (RenderWindowFactoryPtr factory, QWidget *parent)
 
virtual ~LayoutWidgetUsingViewWidgets ()
 
virtual ViewPtr addView (View::Type type, LayoutRegion region)
 
virtual void setOffScreenRenderingAndClear (bool on)
 
virtual bool getOffScreenRendering () const
 
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)
 
virtual void enableContextMenuForViews (bool enable)
 
- Public Member Functions inherited from cx::ViewCollectionWidget
virtual ~ViewCollectionWidget ()
 

Protected Attributes

std::vector< ViewWidget * > mViews
 

Additional Inherited Members

- Signals inherited from cx::ViewCollectionWidget
void rendered ()
 
- Static Public Member Functions inherited from cx::ViewCollectionWidget
static QPointer< ViewCollectionWidgetcreateViewWidgetLayout (RenderWindowFactoryPtr factory, QWidget *parent=NULL)
 
static QPointer< ViewCollectionWidgetcreateOptimizedLayout (RenderWindowFactoryPtr factory, 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 38 of file cxViewCollectionWidgetUsingViewWidgets.h.

Constructor & Destructor Documentation

cx::LayoutWidgetUsingViewWidgets::LayoutWidgetUsingViewWidgets ( RenderWindowFactoryPtr  factory,
QWidget *  parent 
)

Definition at line 22 of file cxViewCollectionWidgetUsingViewWidgets.cpp.

cx::LayoutWidgetUsingViewWidgets::~LayoutWidgetUsingViewWidgets ( )
virtual

Definition at line 36 of file cxViewCollectionWidgetUsingViewWidgets.cpp.

Member Function Documentation

ViewPtr cx::LayoutWidgetUsingViewWidgets::addView ( View::Type  type,
LayoutRegion  region 
)
virtual
void cx::LayoutWidgetUsingViewWidgets::clearViews ( )
virtual
void cx::LayoutWidgetUsingViewWidgets::enableContextMenuForViews ( bool  enable)
virtual
int cx::LayoutWidgetUsingViewWidgets::getGridMargin ( ) const
virtual
int cx::LayoutWidgetUsingViewWidgets::getGridSpacing ( ) const
virtual
bool cx::LayoutWidgetUsingViewWidgets::getOffScreenRendering ( ) 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 99 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
void cx::LayoutWidgetUsingViewWidgets::setOffScreenRenderingAndClear ( bool  on)
virtual

Member Data Documentation

std::vector<ViewWidget*> cx::LayoutWidgetUsingViewWidgets::mViews
protected

Definition at line 60 of file cxViewCollectionWidgetUsingViewWidgets.h.


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