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

#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 ()
 
- 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 ()
 

Protected Slots

virtual void onOk ()
 
virtual bool onApply ()
 
virtual void onClose ()
 
- Protected Slots inherited from ViewerTools_DialogBase
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]
 
- Protected Attributes inherited from ViewerTools_DialogBase
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

virtual ViewerTools_AxisWidgetBase* ViewerTools_CubeAxesDlgBase::createAxisWidget ( QWidget )
protectedpure virtual
QWidget * ViewerTools_CubeAxesDlgBase::createButtonFrame ( QWidget theParent)
protectedvirtual

Create frame containing buttons

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

QWidget * ViewerTools_CubeAxesDlgBase::createMainFrame ( QWidget theParent)
protectedvirtual

Create frame containing dialog's input fields

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

void ViewerTools_CubeAxesDlgBase::initialize ( )
virtual

Initialize controls

Reimplemented in OCCViewer_CubeAxesDlg.

References createButtonFrame(), and createMainFrame().

bool ViewerTools_CubeAxesDlgBase::isValid ( ) const
protectedvirtual

Verify validity of entry data

bool ViewerTools_CubeAxesDlgBase::onApply ( )
protectedvirtualslot

Verify validity of entry data

void ViewerTools_CubeAxesDlgBase::onClose ( )
protectedvirtualslot

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

void ViewerTools_CubeAxesDlgBase::onOk ( )
protectedvirtualslot

SLOT called when "Ok" button pressed.

References onApply(), and onClose().

void ViewerTools_CubeAxesDlgBase::Update ( )
virtual

Update dialog fields, connect signals and slots, show dialog

Reimplemented in OCCViewer_CubeAxesDlg, and SVTK_CubeAxesDlg.

Member Data Documentation

QPushButton* ViewerTools_CubeAxesDlgBase::myApplyBtn
protected
ViewerTools_AxisWidgetBase* ViewerTools_CubeAxesDlgBase::myAxes[3]
protected
QPushButton* ViewerTools_CubeAxesDlgBase::myCloseBtn
protected
QCheckBox* ViewerTools_CubeAxesDlgBase::myIsVisible
protected
QPushButton* ViewerTools_CubeAxesDlgBase::myOkBtn
protected
QTabWidget* ViewerTools_CubeAxesDlgBase::myTabWg
protected

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