Version: 6.3.1
Signals | Public Member Functions | Protected Slots | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Slots | Private Member Functions | Private Attributes

RepairGUI_SuppressFacesDlg Class Reference

#include <RepairGUI_SuppressFacesDlg.h>

Inheritance diagram for RepairGUI_SuppressFacesDlg:
Inheritance graph

Signals

void constructorsClicked (int)

Public Member Functions

 RepairGUI_SuppressFacesDlg (GeometryGUI *, QWidget *=0, bool=false)
 ~RepairGUI_SuppressFacesDlg ()

Protected Slots

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

Protected Member Functions

virtual GEOM::GEOM_IOperations_ptr createOperation ()
virtual bool isValid (QString &)
virtual bool execute (ObjectList &)
virtual void restoreSubShapes (SALOMEDS::Study_ptr, SALOMEDS::SObject_ptr)
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 () const
int getConstructorId () const
void setConstructorId (const int)
void unsetConstructorId ()
void showOnlyPreviewControl ()
void setHelpFileName (const QString &)
DlgRef_SkeletonmainFrame ()
QWidgetcentralWidget ()
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)
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)
void localSelection (const ObjectList &, const int)
void localSelection (GEOM::GEOM_Object_ptr, 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)
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_Object_ptr getFather (GEOM::GEOM_Object_ptr theObj)
virtual bool extractPrefix () const
virtual void addSubshapesToStudy ()
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 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

Static Protected Member Functions

static GEOM::GEOM_Gen_ptr getGeomEngine ()

Protected Attributes

QLineEdit * myEditCurrentArgument
 Current LineEdit.
GeometryGUImyGeomGUI
 reference GEOM GUI
QString myHelpFileName
 Associated HTML help file name.
QButtonGroup * myRBGroup
 radio button group
DlgRef_SkeletonmyMainFrame
 dialog box's mainframe widgetx

Private Slots

void ClickOnOk ()
bool ClickOnApply ()
void ActivateThisDialog ()
void LineEditReturnPressed ()
void SelectionIntoArgument ()
void SetEditCurrentArgument ()

Private Member Functions

void Init ()
void enterEvent (QEvent *)
void initSelection ()

Private Attributes

GEOM::GEOM_Object_var myObject
GEOM::short_array_var myFacesInd
DlgRef_2SelGroupArgs

Constructor & Destructor Documentation

RepairGUI_SuppressFacesDlg::RepairGUI_SuppressFacesDlg ( GeometryGUI theGeometryGUI,
QWidget parent = 0,
bool  modal = false 
)
RepairGUI_SuppressFacesDlg::~RepairGUI_SuppressFacesDlg ( )

Member Function Documentation

GEOM::GEOM_IOperations_ptr RepairGUI_SuppressFacesDlg::createOperation ( ) [protected, virtual]
bool RepairGUI_SuppressFacesDlg::isValid ( QString &  ) [protected, virtual]

Reimplemented from GEOMBase_Helper.

References GEOMBase.GetShape(), myFacesInd, and myObject.

bool RepairGUI_SuppressFacesDlg::execute ( ObjectList objects) [protected, virtual]

Reimplemented from GEOMBase_Helper.

References GEOMBase_Helper.getOperation(), myFacesInd, and myObject.

void RepairGUI_SuppressFacesDlg::restoreSubShapes ( SALOMEDS::Study_ptr  theStudy,
SALOMEDS::SObject_ptr  theSObject 
) [protected, virtual]
void RepairGUI_SuppressFacesDlg::Init ( ) [private]
void RepairGUI_SuppressFacesDlg::enterEvent ( QEvent *  ) [private]
void RepairGUI_SuppressFacesDlg::initSelection ( ) [private]
void RepairGUI_SuppressFacesDlg::ClickOnOk ( ) [private, slot]
bool RepairGUI_SuppressFacesDlg::ClickOnApply ( ) [private, slot]
void RepairGUI_SuppressFacesDlg::ActivateThisDialog ( ) [private, slot]
void RepairGUI_SuppressFacesDlg::LineEditReturnPressed ( ) [private, slot]
void RepairGUI_SuppressFacesDlg::SelectionIntoArgument ( ) [private, slot]
void RepairGUI_SuppressFacesDlg::SetEditCurrentArgument ( ) [private, slot]
void GEOMBase_Skeleton::initSpinBox ( QSpinBox *  spinBox,
int  min,
int  max,
int  step = 1 
) [protected, inherited]
void GEOMBase_Skeleton::initSpinBox ( SalomeApp_DoubleSpinBox *  spinBox,
double  min,
double  max,
double  step = 0.1,
const char *  quantity = "length_precision" 
) [protected, inherited]
void GEOMBase_Skeleton::updateAttributes ( GEOM::GEOM_Object_ptr  theObj,
const QStringList &  theParameters 
) [protected, inherited]
void GEOMBase_Skeleton::closeEvent ( QCloseEvent *  e) [protected, inherited]
void GEOMBase_Skeleton::keyPressEvent ( QKeyEvent *  e) [protected, inherited]
void GEOMBase_Skeleton::initName ( const QString &  thePrefix = QString()) [protected, inherited]

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

