Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 onSelectMenu (QAction *)
 
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
 
QMap< QAction *, TopAbs_ShapeEnum > mySelectActions
 
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, mySelectActions, mySelectPoint, myToOrigin, myX, myY, myZ, onBBCenterChecked(), onClickClose(), onCoordChanged(), onSelectMenu(), onToOrigin(), onViewHide(), onViewShow(), and setEnabled().

OCCViewer_SetRotationPointDlg::~OCCViewer_SetRotationPointDlg ( )

Member Function Documentation

void OCCViewer_SetRotationPointDlg::closeEvent ( QCloseEvent *  e)
protected

Custom handling of close event: toggle action

bool OCCViewer_SetRotationPointDlg::IsFirstShown ( )

Return true if it is the first show for this dialog

void OCCViewer_SetRotationPointDlg::onBBCenterChecked ( )
protectedslot
void OCCViewer_SetRotationPointDlg::onClickClose ( )
protectedslot
void OCCViewer_SetRotationPointDlg::onCoordChanged ( )
protectedslot
void OCCViewer_SetRotationPointDlg::onSelectMenu ( QAction theAction)
protectedslot
void OCCViewer_SetRotationPointDlg::onToOrigin ( )
protectedslot
void OCCViewer_SetRotationPointDlg::onViewHide ( )
protectedslot
void OCCViewer_SetRotationPointDlg::onViewShow ( )
protectedslot
void OCCViewer_SetRotationPointDlg::SetAction ( QtxAction theAction)
inline
void OCCViewer_SetRotationPointDlg::setCoords ( double  theX = 0.,
double  theY = 0.,
double  theZ = 0. 
)
void OCCViewer_SetRotationPointDlg::setEnabled ( QGroupBox theGrp,
const bool  theState 
)
protected
void OCCViewer_SetRotationPointDlg::toggleChange ( )

Member Data Documentation

QtxAction* OCCViewer_SetRotationPointDlg::myAction
protected
QGroupBox* OCCViewer_SetRotationPointDlg::myGroupBoxCoord
protected
QGroupBox* OCCViewer_SetRotationPointDlg::myGroupBoxSel
protected
QCheckBox* OCCViewer_SetRotationPointDlg::myIsBBCenter
protected
QMap<QAction*, TopAbs_ShapeEnum> OCCViewer_SetRotationPointDlg::mySelectActions
protected
QPushButton* OCCViewer_SetRotationPointDlg::mySelectPoint
protected
QPushButton* OCCViewer_SetRotationPointDlg::myToOrigin
protected
OCCViewer_ViewWindow* OCCViewer_SetRotationPointDlg::myView
protected
QLineEdit* OCCViewer_SetRotationPointDlg::myX
protected
QLineEdit* OCCViewer_SetRotationPointDlg::myY
protected
QLineEdit* OCCViewer_SetRotationPointDlg::myZ
protected

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