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

ViewerTools_CubeAxesDlgBase Class Reference

#include <ViewerTools_CubeAxesDlgBase.h>

Inheritance diagram for ViewerTools_CubeAxesDlgBase:
Inheritance graph

Public Member Functions

 ViewerTools_CubeAxesDlgBase (QtxAction *theAction, QWidget *theParent, const char *theName)
virtual ~ViewerTools_CubeAxesDlgBase ()
virtual void initialize ()
virtual void Update ()

Protected Slots

virtual void onOk ()
virtual bool onApply ()
virtual void onClose ()
void onParentShow ()
void onParentHide ()
virtual void done (int)

Protected Member Functions

virtual QWidgetcreateButtonFrame (QWidget *)
virtual QWidgetcreateMainFrame (QWidget *)
virtual bool isValid () const
virtual
ViewerTools_AxisWidgetBase
createAxisWidget (QWidget *)=0

Protected Attributes

QTabWidget * myTabWg
QCheckBox * myIsVisible
QPushButton * myOkBtn
QPushButton * myApplyBtn
QPushButton * myCloseBtn
ViewerTools_AxisWidgetBasemyAxes [3]
QtxActionmyAction

Detailed Description

Class : ViewerTools_CubeAxesDlgBase Description : Dialog for specifying cube axes properties


Constructor & Destructor Documentation

ViewerTools_CubeAxesDlgBase::ViewerTools_CubeAxesDlgBase ( QtxAction theAction,
QWidget theParent,
const char *  theName 
)

Constructor

ViewerTools_CubeAxesDlgBase::~ViewerTools_CubeAxesDlgBase ( ) [virtual]

Destructor


Member Function Documentation

void ViewerTools_CubeAxesDlgBase::initialize ( ) [virtual]

Initialize controls

Reimplemented in OCCViewer_CubeAxesDlg.

References createButtonFrame(), and createMainFrame().

void ViewerTools_CubeAxesDlgBase::Update ( ) [virtual]

Update dialog fields, connect signals and slots, show dialog

Reimplemented in OCCViewer_CubeAxesDlg, and SVTK_CubeAxesDlg.

void ViewerTools_CubeAxesDlgBase::onOk ( ) [protected, virtual, slot]

SLOT called when "Ok" button pressed.

References onApply(), and onClose().

bool ViewerTools_CubeAxesDlgBase::onApply ( ) [protected, virtual, slot]

Verify validity of entry data

Reimplemented in OCCViewer_CubeAxesDlg, and SVTK_CubeAxesDlg.

void ViewerTools_CubeAxesDlgBase::onClose ( ) [protected, virtual, slot]

SLOT: called when "Close" button pressed. Close dialog

QWidget * ViewerTools_CubeAxesDlgBase::createButtonFrame ( QWidget theParent) [protected, virtual]

Create frame containing buttons

References myApplyBtn, myCloseBtn, myOkBtn, onApply(), onClose(), and onOk().

QWidget * ViewerTools_CubeAxesDlgBase::createMainFrame ( QWidget theParent) [protected, virtual]

Create frame containing dialog's input fields

References createAxisWidget(), myAxes, myIsVisible, and myTabWg.

bool ViewerTools_CubeAxesDlgBase::isValid ( ) const [protected, virtual]

Verify validity of entry data

virtual ViewerTools_AxisWidgetBase* ViewerTools_CubeAxesDlgBase.createAxisWidget ( QWidget ) [protected, pure virtual]
void ViewerTools_DialogBase::onParentShow ( ) [protected, slot, inherited]
void ViewerTools_DialogBase::onParentHide ( ) [protected, slot, inherited]
void ViewerTools_DialogBase::done ( int  r) [protected, virtual, slot, inherited]

Field Documentation

QTabWidget* ViewerTools_CubeAxesDlgBase.myTabWg [protected]
QPushButton* ViewerTools_CubeAxesDlgBase.myOkBtn [protected]
QPushButton* ViewerTools_CubeAxesDlgBase.myApplyBtn [protected]
QPushButton* ViewerTools_CubeAxesDlgBase.myCloseBtn [protected]
QtxAction* ViewerTools_DialogBase.myAction [protected, inherited]

Reimplemented in SVTK_UpdateRateDlg.

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