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

#include <OCCViewer_CubeAxesDlg.h>

Inheritance diagram for OCCViewer_CubeAxesDlg:
Inheritance graph

Classes

class  AxisWidget
 Axis tab widget of the "Graduated axis" dialog box. More...
 

Public Member Functions

 OCCViewer_CubeAxesDlg (QtxAction *theAction, OCCViewer_ViewWindow *theParent, const char *theName)
 
virtual ~OCCViewer_CubeAxesDlg ()
 
virtual void initialize ()
 
void GetData (bool &theIsVisible, OCCViewer_AxisWidget::AxisData theAxisData[3])
 
void SetData (bool theIsVisible, OCCViewer_AxisWidget::AxisData theAxisData[3])
 
void ApplyData (const Handle(V3d_View)&theView)
 
virtual void Update ()
 
- Public Member Functions inherited from ViewerTools_CubeAxesDlgBase
 ViewerTools_CubeAxesDlgBase (QtxAction *theAction, QWidget *theParent, const char *theName)
 
virtual ~ViewerTools_CubeAxesDlgBase ()
 
- Public Member Functions inherited from ViewerTools_DialogBase
 ViewerTools_DialogBase (QtxAction *theAction, QWidget *theParent, const char *theName="", bool theModal=false, Qt::WindowFlags theWFalgs=0)
 
 ~ViewerTools_DialogBase ()
 

Private Slots

virtual bool onApply ()
 

Private Member Functions

virtual
ViewerTools_AxisWidgetBase
createAxisWidget (QWidget *)
 

Private Attributes

OCCViewer_ViewWindowmyMainWindow
 

Additional Inherited Members

- Protected Slots inherited from ViewerTools_CubeAxesDlgBase
virtual void onOk ()
 
virtual bool onApply ()
 
virtual void onClose ()
 
- Protected Member Functions inherited from ViewerTools_CubeAxesDlgBase
virtual QWidgetcreateButtonFrame (QWidget *)
 
virtual QWidgetcreateMainFrame (QWidget *)
 
virtual bool isValid () const
 
- Protected Attributes inherited from ViewerTools_CubeAxesDlgBase
QTabWidget * myTabWg
 
QCheckBox * myIsVisible
 
QPushButton * myOkBtn
 
QPushButton * myApplyBtn
 
QPushButton * myCloseBtn
 
ViewerTools_AxisWidgetBasemyAxes [3]
 

Detailed Description

Class : OCCViewer_CubeAxesDlg Description : Dialog for specifynig cube axes properties

Constructor & Destructor Documentation

OCCViewer_CubeAxesDlg::OCCViewer_CubeAxesDlg ( QtxAction theAction,
OCCViewer_ViewWindow theParent,
const char *  theName 
)

Constructor

OCCViewer_CubeAxesDlg::~OCCViewer_CubeAxesDlg ( )
virtual

Destructor

Member Function Documentation

ViewerTools_AxisWidgetBase * OCCViewer_CubeAxesDlg::createAxisWidget ( QWidget theParent)
privatevirtual

Create axis widget

Implements ViewerTools_CubeAxesDlgBase.

References ViewerTools_AxisWidgetBase::initialize().

void OCCViewer_CubeAxesDlg::GetData ( bool &  theIsVisible,
OCCViewer_AxisWidget::AxisData  theAxisData[3] 
)

Get graduated trihedron parameters

References ViewerTools_CubeAxesDlgBase::myAxes, and ViewerTools_CubeAxesDlgBase::myIsVisible.

bool OCCViewer_CubeAxesDlg::onApply ( )
privatevirtualslot
void OCCViewer_CubeAxesDlg::SetData ( bool  theIsVisible,
OCCViewer_AxisWidget::AxisData  theAxisData[3] 
)

Set graduated trihedron parameters

References ViewerTools_CubeAxesDlgBase::myAxes, and ViewerTools_CubeAxesDlgBase::myIsVisible.

void OCCViewer_CubeAxesDlg::Update ( )
virtual

Update dialog fields, connect signals and slots, show dialog

Reimplemented from ViewerTools_CubeAxesDlgBase.

References ViewerTools_CubeAxesDlgBase::Update().

Member Data Documentation

OCCViewer_ViewWindow* OCCViewer_CubeAxesDlg::myMainWindow
private

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