NorMIT-nav  22.09
An IGT application
cx::ViewCollectionWidget Class Referenceabstract

#include <cxViewCollectionWidget.h>

Inheritance diagram for cx::ViewCollectionWidget:
cx::LayoutWidgetUsingViewWidgets cx::ViewCollectionWidgetMixed cx::ViewCollectionWidgetUsingViewContainer

Signals

void rendered ()
 

Public Member Functions

virtual ~ViewCollectionWidget ()
 
virtual ViewPtr addView (View::Type type, LayoutRegion region)=0
 
virtual void setOffScreenRenderingAndClear (bool on)=0
 
virtual bool getOffScreenRendering () const =0
 
virtual void clearViews ()=0
 
virtual void setModified ()=0
 
virtual void render ()=0
 
virtual void setGridSpacing (int val)=0
 
virtual void setGridMargin (int val)=0
 
virtual int getGridSpacing () const =0
 
virtual int getGridMargin () const =0
 
virtual void enableContextMenuForViews (bool enable)=0
 
virtual std::vector< ViewPtrgetViews ()=0
 
virtual QPoint getPosition (ViewPtr view)=0
 

Static Public Member Functions

static QPointer< ViewCollectionWidgetcreateViewWidgetLayout (RenderWindowFactoryPtr factory, QWidget *parent=NULL)
 
static QPointer< ViewCollectionWidgetcreateOptimizedLayout (RenderWindowFactoryPtr factory, QWidget *parent=NULL)
 

Protected Member Functions

 ViewCollectionWidget (QWidget *parent)
 

Detailed Description

Widget for displaying Views.

This is the main class for displaying visualizations. Add Views using addView(), then add Reps to the Views.

Date
2013-11-05
2014-09-26
Author
christiana

Definition at line 39 of file cxViewCollectionWidget.h.

Constructor & Destructor Documentation

◆ ~ViewCollectionWidget()

virtual cx::ViewCollectionWidget::~ViewCollectionWidget ( )
inlinevirtual

Definition at line 46 of file cxViewCollectionWidget.h.

◆ ViewCollectionWidget()

cx::ViewCollectionWidget::ViewCollectionWidget ( QWidget *  parent)
inlineprotected

Definition at line 70 of file cxViewCollectionWidget.h.

Member Function Documentation

◆ addView()

virtual ViewPtr cx::ViewCollectionWidget::addView ( View::Type  type,
LayoutRegion  region 
)
pure virtual

◆ clearViews()

virtual void cx::ViewCollectionWidget::clearViews ( )
pure virtual

◆ createOptimizedLayout()

QPointer< ViewCollectionWidget > cx::ViewCollectionWidget::createOptimizedLayout ( RenderWindowFactoryPtr  factory,
QWidget *  parent = NULL 
)
static

Definition at line 36 of file cxViewCollectionWidget.cpp.

◆ createViewWidgetLayout()

QPointer< ViewCollectionWidget > cx::ViewCollectionWidget::createViewWidgetLayout ( RenderWindowFactoryPtr  factory,
QWidget *  parent = NULL 
)
static

Definition at line 29 of file cxViewCollectionWidget.cpp.

◆ enableContextMenuForViews()

virtual void cx::ViewCollectionWidget::enableContextMenuForViews ( bool  enable)
pure virtual

◆ getGridMargin()

virtual int cx::ViewCollectionWidget::getGridMargin ( ) const
pure virtual

◆ getGridSpacing()

virtual int cx::ViewCollectionWidget::getGridSpacing ( ) const
pure virtual

◆ getOffScreenRendering()

virtual bool cx::ViewCollectionWidget::getOffScreenRendering ( ) const
pure virtual

◆ getPosition()

virtual QPoint cx::ViewCollectionWidget::getPosition ( ViewPtr  view)
pure virtual

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

Implemented in cx::ViewCollectionWidgetMixed, cx::LayoutWidgetUsingViewWidgets, and cx::ViewCollectionWidgetUsingViewContainer.

◆ getViews()

virtual std::vector<ViewPtr> cx::ViewCollectionWidget::getViews ( )
pure virtual

◆ render()

virtual void cx::ViewCollectionWidget::render ( )
pure virtual

◆ rendered

void cx::ViewCollectionWidget::rendered ( )
signal

◆ setGridMargin()

virtual void cx::ViewCollectionWidget::setGridMargin ( int  val)
pure virtual

◆ setGridSpacing()

virtual void cx::ViewCollectionWidget::setGridSpacing ( int  val)
pure virtual

◆ setModified()

virtual void cx::ViewCollectionWidget::setModified ( )
pure virtual

◆ setOffScreenRenderingAndClear()

virtual void cx::ViewCollectionWidget::setOffScreenRenderingAndClear ( bool  on)
pure virtual

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