Version: 9.12.0
MeasureGUI_CreateDimensionDlg::BaseSelectorPane Class Reference

#include <MeasureGUI_CreateDimensionDlg.h>

Inheritance diagram for MeasureGUI_CreateDimensionDlg::BaseSelectorPane:
Inheritance graph

Public Types

typedef QList< TopAbs_ShapeEnum > SelectionModes
 

Public Slots

void OnSelectorClicked ()
 
void OnTabChanged ()
 

Signals

void StartSelection (const QList< TopAbs_ShapeEnum > &theModes)
 
void StopSelection ()
 
void SelectionDone ()
 
void TabChanged ()
 

Public Member Functions

 BaseSelectorPane (QWidget *theParent)
 
void Reset (bool theOpenDefaultTab=false)
 
int ActiveTab () const
 
void SelectionIntoArguments (const GEOM::GeomObjPtr &theSelected)
 
GEOM::GeomObjPtr GetSelection (QLineEdit *theSelector) const
 

Protected Member Functions

void SetTabWidget (QTabWidget *theTabs)
 
void RegisterSelector (QLineEdit *theSelectorEdit, QPushButton *theSelectorButton, const SelectionModes &theSelectorModes, const int theTab=0)
 

Protected Attributes

QTabWidget * myTabs
 
QMap< int, QList< QLineEdit * > > mySelectors
 
QMap< QLineEdit *, QPushButton * > mySelectionButtons
 
QMap< QLineEdit *, SelectionModesmySelectionModes
 
QMap< QLineEdit *, GEOM::GeomObjPtrmySelectedShapes
 
QPixmap mySelectorIcon
 
QLineEdit * myCurrentSelector
 

Member Typedef Documentation

◆ SelectionModes

Constructor & Destructor Documentation

◆ BaseSelectorPane()

MeasureGUI_CreateDimensionDlg::BaseSelectorPane::BaseSelectorPane ( QWidget theParent)

References mySelectorIcon.

Member Function Documentation

◆ ActiveTab()

int MeasureGUI_CreateDimensionDlg::BaseSelectorPane::ActiveTab ( ) const

◆ GetSelection()

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::BaseSelectorPane::GetSelection ( QLineEdit *  theSelector) const

◆ OnSelectorClicked

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::OnSelectorClicked ( )
slot

◆ OnTabChanged

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::OnTabChanged ( )
slot

◆ RegisterSelector()

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::RegisterSelector ( QLineEdit *  theSelectorEdit,
QPushButton *  theSelectorButton,
const SelectionModes theSelectorModes,
const int  theTab = 0 
)
protected

◆ Reset()

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::Reset ( bool  theOpenDefaultTab = false)

◆ SelectionDone

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::SelectionDone ( )
signal

◆ SelectionIntoArguments()

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::SelectionIntoArguments ( const GEOM::GeomObjPtr theSelected)

References GEOMBase::GetName().

◆ SetTabWidget()

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::SetTabWidget ( QTabWidget *  theTabs)
protected

◆ StartSelection

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::StartSelection ( const QList< TopAbs_ShapeEnum > &  theModes)
signal

◆ StopSelection

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::StopSelection ( )
signal

◆ TabChanged

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::TabChanged ( )
signal

Member Data Documentation

◆ myCurrentSelector

QLineEdit* MeasureGUI_CreateDimensionDlg::BaseSelectorPane::myCurrentSelector
protected

◆ mySelectedShapes

QMap<QLineEdit*, GEOM::GeomObjPtr> MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectedShapes
protected

◆ mySelectionButtons

QMap<QLineEdit*, QPushButton*> MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectionButtons
protected

◆ mySelectionModes

QMap<QLineEdit*, SelectionModes> MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectionModes
protected

◆ mySelectorIcon

QPixmap MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectorIcon
protected

◆ mySelectors

QMap< int, QList<QLineEdit*> > MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectors
protected

◆ myTabs

QTabWidget* MeasureGUI_CreateDimensionDlg::BaseSelectorPane::myTabs
protected

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