Version: 9.12.0
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_AxisWidgetBasecreateAxisWidget (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::ViewerTools_CubeAxesDlgBase ( QtxAction theAction,
QWidget theParent,
const char *  theName 
)

Constructor

◆ ~ViewerTools_CubeAxesDlgBase()

ViewerTools_CubeAxesDlgBase::~ViewerTools_CubeAxesDlgBase ( )
virtual

Destructor

Member Function Documentation

◆ createAxisWidget()

virtual ViewerTools_AxisWidgetBase* ViewerTools_CubeAxesDlgBase::createAxisWidget ( QWidget )
protectedpure virtual

◆ createButtonFrame()

QWidget * ViewerTools_CubeAxesDlgBase::createButtonFrame ( QWidget theParent)
protectedvirtual

Create frame containing buttons

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

◆ createMainFrame()

QWidget * ViewerTools_CubeAxesDlgBase::createMainFrame ( QWidget theParent)
protectedvirtual

Create frame containing dialog's input fields

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

◆ initialize()

void ViewerTools_CubeAxesDlgBase::initialize ( )
virtual

Initialize controls

Reimplemented in OCCViewer_CubeAxesDlg.

References createButtonFrame(), and createMainFrame().

◆ isValid()

bool ViewerTools_CubeAxesDlgBase::isValid ( ) const
protectedvirtual

Verify validity of entry data

◆ onApply

bool ViewerTools_CubeAxesDlgBase::onApply ( )
protectedvirtualslot

Verify validity of entry data

◆ onClose

void ViewerTools_CubeAxesDlgBase::onClose ( )
protectedvirtualslot

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

◆ onOk

void ViewerTools_CubeAxesDlgBase::onOk ( )
protectedvirtualslot

SLOT called when "Ok" button pressed.

References onApply(), and onClose().

◆ Update()

void ViewerTools_CubeAxesDlgBase::Update ( )
virtual

Update dialog fields, connect signals and slots, show dialog

Reimplemented in SVTK_CubeAxesDlg, and OCCViewer_CubeAxesDlg.

Member Data Documentation

◆ myApplyBtn

QPushButton* ViewerTools_CubeAxesDlgBase::myApplyBtn
protected

◆ myAxes

ViewerTools_AxisWidgetBase* ViewerTools_CubeAxesDlgBase::myAxes[3]
protected

◆ myCloseBtn

QPushButton* ViewerTools_CubeAxesDlgBase::myCloseBtn
protected

◆ myIsVisible

QCheckBox* ViewerTools_CubeAxesDlgBase::myIsVisible
protected

◆ myOkBtn

QPushButton* ViewerTools_CubeAxesDlgBase::myOkBtn
protected

◆ myTabWg

QTabWidget* ViewerTools_CubeAxesDlgBase::myTabWg
protected

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