#include <ViewerTools_CubeAxesDlgBase.h>

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 QWidget * | createButtonFrame (QWidget *) |
| virtual QWidget * | createMainFrame (QWidget *) |
| virtual bool | isValid () const |
| virtual ViewerTools_AxisWidgetBase * | createAxisWidget (QWidget *)=0 |
Protected Attributes | |
| QTabWidget * | myTabWg |
| QCheckBox * | myIsVisible |
| QPushButton * | myOkBtn |
| QPushButton * | myApplyBtn |
| QPushButton * | myCloseBtn |
| ViewerTools_AxisWidgetBase * | myAxes [3] |
| QtxAction * | myAction |
Class : ViewerTools_CubeAxesDlgBase Description : Dialog for specifying cube axes properties
| ViewerTools_CubeAxesDlgBase::ViewerTools_CubeAxesDlgBase | ( | QtxAction * | theAction, |
| QWidget * | theParent, | ||
| const char * | theName | ||
| ) |
Constructor
| ViewerTools_CubeAxesDlgBase::~ViewerTools_CubeAxesDlgBase | ( | ) | [virtual] |
Destructor
| 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] |
| 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().
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] |
Implemented in OCCViewer_CubeAxesDlg, and SVTK_CubeAxesDlg.
| void ViewerTools_DialogBase::onParentShow | ( | ) | [protected, slot, inherited] |
| void ViewerTools_DialogBase::onParentHide | ( | ) | [protected, slot, inherited] |
| void ViewerTools_DialogBase::done | ( | int | r | ) | [protected, virtual, slot, inherited] |
QTabWidget* ViewerTools_CubeAxesDlgBase.myTabWg [protected] |
QCheckBox* ViewerTools_CubeAxesDlgBase.myIsVisible [protected] |
QPushButton* ViewerTools_CubeAxesDlgBase.myOkBtn [protected] |
QPushButton* ViewerTools_CubeAxesDlgBase.myApplyBtn [protected] |
QPushButton* ViewerTools_CubeAxesDlgBase.myCloseBtn [protected] |
ViewerTools_AxisWidgetBase* ViewerTools_CubeAxesDlgBase.myAxes[3] [protected] |
QtxAction* ViewerTools_DialogBase.myAction [protected, inherited] |
Reimplemented in SVTK_UpdateRateDlg.