Version: 6.3.1
Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes

OCCViewer_SetRotationPointDlg Class Reference

#include <OCCViewer_SetRotationPointDlg.h>

Inheritance diagram for OCCViewer_SetRotationPointDlg:
Inheritance graph

Public Member Functions

 OCCViewer_SetRotationPointDlg (OCCViewer_ViewWindow *, const char *name=0, bool modal=FALSE, Qt::WindowFlags fl=0)
 ~OCCViewer_SetRotationPointDlg ()
void SetAction (QtxAction *theAction)
bool IsFirstShown ()
void setCoords (double theX=0., double theY=0., double theZ=0.)
void toggleChange ()

Protected Slots

void onBBCenterChecked ()
void onToOrigin ()
void onSelectPoint ()
void onCoordChanged ()
void onClickClose ()
void onViewShow ()
void onViewHide ()

Protected Member Functions

void setEnabled (QGroupBox *theGrp, const bool theState)
void closeEvent (QCloseEvent *)

Protected Attributes

OCCViewer_ViewWindowmyView
QtxActionmyAction
QCheckBox * myIsBBCenter
QGroupBoxmyGroupBoxSel
QPushButton * myToOrigin
QPushButton * mySelectPoint
QGroupBoxmyGroupBoxCoord
QLineEditmyX
QLineEditmyY
QLineEditmyZ

Constructor & Destructor Documentation

OCCViewer_SetRotationPointDlg::OCCViewer_SetRotationPointDlg ( OCCViewer_ViewWindow view,
const char *  name = 0,
bool  modal = FALSE,
Qt::WindowFlags  fl = 0 
)

Constructor

Parameters:
view- view window
parent- parent widget
name- dialog name
modal- is this dialog modal
fl- flags

References myGroupBoxCoord, myGroupBoxSel, myIsBBCenter, mySelectPoint, myToOrigin, myX, myY, myZ, onBBCenterChecked(), onClickClose(), onCoordChanged(), onSelectPoint(), onToOrigin(), onViewHide(), onViewShow(), and setEnabled().

OCCViewer_SetRotationPointDlg::~OCCViewer_SetRotationPointDlg ( )

Member Function Documentation

void OCCViewer_SetRotationPointDlg.SetAction ( QtxAction theAction)
bool OCCViewer_SetRotationPointDlg::IsFirstShown ( )

Return true if it is the first show for this dialog

void OCCViewer_SetRotationPointDlg::setCoords ( double  theX = 0.,
double  theY = 0.,
double  theZ = 0. 
)
void OCCViewer_SetRotationPointDlg::toggleChange ( )
void OCCViewer_SetRotationPointDlg::setEnabled ( QGroupBox theGrp,
const bool  theState 
) [protected]
void OCCViewer_SetRotationPointDlg::onBBCenterChecked ( ) [protected, slot]
void OCCViewer_SetRotationPointDlg::onToOrigin ( ) [protected, slot]
void OCCViewer_SetRotationPointDlg::onSelectPoint ( ) [protected, slot]
void OCCViewer_SetRotationPointDlg::onCoordChanged ( ) [protected, slot]
void OCCViewer_SetRotationPointDlg::onClickClose ( ) [protected, slot]
void OCCViewer_SetRotationPointDlg::onViewShow ( ) [protected, slot]
void OCCViewer_SetRotationPointDlg::onViewHide ( ) [protected, slot]
void OCCViewer_SetRotationPointDlg::closeEvent ( QCloseEvent *  e) [protected]

Custom handling of close event: toggle action


Field Documentation

QPushButton* OCCViewer_SetRotationPointDlg.myToOrigin [protected]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS