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

Member Typedef Documentation

Constructor & Destructor Documentation

MeasureGUI_CreateDimensionDlg::BaseSelectorPane::BaseSelectorPane ( QWidget theParent)

References mySelectorIcon.

Member Function Documentation

int MeasureGUI_CreateDimensionDlg::BaseSelectorPane::ActiveTab ( ) const

References NULL.

GEOM::GeomObjPtr MeasureGUI_CreateDimensionDlg::BaseSelectorPane::GetSelection ( QLineEdit *  theSelector) const
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::OnSelectorClicked ( )
slot
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::OnTabChanged ( )
slot
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::RegisterSelector ( QLineEdit *  theSelectorEdit,
QPushButton *  theSelectorButton,
const SelectionModes theSelectorModes,
const int  theTab = 0 
)
protected
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::Reset ( bool  theOpenDefaultTab = false)
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::SelectionDone ( )
signal
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::SelectionIntoArguments ( const GEOM::GeomObjPtr theSelected)

References GEOMBase::GetName().

void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::SetTabWidget ( QTabWidget *  theTabs)
protected
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::StartSelection ( const QList< TopAbs_ShapeEnum > &  theModes)
signal
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::StopSelection ( )
signal
void MeasureGUI_CreateDimensionDlg::BaseSelectorPane::TabChanged ( )
signal

Member Data Documentation

QLineEdit* MeasureGUI_CreateDimensionDlg::BaseSelectorPane::myCurrentSelector
protected
QMap<QLineEdit*, GEOM::GeomObjPtr> MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectedShapes
protected
QMap<QLineEdit*, QPushButton*> MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectionButtons
protected
QMap<QLineEdit*, SelectionModes> MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectionModes
protected
QPixmap MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectorIcon
protected
QMap< int, QList<QLineEdit*> > MeasureGUI_CreateDimensionDlg::BaseSelectorPane::mySelectors
protected
QTabWidget* MeasureGUI_CreateDimensionDlg::BaseSelectorPane::myTabs
protected

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