Version: 9.12.0
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_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::~OCCViewer_SetRotationPointDlg ( )

Member Function Documentation

◆ closeEvent()

void OCCViewer_SetRotationPointDlg::closeEvent ( QCloseEvent *  e)
protected

Custom handling of close event: toggle action

◆ IsFirstShown()

bool OCCViewer_SetRotationPointDlg::IsFirstShown ( )

Return true if it is the first show for this dialog

◆ onBBCenterChecked

void OCCViewer_SetRotationPointDlg::onBBCenterChecked ( )
protectedslot

◆ onClickClose

void OCCViewer_SetRotationPointDlg::onClickClose ( )
protectedslot

◆ onCoordChanged

void OCCViewer_SetRotationPointDlg::onCoordChanged ( )
protectedslot

◆ onSelectMenu

void OCCViewer_SetRotationPointDlg::onSelectMenu ( QAction theAction)
protectedslot

◆ onToOrigin

void OCCViewer_SetRotationPointDlg::onToOrigin ( )
protectedslot

◆ onViewHide

void OCCViewer_SetRotationPointDlg::onViewHide ( )
protectedslot

◆ onViewShow

void OCCViewer_SetRotationPointDlg::onViewShow ( )
protectedslot

◆ SetAction()

void OCCViewer_SetRotationPointDlg::SetAction ( QtxAction theAction)
inline

◆ setCoords()

void OCCViewer_SetRotationPointDlg::setCoords ( double  theX = 0.,
double  theY = 0.,
double  theZ = 0. 
)

◆ setEnabled()

void OCCViewer_SetRotationPointDlg::setEnabled ( QGroupBox theGrp,
const bool  theState 
)
protected

◆ toggleChange()

void OCCViewer_SetRotationPointDlg::toggleChange ( )

Member Data Documentation

◆ myAction

QtxAction* OCCViewer_SetRotationPointDlg::myAction
protected

◆ myGroupBoxCoord

QGroupBox* OCCViewer_SetRotationPointDlg::myGroupBoxCoord
protected

◆ myGroupBoxSel

QGroupBox* OCCViewer_SetRotationPointDlg::myGroupBoxSel
protected

◆ myIsBBCenter

QCheckBox* OCCViewer_SetRotationPointDlg::myIsBBCenter
protected

◆ mySelectActions

QMap<QAction*, TopAbs_ShapeEnum> OCCViewer_SetRotationPointDlg::mySelectActions
protected

◆ mySelectPoint

QPushButton* OCCViewer_SetRotationPointDlg::mySelectPoint
protected

◆ myToOrigin

QPushButton* OCCViewer_SetRotationPointDlg::myToOrigin
protected

◆ myView

OCCViewer_ViewWindow* OCCViewer_SetRotationPointDlg::myView
protected

◆ myX

QLineEdit* OCCViewer_SetRotationPointDlg::myX
protected

◆ myY

QLineEdit* OCCViewer_SetRotationPointDlg::myY
protected

◆ myZ

QLineEdit* OCCViewer_SetRotationPointDlg::myZ
protected

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