Version: 9.12.0
MeasureGUI_CreateDimensionDlg::LengthPane Class Reference

#include <MeasureGUI_CreateDimensionDlg.h>

Inheritance diagram for MeasureGUI_CreateDimensionDlg::LengthPane:
Inheritance graph

Public Types

enum  TabID { TabID_SingleEdge , TabID_TwoPoints , TabID_ParallelEdges }
 
- Public Types inherited from MeasureGUI_CreateDimensionDlg::BaseSelectorPane
typedef QList< TopAbs_ShapeEnum > SelectionModes
 

Public Member Functions

 LengthPane (QWidget *theParent)
 
GEOM::GeomObjPtr GetSingleEdge () const
 
GEOM::GeomObjPtr GetPoint1 () const
 
GEOM::GeomObjPtr GetPoint2 () const
 
GEOM::GeomObjPtr GetEdge1 () const
 
GEOM::GeomObjPtr GetEdge2 () const
 
- Public Member Functions inherited from MeasureGUI_CreateDimensionDlg::BaseSelectorPane
 BaseSelectorPane (QWidget *theParent)
 
void Reset (bool theOpenDefaultTab=false)
 
int ActiveTab () const
 
void SelectionIntoArguments (const GEOM::GeomObjPtr &theSelected)
 
GEOM::GeomObjPtr GetSelection (QLineEdit *theSelector) const
 

Private Attributes

QTabWidget * myTabs
 
MeasureGUI_1Sel_FramemySingleEdgeSelectors
 
MeasureGUI_2Sel_FramemyTwoPointsSelectors
 
MeasureGUI_2Sel_FramemyParallelEdgesSelectors
 

Additional Inherited Members

- Public Slots inherited from MeasureGUI_CreateDimensionDlg::BaseSelectorPane
void OnSelectorClicked ()
 
void OnTabChanged ()
 
- Signals inherited from MeasureGUI_CreateDimensionDlg::BaseSelectorPane
void StartSelection (const QList< TopAbs_ShapeEnum > &theModes)
 
void StopSelection ()
 
void SelectionDone ()
 
void TabChanged ()
 
- Protected Member Functions inherited from MeasureGUI_CreateDimensionDlg::BaseSelectorPane
void SetTabWidget (QTabWidget *theTabs)
 
void RegisterSelector (QLineEdit *theSelectorEdit, QPushButton *theSelectorButton, const SelectionModes &theSelectorModes, const int theTab=0)
 
- Protected Attributes inherited from MeasureGUI_CreateDimensionDlg::BaseSelectorPane
QTabWidget * myTabs
 
QMap< int, QList< QLineEdit * > > mySelectors
 
QMap< QLineEdit *, QPushButton * > mySelectionButtons
 
QMap< QLineEdit *, SelectionModesmySelectionModes
 
QMap< QLineEdit *, GEOM::GeomObjPtrmySelectedShapes
 
QPixmap mySelectorIcon
 
QLineEdit * myCurrentSelector
 

Member Enumeration Documentation

◆ TabID

Enumerator
TabID_SingleEdge 
TabID_TwoPoints 
TabID_ParallelEdges 

Constructor & Destructor Documentation

◆ LengthPane()

Member Function Documentation

◆ GetEdge1()

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetEdge1 ( ) const
inline

◆ GetEdge2()

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetEdge2 ( ) const
inline

◆ GetPoint1()

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetPoint1 ( ) const
inline

◆ GetPoint2()

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetPoint2 ( ) const
inline

◆ GetSingleEdge()

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetSingleEdge ( ) const
inline

Member Data Documentation

◆ myParallelEdgesSelectors

MeasureGUI_2Sel_Frame* MeasureGUI_CreateDimensionDlg::LengthPane::myParallelEdgesSelectors
private

◆ mySingleEdgeSelectors

MeasureGUI_1Sel_Frame* MeasureGUI_CreateDimensionDlg::LengthPane::mySingleEdgeSelectors
private

◆ myTabs

QTabWidget* MeasureGUI_CreateDimensionDlg::LengthPane::myTabs
private

◆ myTwoPointsSelectors

MeasureGUI_2Sel_Frame* MeasureGUI_CreateDimensionDlg::LengthPane::myTwoPointsSelectors
private

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