NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 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 std::vector< ViewPtrgetViews ()=0
 
virtual QPoint getPosition (ViewPtr view)=0
 

Static Public Member Functions

static QPointer
< ViewCollectionWidget
createViewWidgetLayout (QWidget *parent=NULL)
 
static QPointer
< ViewCollectionWidget
createOptimizedLayout (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 60 of file cxViewCollectionWidget.h.

Constructor & Destructor Documentation

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

Definition at line 67 of file cxViewCollectionWidget.h.

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

Definition at line 88 of file cxViewCollectionWidget.h.

Member Function Documentation

virtual ViewPtr cx::ViewCollectionWidget::addView ( View::Type  type,
LayoutRegion  region 
)
pure virtual
virtual void cx::ViewCollectionWidget::clearViews ( )
pure virtual
QPointer< ViewCollectionWidget > cx::ViewCollectionWidget::createOptimizedLayout ( QWidget *  parent = NULL)
static

Definition at line 56 of file cxViewCollectionWidget.cpp.

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

Definition at line 49 of file cxViewCollectionWidget.cpp.

virtual int cx::ViewCollectionWidget::getGridMargin ( ) const
pure virtual
virtual int cx::ViewCollectionWidget::getGridSpacing ( ) const
pure virtual
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::ViewCollectionWidgetUsingViewContainer, and cx::LayoutWidgetUsingViewWidgets.

virtual std::vector<ViewPtr> cx::ViewCollectionWidget::getViews ( )
pure virtual
virtual void cx::ViewCollectionWidget::render ( )
pure virtual
void cx::ViewCollectionWidget::rendered ( )
signal
virtual void cx::ViewCollectionWidget::setGridMargin ( int  val)
pure virtual
virtual void cx::ViewCollectionWidget::setGridSpacing ( int  val)
pure virtual
virtual void cx::ViewCollectionWidget::setModified ( )
pure virtual

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