#include <SVTK_CubeAxesDlg.h>

Data Structures | |
| class | AxisWidget |
| Axis tab widget of the "Graduated axis" dialog box. More... | |
Public Member Functions | |
| SVTK_CubeAxesDlg (QtxAction *theAction, SVTK_ViewWindow *theParent, const char *theName) | |
| virtual | ~SVTK_CubeAxesDlg () |
| virtual void | Update () |
| virtual void | initialize () |
Protected Slots | |
| virtual void | onOk () |
| 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 |
Protected Attributes | |
| QTabWidget * | myTabWg |
| QCheckBox * | myIsVisible |
| QPushButton * | myOkBtn |
| QPushButton * | myApplyBtn |
| QPushButton * | myCloseBtn |
| ViewerTools_AxisWidgetBase * | myAxes [3] |
| QtxAction * | myAction |
Private Slots | |
| virtual bool | onApply () |
Private Member Functions | |
| virtual ViewerTools_AxisWidgetBase * | createAxisWidget (QWidget *) |
Private Attributes | |
| SVTK_ViewWindow * | myMainWindow |
| SVTK_CubeAxesActor2D * | myActor |
Class : SVTK_CubeAxesDlg Description : Dialog for specifynig cube axes properties
| SVTK_CubeAxesDlg::SVTK_CubeAxesDlg | ( | QtxAction * | theAction, |
| SVTK_ViewWindow * | theParent, | ||
| const char * | theName | ||
| ) |
Constructor
| SVTK_CubeAxesDlg::~SVTK_CubeAxesDlg | ( | ) | [virtual] |
Destructor
| void SVTK_CubeAxesDlg::Update | ( | ) | [virtual] |
Update dialog fields, connect signals and slots, show dialog
Reimplemented from ViewerTools_CubeAxesDlgBase.
References SVTK_ViewWindow.GetCubeAxes(), myActor, ViewerTools_CubeAxesDlgBase.myAxes, ViewerTools_CubeAxesDlgBase.myIsVisible, and myMainWindow.
| bool SVTK_CubeAxesDlg::onApply | ( | ) | [private, virtual, slot] |
Verify validity of entry data
Reimplemented from ViewerTools_CubeAxesDlgBase.
References myActor, ViewerTools_CubeAxesDlgBase.myAxes, ViewerTools_CubeAxesDlgBase.myIsVisible, myMainWindow, and SVTK_ViewWindow.Repaint().
| ViewerTools_AxisWidgetBase * SVTK_CubeAxesDlg::createAxisWidget | ( | QWidget * | theParent | ) | [private, virtual] |
Create axis widget
Implements ViewerTools_CubeAxesDlgBase.
References ViewerTools_AxisWidgetBase.initialize().
| void ViewerTools_CubeAxesDlgBase::initialize | ( | ) | [virtual, inherited] |
Initialize controls
Reimplemented in OCCViewer_CubeAxesDlg.
References ViewerTools_CubeAxesDlgBase.createButtonFrame(), and ViewerTools_CubeAxesDlgBase.createMainFrame().
| void ViewerTools_CubeAxesDlgBase::onOk | ( | ) | [protected, virtual, slot, inherited] |
SLOT called when "Ok" button pressed.
References ViewerTools_CubeAxesDlgBase.onApply(), and ViewerTools_CubeAxesDlgBase.onClose().
| void ViewerTools_CubeAxesDlgBase::onClose | ( | ) | [protected, virtual, slot, inherited] |
SLOT: called when "Close" button pressed. Close dialog
| QWidget * ViewerTools_CubeAxesDlgBase::createButtonFrame | ( | QWidget * | theParent | ) | [protected, virtual, inherited] |
Create frame containing buttons
References ViewerTools_CubeAxesDlgBase.myApplyBtn, ViewerTools_CubeAxesDlgBase.myCloseBtn, ViewerTools_CubeAxesDlgBase.myOkBtn, ViewerTools_CubeAxesDlgBase.onApply(), ViewerTools_CubeAxesDlgBase.onClose(), and ViewerTools_CubeAxesDlgBase.onOk().
| QWidget * ViewerTools_CubeAxesDlgBase::createMainFrame | ( | QWidget * | theParent | ) | [protected, virtual, inherited] |
Create frame containing dialog's input fields
References ViewerTools_CubeAxesDlgBase.createAxisWidget(), ViewerTools_CubeAxesDlgBase.myAxes, ViewerTools_CubeAxesDlgBase.myIsVisible, and ViewerTools_CubeAxesDlgBase.myTabWg.
| bool ViewerTools_CubeAxesDlgBase::isValid | ( | ) | const [protected, virtual, inherited] |
Verify validity of entry data
| void ViewerTools_DialogBase::onParentShow | ( | ) | [protected, slot, inherited] |
| void ViewerTools_DialogBase::onParentHide | ( | ) | [protected, slot, inherited] |
| void ViewerTools_DialogBase::done | ( | int | r | ) | [protected, virtual, slot, inherited] |
SVTK_ViewWindow* SVTK_CubeAxesDlg.myMainWindow [private] |
SVTK_CubeAxesActor2D* SVTK_CubeAxesDlg.myActor [private] |
QTabWidget* ViewerTools_CubeAxesDlgBase.myTabWg [protected, inherited] |
QCheckBox* ViewerTools_CubeAxesDlgBase.myIsVisible [protected, inherited] |
QPushButton* ViewerTools_CubeAxesDlgBase.myOkBtn [protected, inherited] |
QPushButton* ViewerTools_CubeAxesDlgBase.myApplyBtn [protected, inherited] |
QPushButton* ViewerTools_CubeAxesDlgBase.myCloseBtn [protected, inherited] |
ViewerTools_AxisWidgetBase* ViewerTools_CubeAxesDlgBase.myAxes[3] [protected, inherited] |
QtxAction* ViewerTools_DialogBase.myAction [protected, inherited] |
Reimplemented in SVTK_UpdateRateDlg.