Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OCCViewer_CreateRestoreViewDlg Class Reference

#include <OCCViewer_CreateRestoreViewDlg.h>

Inheritance diagram for OCCViewer_CreateRestoreViewDlg:
Inheritance graph

Public Slots

void OKpressed ()
 
void clearList ()
 
void editItemText (QListWidgetItem *)
 
void changeImage (QListWidgetItem *)
 
void deleteSelectedItems ()
 

Signals

void dlgOk ()
 

Public Member Functions

 OCCViewer_CreateRestoreViewDlg (QWidget *, OCCViewer_ViewWindow *)
 
virtual ~OCCViewer_CreateRestoreViewDlg ()
 
const viewAspectListparameters () const
 
viewAspect currentItem () const
 

Private Attributes

QListWidgetmyListBox
 
OCCViewer_ViewPort3dmyCurViewPort
 
viewAspect myCurrentItem
 
viewAspectList myParametersMap
 

Constructor & Destructor Documentation

OCCViewer_CreateRestoreViewDlg::OCCViewer_CreateRestoreViewDlg ( QWidget aWin,
OCCViewer_ViewWindow theViewWindow 
)
OCCViewer_CreateRestoreViewDlg::~OCCViewer_CreateRestoreViewDlg ( )
virtual

Destructor

Member Function Documentation

void OCCViewer_CreateRestoreViewDlg::changeImage ( QListWidgetItem *  curItem)
slot
void OCCViewer_CreateRestoreViewDlg::clearList ( )
slot

Clears list of view aspects

References myCurViewPort, myListBox, myParametersMap, and OCCViewer_ViewPort3d::reset().

viewAspect OCCViewer_CreateRestoreViewDlg::currentItem ( ) const
Returns
current view parameters (corresponding to current item)

References myCurrentItem.

void OCCViewer_CreateRestoreViewDlg::deleteSelectedItems ( )
slot

Deletes selected items from list view

References clearList(), myListBox, and myParametersMap.

void OCCViewer_CreateRestoreViewDlg::dlgOk ( )
signal
void OCCViewer_CreateRestoreViewDlg::editItemText ( QListWidgetItem *  anItem)
slot

Renames key of view aspect map in accordance with item name

Parameters
anItem- item

References myParametersMap.

void OCCViewer_CreateRestoreViewDlg::OKpressed ( )
slot

SLOT: called on OK click, emits dlgOk() and closes dialog

References dlgOk().

const viewAspectList & OCCViewer_CreateRestoreViewDlg::parameters ( ) const
Returns
const reference to all view aspects

References myParametersMap.

Member Data Documentation

viewAspect OCCViewer_CreateRestoreViewDlg::myCurrentItem
private
OCCViewer_ViewPort3d* OCCViewer_CreateRestoreViewDlg::myCurViewPort
private
QListWidget* OCCViewer_CreateRestoreViewDlg::myListBox
private
viewAspectList OCCViewer_CreateRestoreViewDlg::myParametersMap
private

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