#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 | 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_DlgSkeleton * | mainFrame () |
|
QWidget * | centralWidget () |
|
QPushButton * | buttonCancel () const |
|
QPushButton * | buttonOk () const |
|
QPushButton * | buttonApply () const |
|
QPushButton * | buttonHelp () const |
|
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 PrsList & | getPreview () 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::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 |
|
int | getStudyId () 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::Study_ptr theStudy, 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::GeomObjPtr > | getSourceObjects () |
|
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::GeomObjPtr > | getSelected (TopAbs_ShapeEnum type, int count, bool strict=true) |
|
QList< GEOM::GeomObjPtr > | getSelected (const QList< TopAbs_ShapeEnum > &types, int count, bool strict=true) |
|
void | hideSourceObjects (QList< GEOM::GeomObjPtr > theObjectList) |
|
void | SetIsPreview (const bool thePreview) |
|
bool | IsPreview () |
|
GEOM_Displayer * | getDisplayer () |
|
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 |
|
GEOMBase_Skeleton::GEOMBase_Skeleton |
( |
GeometryGUI * |
theGeometryGUI, |
|
|
QWidget * |
parent = 0 , |
|
|
bool |
modal = false , |
|
|
Qt::WindowFlags |
fl = 0 |
|
) |
| |
References buttonApply(), buttonCancel(), buttonHelp(), buttonOk(), GEOMBase_DlgSkeleton::CheckBoxAddPrefix, GEOMBase_DlgSkeleton::CheckBoxPreview, GEOMBase_DlgSkeleton::CheckBoxRestoreSS, constructorsClicked(), GEOMBase_DlgSkeleton::GroupBoxName, GEOMBase_DlgSkeleton::GroupBoxPublish, Init(), myMainFrame, myRBGroup, GEOMBase_DlgSkeleton::NameLabel, GEOMBase_DlgSkeleton::RadioButton1, GEOMBase_DlgSkeleton::RadioButton2, GEOMBase_DlgSkeleton::RadioButton3, GEOMBase_DlgSkeleton::RadioButton4, and GEOMBase_DlgSkeleton::RadioButton5.
GEOMBase_Skeleton::~GEOMBase_Skeleton |
( |
| ) |
|
void GEOMBase_Skeleton::ActivateThisDialog |
( |
| ) |
|
|
protectedslot |
QPushButton * GEOMBase_Skeleton::buttonApply |
( |
| ) |
const |
|
protected |
QPushButton * GEOMBase_Skeleton::buttonCancel |
( |
| ) |
const |
|
protected |
QPushButton * GEOMBase_Skeleton::buttonHelp |
( |
| ) |
const |
|
protected |
QPushButton * GEOMBase_Skeleton::buttonOk |
( |
| ) |
const |
|
protected |
QWidget * GEOMBase_Skeleton::centralWidget |
( |
| ) |
|
|
protected |
void GEOMBase_Skeleton::ClickOnCancel |
( |
| ) |
|
|
protectedvirtualslot |
void GEOMBase_Skeleton::ClickOnHelp |
( |
| ) |
|
|
protectedvirtualslot |
void GEOMBase_Skeleton::closeEvent |
( |
QCloseEvent * |
e | ) |
|
|
protected |
void GEOMBase_Skeleton::constructorsClicked |
( |
int |
| ) |
|
|
signal |
void GEOMBase_Skeleton::DeactivateActiveDialog |
( |
| ) |
|
|
protectedslot |
int GEOMBase_Skeleton::getConstructorId |
( |
| ) |
const |
|
protected |
returns id of a selected "constructor" radio button or '-1' in case of error
References myRBGroup.
QString GEOMBase_Skeleton::getNewObjectName |
( |
int |
CurrObj = -1 | ) |
const |
|
protectedvirtual |
void GEOMBase_Skeleton::Init |
( |
| ) |
|
|
private |
References buttonCancel(), buttonHelp(), GEOMBase_DlgSkeleton::CheckBoxAddPrefix, GEOMBase_DlgSkeleton::CheckBoxPreview, GEOMBase_DlgSkeleton::CheckBoxRestoreSS, ClickOnCancel(), ClickOnHelp(), DeactivateActiveDialog(), GEOMBase_DlgSkeleton::GroupBoxPublish, myGeomGUI, myMainFrame, processPreview(), GEOMBase_DlgSkeleton::RadioButton1, GEOMBase_DlgSkeleton::RadioButton4, GEOMBase_DlgSkeleton::RadioButton5, and GeometryGUI::SetActiveDialogBox().
void GEOMBase_Skeleton::initName |
( |
const QString & |
thePrefix = QString() | ) |
|
|
protected |
void GEOMBase_Skeleton::initSpinBox |
( |
QSpinBox * |
spinBox, |
|
|
int |
min, |
|
|
int |
max, |
|
|
int |
step = 1 |
|
) |
| |
|
protected |
void GEOMBase_Skeleton::initSpinBox |
( |
SalomeApp_DoubleSpinBox * |
spinBox, |
|
|
double |
min, |
|
|
double |
max, |
|
|
double |
step = 0.1 , |
|
|
const char * |
quantity = "length_precision" |
|
) |
| |
|
protected |
void GEOMBase_Skeleton::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protected |
void GEOMBase_Skeleton::LineEditReturnPressed |
( |
| ) |
|
|
protectedslot |
void GEOMBase_Skeleton::processPreview |
( |
| ) |
|
|
protectedvirtualslot |
void GEOMBase_Skeleton::setConstructorId |
( |
const int |
id | ) |
|
|
protected |
set selected "constructor" radio button id
References myRBGroup.
void GEOMBase_Skeleton::setHelpFileName |
( |
const QString & |
theName | ) |
|
|
protected |
void GEOMBase_Skeleton::showOnlyPreviewControl |
( |
| ) |
|
|
protected |
void GEOMBase_Skeleton::unsetConstructorId |
( |
| ) |
|
|
protected |
unset selection on all "constructor" radio buttons
References it(), and myRBGroup.
void GEOMBase_Skeleton::updateAttributes |
( |
GEOM::GEOM_Object_ptr |
theObj, |
|
|
const QStringList & |
theParameters |
|
) |
| |
|
protected |
QLineEdit* GEOMBase_Skeleton::myEditCurrentArgument |
|
protected |
QString GEOMBase_Skeleton::myHelpContext |
|
protected |
QString GEOMBase_Skeleton::myHelpFileName |
|
protected |
QButtonGroup* GEOMBase_Skeleton::myRBGroup |
|
protected |
The documentation for this class was generated from the following files: