Version: 9.12.0
GEOMBase_Skeleton Class Reference

#include <GEOMBase_Skeleton.h>

Inherits QDialog, and GEOMBase_Helper.

Inherited by AdvancedGUI_DividedCylinderDlg, AdvancedGUI_DividedDiskDlg, AdvancedGUI_PipeTShapeDlg, AdvancedGUI_SmoothingSurfaceDlg, BasicGUI_ArcDlg, BasicGUI_CircleDlg, BasicGUI_CurveDlg, BasicGUI_EllipseDlg, BasicGUI_LineDlg, BasicGUI_MarkerDlg, BasicGUI_PlaneDlg, BasicGUI_PointDlg, BasicGUI_VectorDlg, BasicGUI_WorkingPlaneDlg, BlocksGUI_BlockDlg, BlocksGUI_ExplodeDlg, BlocksGUI_PropagateDlg, BlocksGUI_QuadFaceDlg, BlocksGUI_TrsfDlg, BooleanGUI_Dialog, BuildGUI_CompoundDlg, BuildGUI_EdgeDlg, BuildGUI_FaceDlg, BuildGUI_ShellDlg, BuildGUI_SolidDlg, BuildGUI_WireDlg, EntityGUI_3DSketcherDlg, EntityGUI_FeatureDetectorDlg, EntityGUI_FieldDlg, EntityGUI_IsolineDlg, EntityGUI_PictureImportDlg, EntityGUI_PolylineDlg, EntityGUI_SubShapeDlg, EntityGUI_SurfFromFaceDlg, GenerationGUI_FillingDlg, GenerationGUI_PipeDlg, GenerationGUI_PipePathDlg, GenerationGUI_PrismDlg, GenerationGUI_RevolDlg, GenerationGUI_ThicknessDlg, GroupGUI_BooleanDlg, GroupGUI_GroupDlg, MeasureGUI_AnnotationDlg, MeasureGUI_BndBoxDlg, MeasureGUI_CenterMassDlg, MeasureGUI_CheckCompoundOfBlocksDlg, MeasureGUI_CheckSelfIntersectionsDlg, MeasureGUI_CheckShapeDlg, MeasureGUI_CreateDimensionDlg, MeasureGUI_DistanceDlg, MeasureGUI_FastCheckIntersectionsDlg, MeasureGUI_GetNonBlocksDlg, MeasureGUI_ManageDimensionsDlg, MeasureGUI_NormaleDlg, OperationGUI_ArchimedeDlg, OperationGUI_ChamferDlg, OperationGUI_ExtractionDlg, OperationGUI_ExtrudedFeatureDlg, OperationGUI_Fillet1d2dDlg, OperationGUI_FilletDlg, OperationGUI_GetShapesOnShapeDlg, OperationGUI_GetSharedShapesDlg, OperationGUI_MaterialDlg, OperationGUI_PartitionDlg, OperationGUI_TransferDataDlg, PrimitiveGUI_BoxDlg, PrimitiveGUI_ConeDlg, PrimitiveGUI_CylinderDlg, PrimitiveGUI_DiskDlg, PrimitiveGUI_FaceDlg, PrimitiveGUI_SphereDlg, PrimitiveGUI_TorusDlg, RepairGUI_ChangeOrientationDlg, RepairGUI_CloseContourDlg, RepairGUI_DivideEdgeDlg, RepairGUI_FreeBoundDlg, RepairGUI_FreeFacesDlg, RepairGUI_FuseEdgesDlg, RepairGUI_GlueDlg, RepairGUI_LimitToleranceDlg, RepairGUI_RemoveExtraEdgesDlg, RepairGUI_RemoveHolesDlg, RepairGUI_RemoveIntWiresDlg, RepairGUI_RemoveWebsDlg, RepairGUI_SewingDlg, RepairGUI_ShapeProcessDlg, RepairGUI_SuppressFacesDlg, RepairGUI_UnionFacesDlg, TransformationGUI_ExtensionDlg, TransformationGUI_MirrorDlg, TransformationGUI_MultiRotationDlg, TransformationGUI_MultiTranslationDlg, TransformationGUI_OffsetDlg, TransformationGUI_PositionDlg, TransformationGUI_ProjectionDlg, TransformationGUI_ProjectionOnCylDlg, TransformationGUI_RotationDlg, TransformationGUI_ScaleDlg, TransformationGUI_TranslationDlg, XAOPlugin_ExportDlg, and XAOPlugin_ImportDlg.


void constructorsClicked (int)

Public Member Functions

 GEOMBase_Skeleton (GeometryGUI *, QWidget *=0, bool=false, Qt::WindowFlags=0)
 ~GEOMBase_Skeleton ()
- Public Member Functions inherited from GEOMBase_Helper
 GEOMBase_Helper (SUIT_Desktop *, SUIT_ViewWindow *aVW=0)
virtual ~GEOMBase_Helper ()

Protected Slots

virtual void ClickOnCancel ()
virtual void processPreview ()
void LineEditReturnPressed ()
void DeactivateActiveDialog ()
void ActivateThisDialog ()
virtual void ClickOnHelp ()

Protected Member Functions

void initSpinBox (QSpinBox *, int, int, int=1)
void initSpinBox (SalomeApp_DoubleSpinBox *, double, double, double=0.1, const char *="length_precision")
void updateAttributes (GEOM::GEOM_Object_ptr, const QStringList &)
void closeEvent (QCloseEvent *)
void keyPressEvent (QKeyEvent *)
void initName (const QString &=QString())
virtual QString getNewObjectName (int CurrObj=-1) const
int getConstructorId () const
void setConstructorId (const int)
void unsetConstructorId ()
void showOnlyPreviewControl ()
void setHelpFileName (const QString &)
GEOMBase_DlgSkeletonmainFrame ()
QWidgetcentralWidget ()
QPushButton * buttonCancel () const
QPushButton * buttonOk () const
QPushButton * buttonApply () const
QPushButton * buttonHelp () const
- Protected Member Functions inherited from GEOMBase_Helper
void display (const ObjectList &, const bool=true)
void display (GEOM::GEOM_Object_ptr, const bool=true)
void erase (const ObjectList &, const bool=true)
void erase (GEOM::GEOM_Object_ptr, const bool=true)
void redisplay (const ObjectList &, const bool=true, const bool=true)
void redisplay (GEOM::GEOM_Object_ptr, const bool=true, const bool=true)
virtual void displayPreview (const bool display, const bool activate=false, const bool update=true, const bool toRemoveFromEngine=true, const double lineWidth=-1, const int displayMode=-1, const int color=-1, const bool append=false)
virtual void displayPreview (GEOM::GEOM_Object_ptr obj, const bool append=false, const bool activate=false, const bool update=true, const double lineWidth=-1, const int displayMode=-1, const int color=-1)
void displayPreview (const SALOME_Prs *prs, const bool append=false, const bool=true)
void erasePreview (const bool=true)
const PrsListgetPreview () const
void localSelection (const ObjectList &, const std::list< int >)
void localSelection (const ObjectList &, const int)
void localSelection (GEOM::GEOM_Object_ptr, const std::list< int >)
void localSelection (GEOM::GEOM_Object_ptr, const int)
void localSelection (const std::string &, const std::string &, const std::list< int >)
void localSelection (const std::list< int >)
void localSelection (const int)
void activate (const int)
void globalSelection (const int=GEOM_ALLOBJECTS, const bool=false)
void globalSelection (const TColStd_MapOfInteger &, const bool=false)
void globalSelection (const TColStd_MapOfInteger &, const QList< int > &, const bool=false)
void updateViewer ()
void prepareSelection (const ObjectList &, const int)
void prepareSelection (GEOM::GEOM_Object_ptr, const int)
QString addInStudy (GEOM::GEOM_Object_ptr, const char *theName)
bool openCommand ()
bool abortCommand ()
bool commitCommand (const char *=0)
bool hasCommand () const
void updateObjBrowser () const
SalomeApp_Study * getStudy () const
bool checkViewWindow ()
bool onAccept (const bool publish=true, const bool useTransaction=true, bool erasePreviewFlag=true)
void showError ()
void showError (const QString &msg)
GEOM::GEOM_IOperations_ptr getOperation ()
void setPrefix (const QString &prefix)
QString getPrefix (GEOM::GEOM_Object_ptr=GEOM::GEOM_Object::_nil()) const
bool selectObjects (ObjectList &objects)
virtual GEOM::GEOM_IOperations_ptr createOperation ()
virtual bool isValid (QString &msg)
virtual bool execute (ObjectList &objects)
virtual void restoreSubShapes (SALOMEDS::SObject_ptr theSObject)
virtual GEOM::GEOM_Object_ptr getFather (GEOM::GEOM_Object_ptr theObj)
virtual QString getObjectName (GEOM::GEOM_Object_ptr object) const
virtual bool extractPrefix () const
virtual void addSubshapesToStudy ()
virtual QList< GEOM::GeomObjPtrgetSourceObjects ()
GEOM::GEOM_Object_ptr findObjectInFather (GEOM::GEOM_Object_ptr theFather, const QString &theName)
GEOM::GEOM_Object_ptr findObjectInFather (GEOM::GEOM_Object_ptr theFather, int theIndex)
GEOM::GeomObjPtr getSelected (TopAbs_ShapeEnum type)
GEOM::GeomObjPtr getSelected (const QList< TopAbs_ShapeEnum > &types)
QList< GEOM::GeomObjPtrgetSelected (TopAbs_ShapeEnum type, int count, bool strict=true)
QList< GEOM::GeomObjPtrgetSelected (const QList< TopAbs_ShapeEnum > &types, int count, bool strict=true)
void hideSourceObjects (QList< GEOM::GeomObjPtr > theObjectList)
void SetIsPreview (const bool thePreview)
bool IsPreview ()
GEOM_DisplayergetDisplayer ()
SUIT_Desktop * getDesktop () const
virtual void setIsApplyAndClose (const bool theFlag)
virtual bool isApplyAndClose () const
virtual void setIsOptimizedBrowsing (const bool theFlag)
virtual bool isOptimizedBrowsing () const
virtual void setIsWaitCursorEnabled (const bool theFlag)
virtual bool isWaitCursorEnabled () const
virtual void setIsDisableBrowsing (const bool theFlag)
virtual bool isDisableBrowsing () const
virtual void setIsDisplayResult (const bool theFlag)
virtual bool isDisplayResult () const

Protected Attributes

QLineEdit * myEditCurrentArgument
 Current LineEdit. More...
 reference GEOM GUI More...
QString myHelpFileName
 Associated HTML help file name. More...
QButtonGroup * myRBGroup
 radio button group More...
 dialog box's mainframe widget More...
QString myHelpContext
 Help context, needed for the customization path where located plugins help HTML pages. More...

Private Member Functions

void Init ()

Additional Inherited Members

- Static Public Member Functions inherited from GEOMBase_Helper
static SUIT_ViewWindow * getActiveView ()
- Protected Types inherited from GEOMBase_Helper
typedef std::list< SALOME_Prs * > PrsList
- Static Protected Member Functions inherited from GEOMBase_Helper
static GEOM::GEOM_Gen_ptr getGeomEngine ()

Constructor & Destructor Documentation

◆ GEOMBase_Skeleton()

◆ ~GEOMBase_Skeleton()

GEOMBase_Skeleton::~GEOMBase_Skeleton ( )

Member Function Documentation

◆ ActivateThisDialog

void GEOMBase_Skeleton::ActivateThisDialog ( )

◆ buttonApply()

QPushButton * GEOMBase_Skeleton::buttonApply ( ) const

◆ buttonCancel()

QPushButton * GEOMBase_Skeleton::buttonCancel ( ) const

◆ buttonHelp()

QPushButton * GEOMBase_Skeleton::buttonHelp ( ) const

◆ buttonOk()

QPushButton * GEOMBase_Skeleton::buttonOk ( ) const

◆ centralWidget()

QWidget * GEOMBase_Skeleton::centralWidget ( )

◆ ClickOnCancel

void GEOMBase_Skeleton::ClickOnCancel ( )

◆ ClickOnHelp

void GEOMBase_Skeleton::ClickOnHelp ( )

◆ closeEvent()

void GEOMBase_Skeleton::closeEvent ( QCloseEvent *  e)

References myGeomGUI.

◆ constructorsClicked

void GEOMBase_Skeleton::constructorsClicked ( int  )

◆ DeactivateActiveDialog

void GEOMBase_Skeleton::DeactivateActiveDialog ( )

◆ getConstructorId()

int GEOMBase_Skeleton::getConstructorId ( ) const

returns id of a selected "constructor" radio button or '-1' in case of error

References myRBGroup.

◆ getNewObjectName()

QString GEOMBase_Skeleton::getNewObjectName ( int  CurrObj = -1) const

returns contents of "Name" field

Reimplemented from GEOMBase_Helper.

Reimplemented in RepairGUI_FreeBoundDlg, MeasureGUI_DistanceDlg, EntityGUI_SubShapeDlg, and BlocksGUI_ExplodeDlg.

References myMainFrame, and GEOMBase_DlgSkeleton::ResultName.

◆ Init()

◆ initName()

void GEOMBase_Skeleton::initName ( const QString &  thePrefix = QString())

initialize "Name" field with a string "thePrefix_X" (Vertex_3)

References GEOMBase::GetDefaultName(), GEOMBase_Helper::getPrefix(), myMainFrame, GEOMBase_DlgSkeleton::ResultName, and GEOMBase_Helper::setPrefix().

◆ initSpinBox() [1/2]

void GEOMBase_Skeleton::initSpinBox ( QSpinBox *  spinBox,
int  min,
int  max,
int  step = 1 

◆ initSpinBox() [2/2]

void GEOMBase_Skeleton::initSpinBox ( SalomeApp_DoubleSpinBox *  spinBox,
double  min,
double  max,
double  step = 0.1,
const char *  quantity = "length_precision" 

◆ keyPressEvent()

void GEOMBase_Skeleton::keyPressEvent ( QKeyEvent *  e)

References ClickOnHelp().

◆ LineEditReturnPressed

void GEOMBase_Skeleton::LineEditReturnPressed ( )

◆ mainFrame()

GEOMBase_DlgSkeleton * GEOMBase_Skeleton::mainFrame ( )

References myMainFrame.

◆ processPreview

void GEOMBase_Skeleton::processPreview ( )

◆ setConstructorId()

void GEOMBase_Skeleton::setConstructorId ( const int  id)

set selected "constructor" radio button id

References myRBGroup.

◆ setHelpFileName()

void GEOMBase_Skeleton::setHelpFileName ( const QString &  theName)

References myHelpFileName.

◆ showOnlyPreviewControl()

void GEOMBase_Skeleton::showOnlyPreviewControl ( )

◆ unsetConstructorId()

void GEOMBase_Skeleton::unsetConstructorId ( )

unset selection on all "constructor" radio buttons

References myRBGroup.

◆ updateAttributes()

void GEOMBase_Skeleton::updateAttributes ( GEOM::GEOM_Object_ptr  theObj,
const QStringList &  theParameters 

Member Data Documentation

◆ myEditCurrentArgument

QLineEdit* GEOMBase_Skeleton::myEditCurrentArgument

◆ myGeomGUI

GeometryGUI* GEOMBase_Skeleton::myGeomGUI

◆ myHelpContext

QString GEOMBase_Skeleton::myHelpContext

◆ myHelpFileName

QString GEOMBase_Skeleton::myHelpFileName

◆ myMainFrame

GEOMBase_DlgSkeleton* GEOMBase_Skeleton::myMainFrame

◆ myRBGroup

QButtonGroup* GEOMBase_Skeleton::myRBGroup

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