References GEOMBase.GetDefaultName(), GEOMBase_Helper.getPrefix(), GEOMBase_Skeleton.myMainFrame, and GEOMBase_Helper.setPrefix().

QString GEOMBase_Skeleton::getNewObjectName ( ) const [protected, virtual, inherited]

returns contents of "Name" field

Reimplemented from GEOMBase_Helper.

Reimplemented in BlocksGUI_ExplodeDlg, and EntityGUI_SubShapeDlg.

References GEOMBase_Skeleton.myMainFrame.

int GEOMBase_Skeleton::getConstructorId ( ) const [protected, inherited]

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

References GEOMBase_Skeleton.myRBGroup.

void GEOMBase_Skeleton::setConstructorId ( const int  id) [protected, inherited]

set selected "constructor" radio button id

References GEOMBase_Skeleton.myRBGroup.

void GEOMBase_Skeleton::unsetConstructorId ( ) [protected, inherited]

unset selection on all "constructor" radio buttons

References GEOMBase_Skeleton.myRBGroup.

void GEOMBase_Skeleton::showOnlyPreviewControl ( ) [protected, inherited]
void GEOMBase_Skeleton::setHelpFileName ( const QString &  theName) [protected, inherited]
DlgRef_Skeleton * GEOMBase_Skeleton::mainFrame ( ) [protected, inherited]
QWidget * GEOMBase_Skeleton::centralWidget ( ) [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonCancel ( ) const [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonOk ( ) const [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonApply ( ) const [protected, inherited]
QPushButton * GEOMBase_Skeleton::buttonHelp ( ) const [protected, inherited]
void GEOMBase_Skeleton::ClickOnCancel ( ) [protected, virtual, slot, inherited]

Reimplemented in RepairGUI_GlueDlg.

void GEOMBase_Skeleton::processPreview ( ) [protected, virtual, slot, inherited]
void GEOMBase_Skeleton::DeactivateActiveDialog ( ) [protected, slot, inherited]
void GEOMBase_Skeleton::ClickOnHelp ( ) [protected, slot, inherited]
void GEOMBase_Skeleton.constructorsClicked ( int  ) [signal, inherited]
GEOM::GEOM_Gen_ptr GEOMBase_Helper::getGeomEngine ( ) [static, protected, inherited]
void GEOMBase_Helper::display ( const ObjectList objList,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::display ( GEOM::GEOM_Object_ptr  object,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::erase ( const ObjectList objList,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::erase ( GEOM::GEOM_Object_ptr  object,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::redisplay ( const ObjectList objList,
const bool  withChildren = true,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::redisplay ( GEOM::GEOM_Object_ptr  object,
const bool  withChildren = true,
const bool  updateView = true 
) [protected, inherited]
void GEOMBase_Helper::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 
) [protected, virtual, inherited]
void GEOMBase_Helper::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 
) [protected, virtual, inherited]
void GEOMBase_Helper::displayPreview ( const SALOME_Prs *  prs,
const bool  append = false,
const bool  update = true 
) [protected, inherited]
void GEOMBase_Helper::erasePreview ( const bool  update = true) [protected, inherited]
void GEOMBase_Helper::localSelection ( const ObjectList theObjs,
const int  theMode 
) [protected, inherited]
void GEOMBase_Helper::localSelection ( GEOM::GEOM_Object_ptr  obj,
const int  mode 
) [protected, inherited]
void GEOMBase_Helper::activate ( const int  theType) [protected, inherited]
void GEOMBase_Helper::globalSelection ( const int  theMode = GEOM_ALLOBJECTS,
const bool  update = false 
) [protected, inherited]
void GEOMBase_Helper::globalSelection ( const TColStd_MapOfInteger &  theModes,
const bool  update = false 
) [protected, inherited]
void GEOMBase_Helper::globalSelection ( const TColStd_MapOfInteger &  theModes,
const QList< int > &  subShapes,
const bool  update = false 
) [protected, inherited]
void GEOMBase_Helper::updateViewer ( ) [protected, inherited]
void GEOMBase_Helper.prepareSelection ( const ObjectList ,
const int   
) [protected, inherited]
void GEOMBase_Helper.prepareSelection ( GEOM::GEOM_Object_ptr  ,
const int   
) [protected, inherited]
QString GEOMBase_Helper::addInStudy ( GEOM::GEOM_Object_ptr  theObj,
const char *  theName 
) [protected, inherited]
bool GEOMBase_Helper::openCommand ( ) [protected, inherited]
bool GEOMBase_Helper::abortCommand ( ) [protected, inherited]
bool GEOMBase_Helper::commitCommand ( const char *  = 0) [protected, inherited]
bool GEOMBase_Helper::hasCommand ( ) const [protected, inherited]
void GEOMBase_Helper::updateObjBrowser ( ) const [protected, inherited]
int GEOMBase_Helper::getStudyId ( ) const [protected, inherited]
SalomeApp_Study * GEOMBase_Helper::getStudy ( ) const [protected, inherited]
bool GEOMBase_Helper::checkViewWindow ( ) [protected, inherited]
bool GEOMBase_Helper::onAccept ( const bool  publish = true,
const bool  useTransaction = true 
) [protected, inherited]
void GEOMBase_Helper::showError ( ) [protected, inherited]
void GEOMBase_Helper::showError ( const QString &  msg) [protected, inherited]
GEOM::GEOM_IOperations_ptr GEOMBase_Helper::getOperation ( ) [protected, inherited]
void GEOMBase_Helper.setPrefix ( const QString &  prefix) [protected, inherited]
QString GEOMBase_Helper::getPrefix ( GEOM::GEOM_Object_ptr  theObj = GEOM::GEOM_Object::_nil()) const [protected, inherited]
bool GEOMBase_Helper::selectObjects ( ObjectList objects) [protected, inherited]
GEOM::GEOM_Object_ptr GEOMBase_Helper::getFather ( GEOM::GEOM_Object_ptr  theObj) [protected, virtual, inherited]
bool GEOMBase_Helper::extractPrefix ( ) const [protected, virtual, inherited]
void GEOMBase_Helper::addSubshapesToStudy ( ) [protected, virtual, inherited]
GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather ( GEOM::GEOM_Object_ptr  theFather,
const QString &  theName 
) [protected, inherited]
GEOM::GEOM_Object_ptr GEOMBase_Helper::findObjectInFather ( GEOM::GEOM_Object_ptr  theFather,
int  theIndex 
) [protected, inherited]
GEOM::GeomObjPtr GEOMBase_Helper::getSelected ( TopAbs_ShapeEnum  type) [protected, inherited]
GEOM::GeomObjPtr GEOMBase_Helper::getSelected ( const QList< TopAbs_ShapeEnum > &  types) [protected, inherited]
QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected ( TopAbs_ShapeEnum  type,
int  count,
bool  strict = true 
) [protected, inherited]
QList< GEOM::GeomObjPtr > GEOMBase_Helper::getSelected ( const QList< TopAbs_ShapeEnum > &  types,
int  count,
bool  strict = true 
) [protected, inherited]
void GEOMBase_Helper.SetIsPreview ( const bool  thePreview) [protected, inherited]
bool GEOMBase_Helper.IsPreview ( ) [protected, inherited]
GEOM_Displayer * GEOMBase_Helper::getDisplayer ( ) [protected, inherited]
SUIT_Desktop * GEOMBase_Helper::getDesktop ( ) const [protected, inherited]
void GEOMBase_Helper::setIsApplyAndClose ( const bool  theFlag) [protected, virtual, inherited]
bool GEOMBase_Helper::isApplyAndClose ( ) const [protected, virtual, inherited]
void GEOMBase_Helper::setIsOptimizedBrowsing ( const bool  theFlag) [protected, virtual, inherited]
bool GEOMBase_Helper::isOptimizedBrowsing ( ) const [protected, virtual, inherited]

Field Documentation

GEOM::GEOM_Object_var RepairGUI_SuppressFacesDlg.myObject [private]
GEOM::short_array_var RepairGUI_SuppressFacesDlg.myFacesInd [private]
QLineEdit* GEOMBase_Skeleton.myEditCurrentArgument [protected, inherited]
GeometryGUI* GEOMBase_Skeleton.myGeomGUI [protected, inherited]
QString GEOMBase_Skeleton.myHelpFileName [protected, inherited]
QButtonGroup* GEOMBase_Skeleton.myRBGroup [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS