MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DISP3DLIB::AbstractView Class Reference

Adapter which provides the abstract class for all adapter views. More...

#include <abstractview.h>

Public Types

typedef QSharedPointer< AbstractViewSPtr
 
typedef QSharedPointer< const AbstractViewConstSPtr
 

Public Member Functions

 AbstractView (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 
 ~AbstractView ()
 
QSharedPointer< DISP3DLIB::View3DgetView ()
 
QSharedPointer< DISPLIB::Control3DViewgetControlView ()
 
QSharedPointer< DISP3DLIB::Data3DTreeModelgetTreeModel ()
 
QPointer< DISPLIB::QuickControlViewgetQuickControl ()
 
void setQuickControlWidgets (const QList< QWidget * > &lControlWidgets)
 

Protected Member Functions

void createGUI ()
 

Protected Attributes

QSharedPointer< DISP3DLIB::View3Dm_p3DView
 
QSharedPointer< DISP3DLIB::Data3DTreeModelm_pData3DModel
 
QSharedPointer< DISPLIB::Control3DViewm_pControl3DView
 
QPointer< DISPLIB::QuickControlViewm_pQuickControlView
 

Detailed Description

Adapter which provides the abstract class for all adapter views.

Adapter which provides the abstract class for all adapter views.

Definition at line 81 of file abstractview.h.

Inheritance diagram for DISP3DLIB::AbstractView:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

typedef QSharedPointer<const AbstractView> DISP3DLIB::AbstractView::ConstSPtr

Const shared pointer type for AbstractView class.

Definition at line 87 of file abstractview.h.

◆ SPtr

Shared pointer type for AbstractView class.

Definition at line 86 of file abstractview.h.

Constructor & Destructor Documentation

◆ AbstractView()

AbstractView::AbstractView ( QWidget *  parent = 0,
Qt::WindowFlags  f = Qt::Widget 
)
explicit

Default constructor.

Definition at line 68 of file abstractview.cpp.

◆ ~AbstractView()

AbstractView::~AbstractView ( )

Default destructor.

Definition at line 113 of file abstractview.cpp.

Member Function Documentation

◆ createGUI()

void AbstractView::createGUI ( )
protected

Creates the GUI.

Definition at line 162 of file abstractview.cpp.

◆ getControlView()

QSharedPointer< DISPLIB::Control3DView > AbstractView::getControlView ( )

Returns the Control3D.

Returns
The currently set Control3D.

Definition at line 126 of file abstractview.cpp.

◆ getQuickControl()

QPointer< DISPLIB::QuickControlView > AbstractView::getQuickControl ( )

Returns the quick control view.

Returns
The currently set quick control view.

Definition at line 140 of file abstractview.cpp.

◆ getTreeModel()

QSharedPointer< DISP3DLIB::Data3DTreeModel > AbstractView::getTreeModel ( )

Returns the Data3DTreeModel.

Returns
The currently set Data3DTreeModel.

Definition at line 133 of file abstractview.cpp.

◆ getView()

QSharedPointer< DISP3DLIB::View3D > AbstractView::getView ( )

Returns the View3D.

Returns
The currently set View3D.

Definition at line 119 of file abstractview.cpp.

◆ setQuickControlWidgets()

void AbstractView::setQuickControlWidgets ( const QList< QWidget * > &  lControlWidgets)

Sets the extra control widgets in the quick control view. Takes ownership of the QWidgets.

Parameters
[in]lControlWidgetsThe new extra control widgets.

Definition at line 147 of file abstractview.cpp.

Member Data Documentation

◆ m_p3DView

QSharedPointer<DISP3DLIB::View3D> DISP3DLIB::AbstractView::m_p3DView
protected

The Disp3D view.

Definition at line 149 of file abstractview.h.

◆ m_pControl3DView

QSharedPointer<DISPLIB::Control3DView> DISP3DLIB::AbstractView::m_pControl3DView
protected

The Disp3D control.

Definition at line 152 of file abstractview.h.

◆ m_pData3DModel

QSharedPointer<DISP3DLIB::Data3DTreeModel> DISP3DLIB::AbstractView::m_pData3DModel
protected

The Disp3D model.

Definition at line 150 of file abstractview.h.

◆ m_pQuickControlView

QPointer<DISPLIB::QuickControlView> DISP3DLIB::AbstractView::m_pQuickControlView
protected

The quick control view.

Definition at line 153 of file abstractview.h.


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