Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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::GeomObjPtr
mySelectedShapes
 
QPixmap mySelectorIcon
 
QLineEdit * myCurrentSelector
 

Member Enumeration Documentation

Enumerator
TabID_SingleEdge 
TabID_TwoPoints 
TabID_ParallelEdges 

Constructor & Destructor Documentation

Member Function Documentation

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetEdge1 ( ) const
inline
GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetEdge2 ( ) const
inline
GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetPoint1 ( ) const
inline
GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetPoint2 ( ) const
inline
GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::LengthPane::GetSingleEdge ( ) const
inline

Member Data Documentation

MeasureGUI_2Sel_Frame* MeasureGUI_CreateDimensionDlg::LengthPane::myParallelEdgesSelectors
private
MeasureGUI_1Sel_Frame* MeasureGUI_CreateDimensionDlg::LengthPane::mySingleEdgeSelectors
private
QTabWidget* MeasureGUI_CreateDimensionDlg::LengthPane::myTabs
private
MeasureGUI_2Sel_Frame* MeasureGUI_CreateDimensionDlg::LengthPane::myTwoPointsSelectors
private

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